remove obsolete macros
This commit is contained in:
parent
aedfeb571e
commit
c5d698fecf
@ -11,7 +11,6 @@ URL: https://github.com/sigpipe/urlview
|
||||
# git clone git://github.com/sigpipe/urlview.git; cd urlview
|
||||
# git archive --prefix=urlview/ %{gitrev} | xz > urlview-%{gitdate}git%{gitrev}.tar.xz
|
||||
Source0: %{name}-%{gitdate}git%{gitrev}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
@ -34,18 +33,13 @@ view a specific item.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man{1,5}}
|
||||
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
|
||||
echo '.so man1/urlview.1' > $RPM_BUILD_ROOT%{_mandir}/man5/urlview.conf.5
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README sample.urlview
|
||||
%config(noreplace) %{_sysconfdir}/urlview.conf
|
||||
%{_bindir}/urlview
|
||||
|
Loading…
Reference in New Issue
Block a user