12590
|
1 |
#
|
|
2 |
# spec file for packages SUNWw3m
|
|
3 |
#
|
|
4 |
# includes module(s): w3m
|
|
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 |
#
|
12591
|
10 |
# Owner:rickju
|
12590
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use w3m = w3m.spec
|
|
15 |
|
|
16 |
Name: SUNWw3m
|
13422
|
17 |
Summary: A text-based web browser
|
12590
|
18 |
Version: %{default_pkg_version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
SUNW_Copyright: %{name}.copyright
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
|
|
23 |
%include default-depend.inc
|
13050
|
24 |
Requires: SUNWlibms
|
12590
|
25 |
Requires: SUNWlibgc
|
|
26 |
Requires: SUNWperl584core
|
|
27 |
Requires: SUNWfirefox
|
|
28 |
Requires: SUNWopenssl-libraries
|
13050
|
29 |
BuildRequires: SUNWlibm
|
12590
|
30 |
BuildRequires: SUNWlibgc-devel
|
|
31 |
BuildRequires: SUNWopenssl-include
|
|
32 |
|
12591
|
33 |
%if %build_l10n
|
|
34 |
%package l10n
|
|
35 |
Summary: %{summary} - l10n files
|
|
36 |
SUNW_BaseDir: %{_basedir}
|
|
37 |
%include default-depend.inc
|
|
38 |
Requires: %{name}
|
|
39 |
%endif
|
|
40 |
|
12590
|
41 |
%prep
|
|
42 |
rm -rf %name-%version
|
|
43 |
mkdir %name-%version
|
|
44 |
%w3m.prep -d %name-%version
|
|
45 |
|
|
46 |
%build
|
|
47 |
export CFLAGS="%optflags"
|
13378
|
48 |
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
|
12590
|
49 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
50 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
51 |
|
|
52 |
%w3m.build -d %name-%version
|
|
53 |
|
|
54 |
%install
|
|
55 |
rm -rf $RPM_BUILD_ROOT
|
|
56 |
|
|
57 |
%w3m.install -d %name-%version
|
|
58 |
|
|
59 |
#remove man page and help file for ja
|
|
60 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/ja
|
|
61 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/w3m/w3mhelp-funcdesc.ja.pl
|
|
62 |
|
12591
|
63 |
%if %build_l10n
|
|
64 |
%else
|
|
65 |
# REMOVE l10n FILES
|
|
66 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
67 |
%endif
|
|
68 |
|
12590
|
69 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
70 |
|
|
71 |
%clean
|
|
72 |
rm -rf $RPM_BUILD_ROOT
|
|
73 |
|
|
74 |
%files
|
|
75 |
%defattr (-, root, bin)
|
|
76 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
77 |
%{_bindir}/*
|
|
78 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
79 |
%{_libdir}/w3m
|
|
80 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
81 |
%{_datadir}/w3m/*
|
|
82 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
83 |
%dir %attr(0755, root, bin) %{_mandir}/man1
|
|
84 |
%{_mandir}/man1/*
|
13670
|
85 |
%doc -d w3m-%{w3m.version} ChangeLog NEWS README
|
|
86 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
12590
|
87 |
|
12591
|
88 |
%if %build_l10n
|
|
89 |
%files l10n
|
|
90 |
%defattr (-, root, bin)
|
|
91 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
92 |
%attr (-, root, other) %{_datadir}/locale
|
|
93 |
%endif
|
|
94 |
|
12590
|
95 |
%changelog
|
13670
|
96 |
* Fri Sep 19 2008 - [email protected]
|
|
97 |
- Add %doc for copyright files
|
13050
|
98 |
* Thu Aug 06 2008 - [email protected]
|
|
99 |
- fix a libm dependency issue #6733315
|
12590
|
100 |
* Thu Jun 05 2008 - [email protected]
|
12591
|
101 |
- renamed to SUNWw3m.spec
|
|
102 |
* Wed Jun 04 2008 - [email protected]
|
|
103 |
- Add l10n packages with w3m fix.
|
12590
|
104 |
* Mon May 26 2008 - [email protected]
|
|
105 |
- Add openssl dependency
|
|
106 |
* Tue Apr 15 2008 - [email protected]
|
|
107 |
- Remove l10n package as the libgsf files were the only l10n files.
|
|
108 |
* Mon Apr 14 2008 - [email protected]
|
|
109 |
- Move libgsf part into SUNWlibgsf. Remove -root and devel pkgs too.
|
|
110 |
* Thu Mar 27 2008 - [email protected]
|
|
111 |
- Add copyright file
|
|
112 |
* Wed Feb 27 2008 - [email protected]
|
|
113 |
- Remove man pages for ja
|
|
114 |
- Add Requires:{name} for -devel pkg
|
|
115 |
* Tue Feb 26 2008 - [email protected]
|
|
116 |
- Remove Requires: SUNWpostrun, Add Requires: SUNWdesktop-search-libs-root
|
|
117 |
- Move %{_mandir}/ja into -l1n pkg
|
|
118 |
- Use gconf-install.script for %post root
|
|
119 |
* Wed Feb 20 2008 - [email protected]
|
|
120 |
- Remove unused SOURCE0
|
|
121 |
* Tue Jan 29 2008 - [email protected]
|
|
122 |
- Add Build/Requires SUNWgnome-python-libs/-devel.
|
|
123 |
* Thu Jan 24 2008 - [email protected]
|
|
124 |
- Move libgc out.
|
|
125 |
* Wed Jan 02 2008 - [email protected]
|
|
126 |
- Initial spec-file created
|