author | lp117937 |
Sun, 11 Jun 2006 18:34:41 +0000 | |
changeset 7425 | 5f918d0fa619 |
parent 7242 | 19b994b053db |
child 7496 | 630231aa74c1 |
permissions | -rw-r--r-- |
1508 | 1 |
# |
2 |
# spec file for package SUNWgnome-common-devel |
|
3 |
# |
|
4 |
# includes module(s): pkgconfig, intltool, gtk-doc, gnome-common |
|
5 |
# |
|
6 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
%include Solaris.inc |
|
11 |
%use gcommon = gnome-common.spec |
|
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
12 |
%use gettext = gettext.spec |
1508 | 13 |
%use intltool = intltool.spec |
14 |
%use gtkdoc = gtk-doc.spec |
|
6618 | 15 |
%define pkgconfig_version 0.20 |
16 |
%define pkgconfig_tarball_dir pkg-config-%{pkgconfig_version} |
|
1508 | 17 |
Name: SUNWgnome-common-devel |
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7202
diff
changeset
|
18 |
Summary: GNOME common development tools |
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5849
diff
changeset
|
19 |
Version: %{default_pkg_version} |
6618 | 20 |
Source: http://pkgconfig.freedesktop.org/releases/pkg-config-%{pkgconfig_version}.tar.gz |
2326 | 21 |
Source1: intltool-extract.1 |
22 |
Source2: intltool-merge.1 |
|
23 |
Source3: intltool-prepare.1 |
|
24 |
Source4: intltool-unicodify.1 |
|
25 |
Source5: intltool-update.1 |
|
26 |
Source6: intltoolize.1 |
|
2811 | 27 |
Source7: pkg-config.1 |
6618 | 28 |
Patch1: pkgconfig-01-wall.diff |
5518 | 29 |
Patch2: pkgconfig-02-suppress_gnome-config_error_msg.diff |
2621 | 30 |
SUNW_BaseDir: %{_basedir} |
1508 | 31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
32 |
||
33 |
%include default-depend.inc |
|
3669 | 34 |
Requires: SUNWperl584usr |
6792 | 35 |
Requires: SUNWperl584core |
1508 | 36 |
Requires: SUNWlibpopt |
1536 | 37 |
Requires: SUNWperl-xml-parser |
38 |
Requires: SUNWopenjade |
|
1982 | 39 |
Requires: SUNWgnome-xml-root |
2097 | 40 |
Requires: SUNWlxsl |
6792 | 41 |
Requires: SUNWlibpopt-devel |
1508 | 42 |
|
43 |
%prep |
|
44 |
%setup -q -c -n SUNWgnome-common-devel-%{version} |
|
6618 | 45 |
cd %{pkgconfig_tarball_dir} |
3020 | 46 |
%patch1 -p1 |
5518 | 47 |
%patch2 -p1 |
5704 | 48 |
cd %{_builddir} |
1508 | 49 |
%gcommon.prep -d %name-%version |
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
50 |
%gettext.prep -d %name-%version |
1508 | 51 |
%intltool.prep -d %name-%version |
52 |
%gtkdoc.prep -d %name-%version |
|
53 |
||
54 |
%build |
|
3984 | 55 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3700 | 56 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
3984 | 57 |
CPUS=1 |
3700 | 58 |
fi |
6618 | 59 |
cd %{pkgconfig_tarball_dir} |
1508 | 60 |
CFLAGS="$RPM_OPT_FLAGS" \ |
61 |
./configure --prefix=%{_prefix} |
|
3700 | 62 |
make -j$CPUS |
1508 | 63 |
# pkg-config is needed by gnome-common |
64 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
65 |
PATH=$RPM_BUILD_ROOT/%{_bindir}:$PATH |
|
4313 | 66 |
export PERL=/usr/perl5/5.8.4/bin/perl |
6102 | 67 |
export LDFLAGS="%_ldflags" |
4313 | 68 |
|
5704 | 69 |
cd %{_builddir} |
70 |
||
1508 | 71 |
%gcommon.build -d %name-%version |
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
72 |
%gettext.build -d %name-%version |
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
73 |
export INTLTOOL_XGETTEXT="%{_libdir}/intltool/gettext-tools/xgettext" |
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
74 |
export INTLTOOL_MSGMERGE="%{_libdir}/intltool/gettext-tools/msgmerge" |
1508 | 75 |
%intltool.build -d %name-%version |
7043 | 76 |
export ACLOCAL_FLAGS="-I %{_builddir}/%name-%version/%{pkgconfig_tarball_dir}" |
1508 | 77 |
%gtkdoc.build -d %name-%version |
78 |
||
79 |
%install |
|
7192 | 80 |
# Don't "rm -rf $RPM_BUILD_ROOT" here as pkg-config module already installed. |
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
81 |
|
5704 | 82 |
cd %{_builddir} |
1508 | 83 |
%gcommon.install -d %name-%version |
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
84 |
%gettext.install -d %name-%version |
1508 | 85 |
%intltool.install -d %name-%version |
86 |
%gtkdoc.install -d %name-%version |
|
2326 | 87 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
88 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3613
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
89 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
90 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
91 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
92 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
93 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
94 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
95 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
1508 | 96 |
|
5704 | 97 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/man |
98 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/sgml |
|
7202
fe32cb265692
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7192
diff
changeset
|
99 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome |
fe32cb265692
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7192
diff
changeset
|
100 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf |
5704 | 101 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5849
diff
changeset
|
102 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 103 |
|
1508 | 104 |
%clean |
2605 | 105 |
rm -rf $RPM_BUILD_ROOT |
1508 | 106 |
|
107 |
%files |
|
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
108 |
%defattr (-, root, bin) |
1508 | 109 |
%{_bindir}/* |
7184
c0ff608904a8
2006-05-02 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7043
diff
changeset
|
110 |
%{_libdir}/* |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
111 |
%dir %attr (0755, root, sys) %{_datadir} |
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
112 |
%dir %attr (0755, root, other) %{_datadir}/aclocal |
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
113 |
%{_datadir}/aclocal/* |
1639 | 114 |
%{_datadir}/gnome-common |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
115 |
%{_datadir}/gtk-doc |
1639 | 116 |
%{_datadir}/intltool |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
117 |
%{_datadir}/pkgconfig |
1639 | 118 |
%{_mandir}/*/* |
1536 | 119 |
|
120 |
%changelog |
|
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
121 |
* Sun Jun 11 2006 - laca.com |
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
122 |
- change group from other to bin/sys |
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7202
diff
changeset
|
123 |
* Wed May 10 2006 - [email protected] |
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7202
diff
changeset
|
124 |
- merge -share pkg(s) into the base pkg(s) |
7190 | 125 |
* Tue May 02 2006 - [email protected] |
126 |
- Remove gnome and omf dirs from share package as they are no longer installed. |
|
7192 | 127 |
- Remove 'rm -rf $RPM_BUILD_ROOT' as pkg-config already installed. |
7043 | 128 |
* Tue Apr 11 2006 - [email protected] |
129 |
- Set ACLOCAL_FLAGS for gtk-doc to find a pkgconfig macro. Move pkgconfig dir. |
|
6792 | 130 |
* Sun Feb 19 2006 - [email protected] |
131 |
- Update Build/Requires after running check-deps.pl script. |
|
6618 | 132 |
* Thu Jan 19 2006 - [email protected] |
133 |
- Bump pkg-config to 0.20.0, remove upstream patch (01-pkg.m4), add new patch |
|
134 |
(01-wall, bug #4888). |
|
5849 | 135 |
* Tue Sep 13 2005 - [email protected] |
136 |
- Bump version to 2.12. |
|
5776 | 137 |
* Thu Sep 08 2005 - [email protected] |
138 |
- Verified builds fine on Solaris, bump to 2.11. |
|
5704 | 139 |
* Fri Sep 02 2005 - [email protected] |
140 |
- remove unpackaged files; fix to build with new pkgbuild |
|
5518 | 141 |
* Wed Jul 07 2005 - [email protected] |
142 |
- backport pkg.m4 fix from 0.17.2 |
|
143 |
* Wed Jul 06 2005 - [email protected] |
|
144 |
- downgrade pkgconfig to 0.16.0 |
|
4313 | 145 |
* Thu Oct 21 2004 - [email protected] |
146 |
- set PERL, fixes 5100958 |
|
4122 | 147 |
* Sat Oct 02 2004 - [email protected] |
148 |
- added %pkgbuild_postprocess |
|
3669 | 149 |
* Mon Aug 23 2004 - [email protected] |
150 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
151 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
152 |
- Changed install location to /usr/... |
2918 | 153 |
* Thu May 27 2004 - [email protected] |
154 |
- added %_libdir/pkgconfig |
|
2811 | 155 |
* Wed May 19 2004 - [email protected] |
156 |
- Added missing man pages. |
|
2326 | 157 |
* Wed Mar 24 2004 - [email protected] |
158 |
- Added SGML man page integration |
|
2097 | 159 |
* Mon Mar 02 2004 - [email protected] |
160 |
- add dependency on SUNWlxsl (libxslt) |
|
1536 | 161 |
* Mon Jan 26 2004 - [email protected] |
162 |
- initial version added to CVS |