author | dc144907 |
Wed, 18 Aug 2004 14:47:44 +0000 | |
changeset 3613 | 77e68a943ac9 |
parent 3221 | a9dc1a9a5f37 |
child 3669 | 83ac9ef5f846 |
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 |
|
32 |
Requires: SUNWpl5u |
|
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 |
|
55 |
cd pkgconfig-%pkgconfig_version |
|
56 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
57 |
./configure --prefix=%{_prefix} |
|
58 |
make |
|
59 |
# pkg-config is needed by gnome-common |
|
60 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
61 |
PATH=$RPM_BUILD_ROOT/%{_bindir}:$PATH |
|
62 |
%gcommon.build -d %name-%version |
|
63 |
%intltool.build -d %name-%version |
|
64 |
%gtkdoc.build -d %name-%version |
|
65 |
||
66 |
%install |
|
67 |
%gcommon.install -d %name-%version |
|
68 |
%intltool.install -d %name-%version |
|
69 |
%gtkdoc.install -d %name-%version |
|
2326 | 70 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
71 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3613
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
72 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
73 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
74 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
75 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
76 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
77 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
78 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
1508 | 79 |
|
80 |
%clean |
|
2605 | 81 |
rm -rf $RPM_BUILD_ROOT |
1508 | 82 |
|
83 |
%files |
|
84 |
%defattr (-, root, other) |
|
1635 | 85 |
%dir %attr (0755, root, bin) %{_bindir} |
1508 | 86 |
%{_bindir}/* |
1635 | 87 |
%dir %attr (0755, root, bin) %{_libdir} |
2918 | 88 |
%{_libdir}/pkgconfig |
1508 | 89 |
|
90 |
%files share |
|
91 |
%defattr (-, root, other) |
|
1639 | 92 |
%dir %attr(0755, root, sys) %{_datadir} |
93 |
%{_datadir}/aclocal |
|
94 |
%{_datadir}/gnome-common |
|
95 |
%{_datadir}/gtk-doc |
|
96 |
%{_datadir}/intltool |
|
97 |
%dir %attr(0755, root, bin) %{_mandir} |
|
98 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
99 |
%{_mandir}/*/* |
|
1536 | 100 |
|
101 |
%changelog |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
102 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3020
diff
changeset
|
103 |
- Changed install location to /usr/... |
2918 | 104 |
* Thu May 27 2004 - [email protected] |
105 |
- added %_libdir/pkgconfig |
|
2811 | 106 |
* Wed May 19 2004 - [email protected] |
107 |
- Added missing man pages. |
|
2326 | 108 |
* Wed Mar 24 2004 - [email protected] |
109 |
- Added SGML man page integration |
|
2097 | 110 |
* Mon Mar 02 2004 - [email protected] |
111 |
- add dependency on SUNWlxsl (libxslt) |
|
1536 | 112 |
* Mon Jan 26 2004 - [email protected] |
113 |
- initial version added to CVS |