]>
Commit | Line | Data |
---|---|---|
3a3462a7 | 1 | Summary: A URL extractor/viewer for use with Mutt |
89cebfd1 | 2 | Summary(pl.UTF-8): Program do wyciągania/oglądania URL-i dla Mutta |
740bc102 | 3 | Name: urlview |
41c328de | 4 | Version: 0.9 |
2cdfcab8 | 5 | Release: 11 |
3a3462a7 | 6 | License: GPL |
4a854937 | 7 | Group: Applications/Text |
d27170ea | 8 | Source0: ftp://ftp.mutt.org/mutt/contrib/%{name}-%{version}.tar.gz |
df00fbca | 9 | # Source0-md5: 67731f73e69297ffd106b65c8aebb2ab |
05a71ea7 | 10 | Patch0: %{name}-DESTDIR.patch |
745d1e06 | 11 | Patch1: %{name}-regexp.patch |
4906a8e0 | 12 | Patch2: %{name}-links.patch |
07e552e1 | 13 | Patch3: %{name}-home_etc.patch |
3270b222 JP |
14 | Patch4: %{name}-linking.patch |
15 | Patch5: %{name}-include.patch | |
05a71ea7 | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
745d1e06 | 18 | BuildRequires: ncurses-devel |
05a71ea7 | 19 | Requires: webclient |
42019940 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
db1970ba | 21 | |
22 | %description | |
3a3462a7 | 23 | urlview extracts URLs from a given text file, and presents a menu of |
24 | URLs to view using a user specified command. | |
db1970ba | 25 | |
20876e7a JR |
26 | %description -l pl.UTF-8 |
27 | urlview wyciąga URL-e z podanego pliku tekstowego i pokazuje menu | |
28 | pozwalające je oglądać podanym poleceniem. | |
11400a34 | 29 | |
db1970ba | 30 | %prep |
31 | %setup -q | |
05a71ea7 | 32 | %patch0 -p1 |
745d1e06 | 33 | %patch1 -p1 |
07e552e1 AG |
34 | %patch2 -p1 |
35 | %patch3 -p1 | |
3270b222 JP |
36 | %patch4 |
37 | %patch5 | |
db1970ba | 38 | |
39 | %build | |
05a71ea7 | 40 | rm -f missing |
4f649db2 | 41 | %{__aclocal} |
b2574fc2 | 42 | %{__autoconf} |
43 | %{__automake} | |
745d1e06 | 44 | %configure |
a1df2b58 | 45 | %{__make} |
db1970ba | 46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
eb6b2aee | 49 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
3a3462a7 | 50 | |
80f217e9 | 51 | %{__make} install \ |
05a71ea7 | 52 | DESTDIR=$RPM_BUILD_ROOT |
740bc102 | 53 | |
745d1e06 | 54 | install url_handler.sh $RPM_BUILD_ROOT%{_bindir} |
41c328de | 55 | |
db1970ba | 56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
740bc102 | 60 | %defattr(644,root,root,755) |
95fbe37d | 61 | %doc AUTHORS ChangeLog README sample.urlview urlview.sgml |
3a3462a7 | 62 | %attr(755,root,root) %{_bindir}/* |
63 | %{_mandir}/man1/* |