]> git.pld-linux.org Git - packages/urlview.git/blob - urlview.spec
38a4fc5ebee4f9339088161d9322e44c932fc56f
[packages/urlview.git] / urlview.spec
1 Name: urlview
2 %define version 0.7
3 Version: %{version}
4 Release: 3
5 Copyright: GPL
6 Group: Applications/Internet
7 Source: ftp://ftp.cs.hmc.edu/pub/me/urlview-0.7.tar.gz
8 Patch: urlview-default.patch
9 Requires: slang >= 0.99.38, webclient
10 Buildroot: /var/tmp/urlview-root
11 Summary: A URL extractor/viewer for use with Mutt.
12
13 %description
14 urlview extracts URLs from a given text file, and presents a menu
15 of URLs to view using a user specified command.
16
17 %prep
18 %setup -q
19 %patch -p1 -b .default
20
21 %build
22 CFLAGS="$RPM_OPT_FLAGS" \
23 ./configure %{_target} \
24         --prefix=/usr \
25         --with-slang
26 make
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1}
31 make prefix=$RPM_BUILD_ROOT/usr install
32 install -m755 url_handler.sh $RPM_BUILD_ROOT/usr/bin/url_handler.sh
33 strip $RPM_BUILD_ROOT/usr/bin/urlview
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(-,root,root)
40 %doc AUTHORS ChangeLog COPYING
41 %doc INSTALL README sample.urlview 
42 %doc urlview.sgml
43 /usr/bin/urlview
44 /usr/bin/url_handler.sh
45 %{_mandir}/man1/urlview.1
46
47 %changelog
48 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
49 - auto rebuild in the new build environment (release 3)
50
51 * Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
52 - strip binary
53 - fix defaults some
54
55 * Sat Dec 12 1998 Bill Nottingham <notting@redhat.com>
56 - initial build
This page took 0.040819 seconds and 2 git commands to generate.