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
|
1508
|
25 |
SUNW_BaseDir: %{_prefix}
|
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
|
|
28 |
%include default-depend.inc
|
|
29 |
Requires: SUNWpl5u
|
|
30 |
Requires: SUNWlibpopt
|
1536
|
31 |
Requires: SUNWperl-xml-parser
|
|
32 |
Requires: SUNWopenjade
|
1982
|
33 |
Requires: SUNWgnome-xml-root
|
2097
|
34 |
Requires: SUNWlxsl
|
1508
|
35 |
|
|
36 |
%package share
|
|
37 |
Summary: GNOME common development tools and libraries - developer files
|
|
38 |
SUNW_BaseDir: %{_prefix}
|
|
39 |
%include default-depend.inc
|
|
40 |
|
|
41 |
%prep
|
|
42 |
%setup -q -c -n SUNWgnome-common-devel-%{version}
|
|
43 |
%gcommon.prep -d %name-%version
|
|
44 |
%intltool.prep -d %name-%version
|
|
45 |
%gtkdoc.prep -d %name-%version
|
|
46 |
|
|
47 |
%build
|
|
48 |
cd pkgconfig-%pkgconfig_version
|
|
49 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
50 |
./configure --prefix=%{_prefix}
|
|
51 |
make
|
|
52 |
# pkg-config is needed by gnome-common
|
|
53 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
54 |
PATH=$RPM_BUILD_ROOT/%{_bindir}:$PATH
|
|
55 |
%gcommon.build -d %name-%version
|
|
56 |
%intltool.build -d %name-%version
|
|
57 |
%gtkdoc.build -d %name-%version
|
|
58 |
|
|
59 |
%install
|
|
60 |
%gcommon.install -d %name-%version
|
|
61 |
%intltool.install -d %name-%version
|
|
62 |
%gtkdoc.install -d %name-%version
|
2326
|
63 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
64 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
65 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
66 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
67 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
68 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
69 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
70 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1
|
1508
|
71 |
|
|
72 |
%clean
|
|
73 |
#rm -rf $RPM_BUILD_ROOT
|
|
74 |
|
|
75 |
%files
|
|
76 |
%defattr (-, root, other)
|
1635
|
77 |
%dir %attr (0755, root, bin) %{_bindir}
|
1508
|
78 |
%{_bindir}/*
|
1635
|
79 |
%dir %attr (0755, root, bin) %{_libdir}
|
1508
|
80 |
|
|
81 |
%files share
|
|
82 |
%defattr (-, root, other)
|
1639
|
83 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
84 |
%{_datadir}/aclocal
|
|
85 |
%{_datadir}/gnome-common
|
|
86 |
%{_datadir}/gtk-doc
|
|
87 |
%{_datadir}/intltool
|
|
88 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
89 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
90 |
%{_mandir}/*/*
|
1536
|
91 |
|
|
92 |
%changelog
|
2326
|
93 |
* Wed Mar 24 2004 - [email protected]
|
|
94 |
- Added SGML man page integration
|
2097
|
95 |
* Mon Mar 02 2004 - [email protected]
|
|
96 |
- add dependency on SUNWlxsl (libxslt)
|
1536
|
97 |
* Mon Jan 26 2004 - [email protected]
|
|
98 |
- initial version added to CVS
|