author | hawklu |
Fri, 18 Jul 2008 08:53:12 +0000 | |
branch | gnome-2-22 |
changeset 12476 | 3a21fc945607 |
parent 12440 | 9c1ac229fe05 |
child 12490 | cbcf0a328666 |
permissions | -rw-r--r-- |
11516 | 1 |
# |
12440 | 2 |
# spec file for packages SUNWw3m |
11516 | 3 |
# |
12109 | 4 |
# includes module(s): w3m |
11516 | 5 |
# |
6 |
# Copyright 2008 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 |
# |
|
12410 | 10 |
# Owner:rickju |
11516 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use w3m = w3m.spec |
|
15 |
||
12440 | 16 |
Name: SUNWw3m |
11516 | 17 |
Summary: Desktop search tool - support libraries |
18 |
Version: %{default_pkg_version} |
|
19 |
SUNW_BaseDir: %{_basedir} |
|
11922 | 20 |
SUNW_Copyright: %{name}.copyright |
11516 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
22 |
||
23 |
%include default-depend.inc |
|
12109 | 24 |
Requires: SUNWlibm |
25 |
Requires: SUNWlibgc |
|
26 |
Requires: SUNWperl584core |
|
27 |
Requires: SUNWfirefox |
|
12381 | 28 |
Requires: SUNWopenssl-libraries |
12109 | 29 |
BuildRequires: SUNWlibgc-devel |
12381 | 30 |
BuildRequires: SUNWopenssl-include |
11516 | 31 |
|
32 |
%prep |
|
33 |
rm -rf %name-%version |
|
34 |
mkdir %name-%version |
|
35 |
%w3m.prep -d %name-%version |
|
36 |
||
37 |
%build |
|
12109 | 38 |
export CFLAGS="%optflags" |
39 |
export LDFLAGS="%_ldflags" |
|
11516 | 40 |
export RPM_OPT_FLAGS="$CFLAGS" |
41 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
42 |
||
43 |
%w3m.build -d %name-%version |
|
44 |
||
45 |
%install |
|
46 |
rm -rf $RPM_BUILD_ROOT |
|
47 |
||
48 |
%w3m.install -d %name-%version |
|
49 |
||
12109 | 50 |
#remove man page and help file for ja |
11732 | 51 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja |
12109 | 52 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl |
11732 | 53 |
|
11516 | 54 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
55 |
||
56 |
%clean |
|
57 |
rm -rf $RPM_BUILD_ROOT |
|
58 |
||
59 |
%files |
|
60 |
%defattr (-, root, bin) |
|
61 |
%dir %attr (0755, root, bin) %{_bindir} |
|
62 |
%{_bindir}/* |
|
63 |
%dir %attr (0755, root, bin) %{_libdir} |
|
64 |
%{_libdir}/w3m |
|
65 |
%dir %attr (0755, root, sys) %{_datadir} |
|
66 |
%{_datadir}/w3m/* |
|
67 |
%dir %attr(0755, root, bin) %{_mandir} |
|
68 |
%dir %attr(0755, root, bin) %{_mandir}/man1 |
|
69 |
%{_mandir}/man1/* |
|
70 |
||
71 |
%changelog |
|
12440 | 72 |
* Tue Jun 24 2008 - [email protected] |
73 |
- Rename package from SUNWdesktop-search-libs to SUNWw3m. File was renamed |
|
74 |
previously. |
|
12381 | 75 |
* Mon May 26 2008 - [email protected] |
76 |
- Add openssl dependency |
|
12118 | 77 |
* Tue Apr 15 2008 - [email protected] |
78 |
- Remove l10n package as the libgsf files were the only l10n files. |
|
12109 | 79 |
* Mon Apr 14 2008 - [email protected] |
12164
5aeb68db7a76
Add note that -root and -devel pkgs removed when pkg split into SUNWlibgsf.
dcarbery
parents:
12118
diff
changeset
|
80 |
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too. |
11922 | 81 |
* Thu Mar 27 2008 - [email protected] |
82 |
- Add copyright file |
|
11732 | 83 |
* Wed Feb 27 2008 - [email protected] |
84 |
- Remove man pages for ja |
|
85 |
- Add Requires:{name} for -devel pkg |
|
11715 | 86 |
* Tue Feb 26 2008 - [email protected] |
87 |
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root |
|
88 |
- Move %{_mandir}/ja into -l1n pkg |
|
89 |
- Use gconf-install.script for %post root |
|
11670 | 90 |
* Wed Feb 20 2008 - [email protected] |
91 |
- Remove unused SOURCE0 |
|
11554 | 92 |
* Tue Jan 29 2008 - [email protected] |
93 |
- Add Build/Requires SUNWgnome-python-libs/-devel. |
|
11516 | 94 |
* Thu Jan 24 2008 - [email protected] |
95 |
- Move libgc out. |
|
96 |
* Wed Jan 02 2008 - [email protected] |
|
97 |
- Initial spec-file created |