61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
Name: urlview
|
|
Version: 0.9
|
|
Release: 3%{?dist}
|
|
Summary: URL extractor/launcher
|
|
|
|
Group: Applications/Internet
|
|
License: GPLv2+
|
|
URL: ftp://ftp.mutt.org/pub/mutt/contrib/urlview-0.9.README
|
|
Source0: ftp://ftp.mutt.org/pub/mutt/contrib/urlview-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
# mutt packages before 5:1.5.16-2 included urlview
|
|
Conflicts: mutt < 5:1.5.16-2
|
|
|
|
Patch1: urlview-0.9-build.diff
|
|
Patch2: urlview-0.9-default.patch
|
|
|
|
%description
|
|
urlview is a screen oriented program for extracting URLs from text
|
|
files and displaying a menu from which you may launch a command to
|
|
view a specific item.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1 -b .build
|
|
%patch2 -p1 -b .default
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
|
|
install -p -m644 urlview.conf.suse $RPM_BUILD_ROOT%{_sysconfdir}/urlview.conf
|
|
install -p urlview url_handler.sh $RPM_BUILD_ROOT%{_bindir}
|
|
install -p -m644 urlview.man $RPM_BUILD_ROOT%{_mandir}/man1/urlview.1
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS ChangeLog COPYING README sample.urlview
|
|
%config(noreplace) %{_sysconfdir}/urlview.conf
|
|
%{_bindir}/urlview
|
|
%{_bindir}/url_handler.sh
|
|
%{_mandir}/man1/urlview.1*
|
|
|
|
%changelog
|
|
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.9-3
|
|
- update license tag
|
|
|
|
* Fri Jun 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.9-2
|
|
- add conflict with mutt, fix URL (#245951)
|
|
|
|
* Wed Jun 27 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.9-1
|
|
- split from mutt package
|