author | lp117937 |
Thu, 11 May 2006 05:51:39 +0000 | |
changeset 7244 | b65ebefa231b |
parent 7210 | 9f8c789896d1 |
child 7425 | 5f918d0fa619 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package SUNWgnome-doc-utils |
|
3 |
# |
|
4 |
# includes module(s): gucharmap |
|
5 |
# |
|
6 |
# Copyright (c) 2004 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 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
%use gnomedocutils = gnome-doc-utils.spec |
|
14 |
||
15 |
Name: SUNWgnome-doc-utils |
|
7244
b65ebefa231b
2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7210
diff
changeset
|
16 |
Summary: GNOME documentation utilities |
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
17 |
Version: %{default_pkg_version} |
5518 | 18 |
SUNW_BaseDir: %{_basedir} |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
%include default-depend.inc |
|
21 |
Requires: SUNWgnome-libs |
|
22 |
Requires: SUNWlxml |
|
23 |
Requires: SUNWlxsl |
|
6130
ccd0247c6c1c
* SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents:
6102
diff
changeset
|
24 |
Requires: SUNWPython |
6846 | 25 |
Requires: SUNWpostrun |
5518 | 26 |
|
27 |
%package devel |
|
7244
b65ebefa231b
2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7210
diff
changeset
|
28 |
Summary: %{summary} - development files |
5518 | 29 |
SUNW_BaseDir: %{_basedir} |
30 |
%include default-depend.inc |
|
31 |
Requires: %{name} |
|
32 |
||
33 |
%prep |
|
34 |
rm -rf %name-%version |
|
35 |
mkdir %name-%version |
|
36 |
%gnomedocutils.prep -d %name-%version |
|
37 |
||
38 |
%build |
|
39 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
40 |
export MSGFMT="/usr/bin/msgfmt" |
|
41 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
42 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
|
43 |
export CFLAGS="%optflags -I%{_includedir}" |
|
44 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
6102 | 45 |
export LDFLAGS="%_ldflags" |
5518 | 46 |
%gnomedocutils.build -d %name-%version |
47 |
||
48 |
%install |
|
49 |
%gnomedocutils.install -d %name-%version |
|
50 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
|
51 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
52 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
5518 | 53 |
|
54 |
%clean |
|
55 |
rm -rf $RPM_BUILD_ROOT |
|
56 |
||
7210
9f8c789896d1
2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6919
diff
changeset
|
57 |
%post |
6853 | 58 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 59 |
echo '/usr/bin/scrollkeeper-update' |
60 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
61 |
||
7210
9f8c789896d1
2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6919
diff
changeset
|
62 |
%postun |
6919 | 63 |
test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0 |
6853 | 64 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 65 |
echo '/usr/bin/scrollkeeper-update' |
66 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
67 |
||
5518 | 68 |
%files |
69 |
%defattr (-, root, other) |
|
70 |
%dir %attr (0755, root, bin) %{_bindir} |
|
71 |
%{_bindir}/gnome-doc-prepare |
|
72 |
%{_bindir}/xml2po |
|
73 |
%dir %attr (0755, root, sys) %{_datadir} |
|
74 |
%{_datadir}/gnome-doc-utils |
|
75 |
%{_datadir}/gnome/help |
|
76 |
%{_datadir}/omf |
|
77 |
%{_datadir}/xml |
|
78 |
%{_datadir}/xml2po |
|
79 |
||
80 |
%files devel |
|
81 |
%defattr (-, root, other) |
|
82 |
%dir %attr (0755, root, bin) %{_libdir} |
|
83 |
%{_libdir}/pkgconfig |
|
84 |
%dir %attr (0755, root, sys) %{_datadir} |
|
85 |
%{_datadir}/aclocal/* |
|
86 |
||
87 |
%changelog |
|
7210
9f8c789896d1
2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6919
diff
changeset
|
88 |
* Thu May 04 2006 - [email protected] |
9f8c789896d1
2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6919
diff
changeset
|
89 |
- merge -share pkg(s) into the base pkg(s) |
6298 | 90 |
* Tue Nov 29 2005 - laca.com |
91 |
- remove javahelp stuff |
|
6130
ccd0247c6c1c
* SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents:
6102
diff
changeset
|
92 |
* Wed Oct 19 2005 - [email protected] |
ccd0247c6c1c
* SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents:
6102
diff
changeset
|
93 |
- Add SUNWPython dependency as xml2po uses python. |
5518 | 94 |
* Wed Jul 06 2005 - [email protected] |
95 |
- remove mandir from %files, it's not there |
|
96 |
- remove l10n subpkg, there's no l10n content |
|
97 |
* Mon Jul 04 2005 - [email protected] |
|
98 |
- Initial spec file needed by SUNWgnome-help-viewer (yelp) |