]> git.pld-linux.org Git - packages/urlview.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Wed, 7 Jun 2000 04:41:53 +0000 (04:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    urlview.spec -> 1.12

urlview.spec

index be896a5b3b795de2df9623f5f92640afab43e5ff..297ca29c48927022633f4b12a6dc9a86c9d87cca 100644 (file)
@@ -1,38 +1,39 @@
-Summary:       A URL extractor/viewer for use with Mutt.
+Summary:       A URL extractor/viewer for use with Mutt
 Name:          urlview
 Version:       0.7
 Release:       3
-Copyright:     GPL
+License:       GPL
 Group:         Applications/Internet
-Source:                ftp://ftp.cs.hmc.edu/pub/me/urlview-0.7.tar.gz
-Patch:         urlview-default.patch
+######         Unknown group!
+Source0:       ftp://ftp.cs.hmc.edu/pub/me/%{name}-%{version}.tar.gz
+Patch0:                urlview-default.patch
 Requires:      slang >= 0.99.38, webclient
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-urlview extracts URLs from a given text file, and presents a menu
-of URLs to view using a user specified command.
+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
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" \
+LDFLAGS="-s"; export LDFLAGS
 %configure \
        --with-slang
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1}
+
 make install \
-       prefix=$RPM_BUILD_ROOT/usr \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
        mandir=$RPM_BUILD_ROOT/%{_mandir} \
        bindir=$RPM_BUILD_ROOT/%{_bindir}
 
 install url_handler.sh $RPM_BUILD_ROOT%{_bindir}/url_handler
-strip $RPM_BUILD_ROOT%{_bindir}/urlview
 
 gzip -9nf AUTHORS ChangeLog README sample.urlview urlview.sgml \
        $RPM_BUILD_ROOT/%{_mandir}/man1/*
@@ -42,7 +43,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,README,sample.urlview,urlview.sgml}.gz
-%attr(755,root,root) %{_bindir}/urlview
-%attr(755,root,root) %{_bindir}/url_handler
-%{_mandir}/man1/urlview.1.gz
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.086123 seconds and 4 git commands to generate.