1 |
# TODO add option to remove dependencies |
# TODO add option to remove dependencies |
2 |
|
|
3 |
%define gcversion gc6.3 |
%define gcversion gc6.3 |
|
%define Summary Pager that can also be used as textbased webbrowser |
|
4 |
|
|
5 |
Summary: %{Summary} |
Summary: Pager that can also be used as textbased webbrowser |
6 |
Name: w3m |
Name: w3m |
7 |
Version: 0.5.3 |
Version: 0.5.3 |
8 |
Release: %mkrel 6 |
Release: %mkrel 6 |
35 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
36 |
BuildRequires: termcap-devel |
BuildRequires: termcap-devel |
37 |
BuildRequires: libgc-devel |
BuildRequires: libgc-devel |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
|
38 |
|
|
39 |
%define _requires_exceptions perl(w3mhelp-.*) |
%define _requires_exceptions perl(w3mhelp-.*) |
40 |
|
|
87 |
make |
make |
88 |
|
|
89 |
%install |
%install |
|
rm -rf %{buildroot} |
|
|
|
|
90 |
install -d %{buildroot}/{%{_bindir},{%{_datadir},%{_libdir}}/%{name},%{_mandir}/{,ja_JP.ujis}/man1} |
install -d %{buildroot}/{%{_bindir},{%{_datadir},%{_libdir}}/%{name},%{_mandir}/{,ja_JP.ujis}/man1} |
91 |
|
|
92 |
%{makeinstall_std} |
%{makeinstall_std} |
101 |
|
|
102 |
%find_lang %{name} |
%find_lang %{name} |
103 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
104 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root) |
|
105 |
%doc README doc doc-jp w3mhelp-lynx_* |
%doc README doc doc-jp w3mhelp-lynx_* |
106 |
%dir %{_sysconfdir}/w3m |
%dir %{_sysconfdir}/w3m |
107 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/w3m/config |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/w3m/config |