author | laca |
Sat, 02 Oct 2004 23:26:05 +0000 | |
changeset 4122 | 0c938071234a |
parent 3984 | e40c19c65ed3 |
child 4313 | 61786353fba8 |
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 |
|
12 |
%use intltool = intltool.spec |
|
13 |
%use gtkdoc = gtk-doc.spec |
|
14 |
%define pkgconfig_version 0.15.0 |
|
15 |
Name: SUNWgnome-common-devel |
|
16 |
Summary: GNOME common development tools and libraries - developer files |
|
2326 | 17 |
Version: 2.6.0 |
1508 | 18 |
Source: pkgconfig-%{pkgconfig_version}.tar.gz |
2326 | 19 |
Source1: intltool-extract.1 |
20 |
Source2: intltool-merge.1 |
|
21 |
Source3: intltool-prepare.1 |
|
22 |
Source4: intltool-unicodify.1 |
|
23 |
Source5: intltool-update.1 |
|
24 |
Source6: intltoolize.1 |
|
2811 | 25 |
Source7: pkg-config.1 |
3020 | 26 |
Patch: pkgconfig-01-always_search_usr_lib_pkgconfig.diff |
27 |
Patch1: pkgconfig-02-suppress_gnome-config_error_msg.diff |
|
2621 | 28 |
SUNW_BaseDir: %{_basedir} |
1508 | 29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
30 |
||
31 |
%include default-depend.inc |
|
3669 | 32 |
Requires: SUNWperl584usr |
1508 | 33 |
Requires: SUNWlibpopt |
1536 | 34 |
Requires: SUNWperl-xml-parser |
35 |
Requires: SUNWopenjade |
|
1982 | 36 |
Requires: SUNWgnome-xml-root |
2097 | 37 |
Requires: SUNWlxsl |
1508 | 38 |
|
39 |
%package share |
|
40 |
Summary: GNOME common development tools and libraries - developer files |
|
2621 | 41 |
SUNW_BaseDir: %{_basedir} |
1508 | 42 |
%include default-depend.inc |
43 |
||
44 |
%prep |
|
45 |
%setup -q -c -n SUNWgnome-common-devel-%{version} |
|
3020 | 46 |
cd pkgconfig-%pkgconfig_version |
47 |
%patch -p1 |
|
48 |
%patch1 -p1 |
|
49 |
cd .. |
|
1508 | 50 |
%gcommon.prep -d %name-%version |
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 |
1508 | 59 |
cd pkgconfig-%pkgconfig_version |
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 |
|
66 |
%gcommon.build -d %name-%version |
|
67 |
%intltool.build -d %name-%version |
|
68 |
%gtkdoc.build -d %name-%version |
|
69 |
||
70 |
%install |
|
71 |
%gcommon.install -d %name-%version |
|
72 |
%intltool.install -d %name-%version |
|
73 |
%gtkdoc.install -d %name-%version |
|
2326 | 74 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
75 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3613
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
76 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
77 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
78 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
79 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
80 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
81 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
82 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
1508 | 83 |
|
4122 | 84 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT} |
85 |
||
1508 | 86 |
%clean |
2605 | 87 |
rm -rf $RPM_BUILD_ROOT |
1508 | 88 |
|
89 |
%files |
|
90 |
%defattr (-, root, other) |
|
1635 | 91 |
%dir %attr (0755, root, bin) %{_bindir} |
1508 | 92 |
%{_bindir}/* |
1635 | 93 |
%dir %attr (0755, root, bin) %{_libdir} |
2918 | 94 |
%{_libdir}/pkgconfig |
1508 | 95 |
|
96 |
%files share |
|
97 |
%defattr (-, root, other) |
|
1639 | 98 |
%dir %attr(0755, root, sys) %{_datadir} |
99 |
%{_datadir}/aclocal |
|
100 |
%{_datadir}/gnome-common |
|
101 |
%{_datadir}/gtk-doc |
|
102 |
%{_datadir}/intltool |
|
103 |
%dir %attr(0755, root, bin) %{_mandir} |
|
104 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
105 |
%{_mandir}/*/* |
|
1536 | 106 |
|
107 |
%changelog |
|
4122 | 108 |
* Sat Oct 02 2004 - [email protected] |
109 |
- added %pkgbuild_postprocess |
|
3669 | 110 |
* Mon Aug 23 2004 - [email protected] |
111 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
112 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
113 |
- Changed install location to /usr/... |
2918 | 114 |
* Thu May 27 2004 - [email protected] |
115 |
- added %_libdir/pkgconfig |
|
2811 | 116 |
* Wed May 19 2004 - [email protected] |
117 |
- Added missing man pages. |
|
2326 | 118 |
* Wed Mar 24 2004 - [email protected] |
119 |
- Added SGML man page integration |
|
2097 | 120 |
* Mon Mar 02 2004 - [email protected] |
121 |
- add dependency on SUNWlxsl (libxslt) |
|
1536 | 122 |
* Mon Jan 26 2004 - [email protected] |
123 |
- initial version added to CVS |