9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-common-devel
|
|
3 |
#
|
|
4 |
# includes module(s): pkgconfig, intltool, gtk-doc, gnome-common
|
|
5 |
#
|
12152
|
6 |
# Copyright 2008 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner laca
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
12819
|
13 |
%use pkgconfig = pkg-config.spec
|
9397
|
14 |
%use gcommon = gnome-common.spec
|
|
15 |
%use gettext = gettext.spec
|
|
16 |
%use intltool = intltool.spec
|
|
17 |
|
|
18 |
Name: SUNWgnome-common-devel
|
|
19 |
Summary: GNOME common development tools
|
|
20 |
Version: %{default_pkg_version}
|
12819
|
21 |
Source: %{name}-manpages-0.1.tar.gz
|
9397
|
22 |
SUNW_BaseDir: %{_basedir}
|
12152
|
23 |
SUNW_Copyright: %{name}.copyright
|
9397
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
|
|
26 |
%include default-depend.inc
|
|
27 |
Requires: SUNWperl584usr
|
|
28 |
Requires: SUNWperl584core
|
|
29 |
Requires: SUNWlibpopt
|
|
30 |
Requires: SUNWperl-xml-parser
|
|
31 |
Requires: SUNWopenjade
|
|
32 |
Requires: SUNWgnome-xml-root
|
|
33 |
Requires: SUNWlxsl
|
12695
|
34 |
BuildRequires: SUNWlibpopt-devel
|
9397
|
35 |
|
|
36 |
%prep
|
12819
|
37 |
rm -rf %name-%version
|
|
38 |
mkdir %name-%version
|
|
39 |
|
|
40 |
%pkgconfig.prep -d %name-%version
|
9397
|
41 |
%gcommon.prep -d %name-%version
|
|
42 |
%gettext.prep -d %name-%version
|
|
43 |
%intltool.prep -d %name-%version
|
|
44 |
cd %{_builddir}/%name-%version
|
12819
|
45 |
gzcat %SOURCE0 | tar xf -
|
9397
|
46 |
|
|
47 |
%build
|
12819
|
48 |
%pkgconfig.build -d %name-%version
|
|
49 |
|
|
50 |
# gnome-common required pkg-config.
|
|
51 |
export PATH=%{_builddir}/%name-%version/%{pkgconfig.name}-%{pkgconfig.version}:$PATH
|
9397
|
52 |
export PERL=/usr/perl5/bin/perl
|
|
53 |
export LDFLAGS="%_ldflags"
|
|
54 |
|
|
55 |
cd %{_builddir}
|
|
56 |
|
|
57 |
%gcommon.build -d %name-%version
|
|
58 |
%if %cc_is_gcc
|
|
59 |
%else
|
|
60 |
export CXX="${CXX} -norunpath"
|
|
61 |
%endif
|
|
62 |
export CXXFLAGS="%{cxx_optflags}"
|
|
63 |
%gettext.build -d %name-%version
|
|
64 |
export INTLTOOL_XGETTEXT="%{_libdir}/intltool/gettext-tools/xgettext"
|
|
65 |
export INTLTOOL_MSGMERGE="%{_libdir}/intltool/gettext-tools/msgmerge"
|
|
66 |
%intltool.build -d %name-%version
|
|
67 |
|
|
68 |
%install
|
12819
|
69 |
rm -rf $RPM_BUILD_ROOT
|
9397
|
70 |
|
12819
|
71 |
%pkgconfig.install -d %name-%version
|
9397
|
72 |
%gcommon.install -d %name-%version
|
|
73 |
%gettext.install -d %name-%version
|
|
74 |
%intltool.install -d %name-%version
|
|
75 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
76 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
77 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
78 |
|
|
79 |
# Normally we build this package before we build scrollkeeper, but
|
|
80 |
# remove any scrollkeeper files if user happens to rebuild this
|
|
81 |
# package after scrollkeeper is already on the system.
|
|
82 |
#
|
|
83 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/var
|
|
84 |
|
|
85 |
# Remove /usr/share/info/dir, it's a generated file and shared by multiple
|
|
86 |
# packages
|
9405
|
87 |
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
|
9397
|
88 |
|
|
89 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
90 |
|
|
91 |
%clean
|
|
92 |
rm -rf $RPM_BUILD_ROOT
|
|
93 |
|
|
94 |
%files
|
|
95 |
%defattr (-, root, bin)
|
|
96 |
%{_bindir}/*
|
|
97 |
%{_libdir}/*
|
|
98 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
99 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
100 |
%{_datadir}/aclocal/*
|
|
101 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
102 |
%{_datadir}/doc/*
|
|
103 |
%{_datadir}/gnome-common
|
|
104 |
%{_datadir}/info
|
|
105 |
%{_datadir}/intltool
|
|
106 |
%{_mandir}/*/*
|
|
107 |
|
|
108 |
%changelog
|
16419
|
109 |
* Fri Aug 28 2009 - [email protected]
|
|
110 |
- remove Python dependencies as they were only needed by gtk-doc
|
14861
|
111 |
* Wed Jan 07 2008 - [email protected]
|
|
112 |
- Moved gtk-doc out into it's own spec because of circular dependency.
|
14718
|
113 |
* Fri Dec 5 2008 - [email protected]
|
|
114 |
- update files
|
12819
|
115 |
* Tue Jul 15 2008 - [email protected]
|
|
116 |
- Remove pkg-config code, replacing it with %use.
|
12695
|
117 |
* Wed Jun 18 2008 - [email protected]
|
|
118 |
- Add Build/Requires SUNWPython/-devel because /usr/bin/gtkdoc-depscan is a
|
|
119 |
python script.
|
11576
|
120 |
* Mon Jan 31 2008 - [email protected]
|
|
121 |
- Bump pkg-config to 0.23.
|
11312
|
122 |
* Mon Dec 10 2007 - [email protected]
|
|
123 |
- Bump pkg-config to 0.22.
|
9397
|
124 |
* Fri Feb 16 2007 - [email protected]
|
|
125 |
- Update %files because gtk-doc xml files moved from %{_datadir}/gnome/help to
|
|
126 |
%{_datadir}/doc with the bumping of gtk-doc to 1.8.
|
|
127 |
* Thu Jan 11 2007 - [email protected]
|
|
128 |
- Bump pkg-config to 0.21. Remove upstream patch, pkgconfig-01-wall.diff.
|
|
129 |
Rename rest.
|
|
130 |
* Fri Sep 15 2006 - [email protected]
|
|
131 |
- Install gtk-doc documentation and call pkg-config configure script with
|
|
132 |
--mandir set properly.
|
|
133 |
* Fri Sep 01 2006 - [email protected]
|
|
134 |
- New Manpage tarball
|
|
135 |
* Sat Aug 12 2006 - [email protected]
|
|
136 |
- set PERL to /usr/perl5/bin/perl as per CR6454456
|
|
137 |
* Fri Jun 23 2006 - [email protected]
|
|
138 |
- removed man page intltool-unicodify
|
|
139 |
* Sun Jun 11 2006 - [email protected]
|
|
140 |
- change group from other to bin/sys
|
|
141 |
* Wed May 10 2006 - [email protected]
|
|
142 |
- merge -share pkg(s) into the base pkg(s)
|
|
143 |
* Tue May 02 2006 - [email protected]
|
|
144 |
- Remove gnome and omf dirs from share package as they are no longer installed.
|
|
145 |
- Remove 'rm -rf $RPM_BUILD_ROOT' as pkg-config already installed.
|
|
146 |
* Tue Apr 11 2006 - [email protected]
|
|
147 |
- Set ACLOCAL_FLAGS for gtk-doc to find a pkgconfig macro. Move pkgconfig dir.
|
|
148 |
* Sun Feb 19 2006 - [email protected]
|
|
149 |
- Update Build/Requires after running check-deps.pl script.
|
|
150 |
* Thu Jan 19 2006 - [email protected]
|
|
151 |
- Bump pkg-config to 0.20.0, remove upstream patch (01-pkg.m4), add new patch
|
|
152 |
(01-wall, bug #4888).
|
|
153 |
* Tue Sep 13 2005 - [email protected]
|
|
154 |
- Bump version to 2.12.
|
|
155 |
* Thu Sep 08 2005 - [email protected]
|
|
156 |
- Verified builds fine on Solaris, bump to 2.11.
|
|
157 |
* Fri Sep 02 2005 - [email protected]
|
|
158 |
- remove unpackaged files; fix to build with new pkgbuild
|
|
159 |
* Wed Jul 07 2005 - [email protected]
|
|
160 |
- backport pkg.m4 fix from 0.17.2
|
|
161 |
* Wed Jul 06 2005 - [email protected]
|
|
162 |
- downgrade pkgconfig to 0.16.0
|
|
163 |
* Thu Oct 21 2004 - [email protected]
|
|
164 |
- set PERL, fixes 5100958
|
|
165 |
* Sat Oct 02 2004 - [email protected]
|
|
166 |
- added %pkgbuild_postprocess
|
|
167 |
* Mon Aug 23 2004 - [email protected]
|
|
168 |
- s/SUNWpl5u/SUNWperl584usr/
|
|
169 |
* Sat Jun 26 2004 [email protected]
|
|
170 |
- Changed install location to /usr/...
|
|
171 |
* Thu May 27 2004 - [email protected]
|
|
172 |
- added %_libdir/pkgconfig
|
|
173 |
* Wed May 19 2004 - [email protected]
|
|
174 |
- Added missing man pages.
|
|
175 |
* Wed Mar 24 2004 - [email protected]
|
|
176 |
- Added SGML man page integration
|
|
177 |
* Mon Mar 02 2004 - [email protected]
|
|
178 |
- add dependency on SUNWlxsl (libxslt)
|
|
179 |
* Mon Jan 26 2004 - [email protected]
|
|
180 |
- initial version added to CVS
|