Rebuilt for new upstream release, spec cleanup, fixes rhbz #1060488

This commit is contained in:
Filipe Rosset 2014-06-04 16:58:35 -03:00
parent 0281bd6f0d
commit 3d54986aaa
3 changed files with 9 additions and 12 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/vile-9.8i.tgz /vile-9.8i.tgz
/vile-9.8j.tgz /vile-9.8j.tgz
/vile-9.8k.tgz /vile-9.8k.tgz
/vile-9.8m.tgz

View File

@ -1 +1 @@
909103492a92ff7e5a72a5eab2bd25c6 vile-9.8k.tgz a61f3125ea128b14b8c6454d81bfa4f4 vile-9.8m.tgz

View File

@ -1,5 +1,5 @@
Name: vile Name: vile
Version: 9.8k Version: 9.8m
Release: 1%{?dist} Release: 1%{?dist}
Summary: VI Like Emacs Summary: VI Like Emacs
Group: Applications/Editors Group: Applications/Editors
@ -7,7 +7,6 @@ License: GPLv2
URL: http://invisible-island.net/vile/ URL: http://invisible-island.net/vile/
Source0: ftp://invisible-island.net/vile/current/%{name}-%{version}.tgz Source0: ftp://invisible-island.net/vile/current/%{name}-%{version}.tgz
Source1: xvile.desktop Source1: xvile.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: flex BuildRequires: flex
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -65,7 +64,6 @@ make %{?_smp_mflags} xvile
touch vile touch vile
%install %install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='xvile' make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='xvile'
make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='vile' make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='vile'
desktop-file-install --vendor='' --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} desktop-file-install --vendor='' --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
@ -86,23 +84,18 @@ fi
%posttrans -n xvile %posttrans -n xvile
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%{_bindir}/vile %{_bindir}/vile
%{_bindir}/vile-pager %{_bindir}/vile-pager
%{_mandir}/man1/vile.1* %{_mandir}/man1/vile.1*
%files common %files common
%defattr(-,root,root,-)
%doc AUTHORS COPYING CHANGES README doc/*doc %doc AUTHORS COPYING CHANGES README doc/*doc
%{_datadir}/vile/ %{_datadir}/vile/
%{_libdir}/vile/ %{_libdir}/vile/
%files -n xvile %files -n xvile
%defattr(-,root,root,-)
%{_bindir}/lxvile %{_bindir}/lxvile
%{_bindir}/lxvile-fonts %{_bindir}/lxvile-fonts
%{_bindir}/uxvile %{_bindir}/uxvile
@ -119,6 +112,9 @@ rm -rf %{buildroot}
%{_datadir}/applications/xvile.desktop %{_datadir}/applications/xvile.desktop
%changelog %changelog
* Wed Jun 04 2014 Filipe Rosset <rosset.filipe@gmail.com> - 9.8m-1
- Rebuilt for new upstream release, spec cleanup, fixes rhbz #1060488
* Wed Sep 11 2013 Mark McKinstry <mmckinst@nexcess.net> - 9.8k-1 * Wed Sep 11 2013 Mark McKinstry <mmckinst@nexcess.net> - 9.8k-1
- upgrade to 9.8k (BZ#983023) - upgrade to 9.8k (BZ#983023)
@ -143,15 +139,15 @@ rm -rf %{buildroot}
- include verison for vile-common requirements - include verison for vile-common requirements
- replace icon with xpm version - replace icon with xpm version
* Thu Jan 23 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8d-1 * Sun Jan 23 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8d-1
- upgrade to 9.8d - upgrade to 9.8d
- create vile-common package - create vile-common package
* Thu Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8b-1 * Mon Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8b-1
- upgrade to 9.8b - upgrade to 9.8b
- add xvile - add xvile
* Tue Aug 16 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8-1 * Mon Aug 16 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8-1
- upgrade to 9.8 - upgrade to 9.8
- include more documentation - include more documentation