]> git.pld-linux.org Git - packages/urlview.git/blob - urlview.spec
- ncurses rebuild
[packages/urlview.git] / urlview.spec
1 Summary:        A URL extractor/viewer for use with Mutt
2 Summary(pl.UTF-8):      Program do wyciągania/oglądania URL-i dla Mutta
3 Name:           urlview
4 Version:        0.9
5 Release:        11
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        ftp://ftp.mutt.org/mutt/contrib/%{name}-%{version}.tar.gz
9 # Source0-md5:  67731f73e69297ffd106b65c8aebb2ab
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-regexp.patch
12 Patch2:         %{name}-links.patch
13 Patch3:         %{name}-home_etc.patch
14 Patch4:         %{name}-linking.patch
15 Patch5:         %{name}-include.patch
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  ncurses-devel
19 Requires:       webclient
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 urlview extracts URLs from a given text file, and presents a menu of
24 URLs to view using a user specified command.
25
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.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35 %patch3 -p1
36 %patch4
37 %patch5
38
39 %build
40 rm -f missing
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install url_handler.sh $RPM_BUILD_ROOT%{_bindir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README sample.urlview urlview.sgml
62 %attr(755,root,root) %{_bindir}/*
63 %{_mandir}/man1/*
This page took 0.059551 seconds and 4 git commands to generate.