author | dc144907 |
Wed, 22 Mar 2006 14:03:40 +0000 | |
changeset 6967 | 147ad9b3fb2e |
parent 6939 | 61687acf59de |
child 6977 | ec89dca89182 |
permissions | -rw-r--r-- |
1827 | 1 |
# |
2 |
# spec file for package SUNWgnome-user-docs |
|
3 |
# |
|
4 |
# includes module(s): gnome-user-docs |
|
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 gud = gnome-user-docs.spec |
|
14 |
||
15 |
Name: SUNWgnome-user-docs |
|
16 |
Summary: GNOME user documentation - platform independent files, /usr/share |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5673
diff
changeset
|
17 |
Version: %{default_pkg_version} |
2621 | 18 |
SUNW_BaseDir: %{_basedir} |
1827 | 19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
4110 | 20 |
%include default-depend.inc |
21 |
Requires: SUNWgnome-help-viewer |
|
6846 | 22 |
Requires: SUNWpostrun |
4110 | 23 |
|
6169 | 24 |
%if %build_l10n |
3699 | 25 |
%package l10n |
26 |
Summary: %{summary} - l10n files |
|
27 |
SUNW_BaseDir: %{_basedir} |
|
28 |
%include default-depend.inc |
|
29 |
Requires: %{name} |
|
6169 | 30 |
%endif |
3699 | 31 |
|
1827 | 32 |
%prep |
33 |
rm -rf %name-%version |
|
34 |
mkdir %name-%version |
|
35 |
%gud.prep -d %name-%version |
|
36 |
||
37 |
%build |
|
3184 | 38 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
1827 | 39 |
export MSGFMT="/usr/bin/msgfmt" |
40 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
6102 | 41 |
export LDFLAGS="%_ldflags" |
42 |
export CFLAGS="%optflags" |
|
1827 | 43 |
%gud.build -d %name-%version |
44 |
||
45 |
%install |
|
46 |
%gud.install -d %name-%version |
|
47 |
||
6169 | 48 |
%if %build_l10n |
49 |
%else |
|
50 |
# REMOVE l10n FILES |
|
6967 | 51 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]* |
52 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
53 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
|
6169 | 54 |
%endif |
55 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5673
diff
changeset
|
56 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5673
diff
changeset
|
57 |
|
6804 | 58 |
# Remove scrollkeeper files before packaging. |
59 |
rm -rf $RPM_BUILD_ROOT/var |
|
60 |
||
1827 | 61 |
%clean |
62 |
rm -rf $RPM_BUILD_ROOT |
|
63 |
||
6846 | 64 |
%post |
6853 | 65 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 66 |
echo '/usr/bin/scrollkeeper-update' |
67 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
68 |
||
69 |
%postun |
|
6919 | 70 |
test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0 |
6853 | 71 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 72 |
echo '/usr/bin/scrollkeeper-update' |
73 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
74 |
||
1827 | 75 |
%files |
76 |
%defattr (-, root, other) |
|
1858 | 77 |
%dir %attr (0755, root, sys) %{_datadir} |
3699 | 78 |
%{_datadir}/gnome/help/*/C |
79 |
%{_datadir}/omf/*/*-C.omf |
|
80 |
||
6169 | 81 |
%if %build_l10n |
3699 | 82 |
%files l10n |
3718 | 83 |
%defattr (-, root, other) |
84 |
%dir %attr (0755, root, sys) %{_datadir} |
|
6939 | 85 |
%{_datadir}/gnome/help/*/[a-z]* |
86 |
%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
5673
6088c2bb78cc
* SUNWgnome-project.spec: Comment out javahelp %files line to build.
dc144907
parents:
5518
diff
changeset
|
87 |
# %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
6169 | 88 |
%endif |
89 |
||
3734 | 90 |
|
6967 | 91 |
%Changelog |
92 |
* Wed Mar 22 2006 - [email protected] |
|
93 |
- Uncomment removal of l10n files when not doing l10n build. |
|
94 |
||
6939 | 95 |
* Tue Mar 14 2006 - [email protected] |
96 |
- Uncomment l10n files to pick up 'it' files. |
|
97 |
||
6804 | 98 |
* Tue Feb 21 2006 - [email protected] |
99 |
- Delete scrollkeeper files before packaging. |
|
1827 | 100 |
|
6298 | 101 |
* Tue Nov 29 2005 - laca.com |
102 |
- remove javahelp stuff |
|
103 |
||
6052
09a99a65c389
* SUNWgnome-user-docs.spec: Remove obsolete javahelp references.
dc144907
parents:
5859
diff
changeset
|
104 |
* Fri Sep 30 2005 [email protected] |
09a99a65c389
* SUNWgnome-user-docs.spec: Remove obsolete javahelp references.
dc144907
parents:
5859
diff
changeset
|
105 |
- Remove obsolete javahelp references. |
4110 | 106 |
* Thu Sep 30 2004 [email protected] |
107 |
- Fixed dependencies lies for base package |
|
3734 | 108 |
* Wed Aug 25 2004 [email protected] |
109 |
- Updated files to extracted only l10n content |
|
3699 | 110 |
* Tue Aug 24 2004 [email protected] |
111 |
- separated l10n content into l10n subpkg |
|
3620
8cc73c7aaf5e
* SUNWgnome-user-docs.spec: Fix path in xml perms change.
dc144907
parents:
3615
diff
changeset
|
112 |
* Thu Aug 19 2004 [email protected] |
3621
dd662e7c3bde
* SUNWgnome-user-docs.spec: Remove xml perms change - done in base spec file.
dc144907
parents:
3620
diff
changeset
|
113 |
- Remove xml perms change - done in base spec file. |
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
114 |
* Wed Aug 18 2004 [email protected] |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3221
diff
changeset
|
115 |
- Change xml perms for Solaris integration. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
116 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
117 |
- Changed install location to /usr/... |