From db1970baae51ed15b494ea9834379722a9850faf Mon Sep 17 00:00:00 2001 From: kloczek Date: Mon, 26 Apr 1999 08:49:17 +0000 Subject: [PATCH] - raw version from rawwhide. Changed files: urlview.spec -> 1.1 --- urlview.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 urlview.spec diff --git a/urlview.spec b/urlview.spec new file mode 100644 index 0000000..aa56853 --- /dev/null +++ b/urlview.spec @@ -0,0 +1,53 @@ +Name: urlview +%define version 0.7 +Version: %{version} +Release: 3 +Copyright: GPL +Group: Applications/Internet +Source: ftp://ftp.cs.hmc.edu/pub/me/urlview-0.7.tar.gz +Patch: urlview-default.patch +Requires: slang >= 0.99.38, webclient +Buildroot: /var/tmp/urlview-root +Summary: A URL extractor/viewer for use with Mutt. + +%description +urlview extracts URLs from a given text file, and presents a menu +of URLs to view using a user specified command. + +%prep +%setup -q +%patch -p1 -b .default + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-slang +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1} +make prefix=$RPM_BUILD_ROOT/usr install +install -m755 url_handler.sh $RPM_BUILD_ROOT/usr/bin/url_handler.sh +strip $RPM_BUILD_ROOT/usr/bin/urlview + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING +%doc INSTALL README sample.urlview +%doc urlview.sgml +/usr/bin/urlview +/usr/bin/url_handler.sh +/usr/man/man1/urlview.1 + +%changelog +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Thu Mar 18 1999 Bill Nottingham +- strip binary +- fix defaults some + +* Sat Dec 12 1998 Bill Nottingham +- initial build -- 2.44.0