2011-01-31 04:31:37 +00:00
|
|
|
Name: vile
|
2014-06-04 19:58:35 +00:00
|
|
|
Version: 9.8m
|
2014-08-18 07:52:48 +00:00
|
|
|
Release: 5%{?dist}
|
2011-01-31 04:31:37 +00:00
|
|
|
Summary: VI Like Emacs
|
|
|
|
Group: Applications/Editors
|
|
|
|
License: GPLv2
|
|
|
|
URL: http://invisible-island.net/vile/
|
|
|
|
Source0: ftp://invisible-island.net/vile/current/%{name}-%{version}.tgz
|
|
|
|
Source1: xvile.desktop
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2014-06-22 17:16:47 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2011-01-31 04:31:37 +00:00
|
|
|
|
|
|
|
%package common
|
|
|
|
Summary: The common files needed by any version of the VIM editor
|
|
|
|
Group: Applications/Editors
|
|
|
|
|
|
|
|
%package -n xvile
|
|
|
|
Summary: VI Like Emacs
|
|
|
|
Group: Applications/Editors
|
|
|
|
%if 0%{?el5}%{?el6}%{?fedora}
|
|
|
|
BuildRequires: libXpm-devel
|
|
|
|
BuildRequires: libXt-devel
|
2011-05-12 01:26:29 +00:00
|
|
|
Requires: xorg-x11-fonts-misc
|
2011-01-31 04:31:37 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?el4}
|
|
|
|
BuildRequires: xorg-x11-libs
|
|
|
|
BuildRequires: xorg-x11-devel
|
2011-05-12 01:26:29 +00:00
|
|
|
Requires: fonts-xorg-base
|
2011-01-31 04:31:37 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2011-05-12 01:26:29 +00:00
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
|
|
|
|
%description common
|
|
|
|
vile is a text editor which is extremely compatible with vi in terms of "finger
|
|
|
|
feel". In addition, it has extended capabilities in many areas, notably
|
|
|
|
multi-file editing and viewing, syntax highlighting, and key rebinding.
|
|
|
|
vile-common provides the files needed for all versions of vile.
|
|
|
|
|
|
|
|
%description -n xvile
|
|
|
|
xvile is a text editor which is extremely compatible with vi in terms of "finger
|
|
|
|
feel". In addition, it has extended capabilities in many areas, notably
|
|
|
|
multi-file editing and viewing, syntax highlighting, and key rebinding.
|
|
|
|
|
|
|
|
%description
|
|
|
|
vile is a text editor which is extremely compatible with vi in terms of "finger
|
|
|
|
feel". In addition, it has extended capabilities in many areas, notably
|
|
|
|
multi-file editing and viewing, syntax highlighting, and key rebinding.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-06-22 16:10:54 +00:00
|
|
|
%configure --with-loadable-filters \
|
|
|
|
--disable-rpath-hack \
|
|
|
|
--disable-stripping
|
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
make %{?_smp_mflags} vile
|
|
|
|
|
2014-06-22 16:10:54 +00:00
|
|
|
%configure --with-loadable-filters \
|
|
|
|
--disable-rpath-hack \
|
|
|
|
--disable-stripping \
|
|
|
|
--with-app-defaults=%{_datadir}/X11/app-defaults \
|
|
|
|
--with-screen=x11 \
|
|
|
|
--with-icon-theme \
|
|
|
|
--with-icondir=%{_datadir}/icons/ \
|
|
|
|
--with-pixmapdir=%{_datadir}/pixmaps/ \
|
|
|
|
--with-xpm
|
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
make %{?_smp_mflags} xvile
|
|
|
|
touch vile
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='xvile'
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL='install -p' TARGET='vile'
|
|
|
|
desktop-file-install --vendor='' --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
|
|
|
|
|
|
ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/uxvile.1
|
|
|
|
ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/lxvile.1
|
|
|
|
|
2012-12-02 17:18:33 +00:00
|
|
|
|
|
|
|
%post -n xvile
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun -n xvile
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans -n xvile
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/vile
|
|
|
|
%{_bindir}/vile-pager
|
|
|
|
%{_mandir}/man1/vile.1*
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%doc AUTHORS COPYING CHANGES README doc/*doc
|
|
|
|
%{_datadir}/vile/
|
|
|
|
%{_libdir}/vile/
|
|
|
|
|
|
|
|
%files -n xvile
|
|
|
|
%{_bindir}/lxvile
|
|
|
|
%{_bindir}/lxvile-fonts
|
|
|
|
%{_bindir}/uxvile
|
|
|
|
%{_bindir}/xshell.sh
|
|
|
|
%{_bindir}/xvile
|
|
|
|
%{_bindir}/xvile-pager
|
|
|
|
%{_mandir}/man1/xvile.1*
|
|
|
|
%{_mandir}/man1/lxvile.1*
|
|
|
|
%{_mandir}/man1/uxvile.1*
|
|
|
|
%{_datadir}/pixmaps/vile.xpm
|
2012-12-02 17:18:33 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/vile.*
|
2011-01-31 04:31:37 +00:00
|
|
|
%{_datadir}/X11/app-defaults/XVile
|
|
|
|
%{_datadir}/X11/app-defaults/UXVile
|
|
|
|
%{_datadir}/applications/xvile.desktop
|
|
|
|
|
|
|
|
%changelog
|
2014-08-18 07:52:48 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.8m-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-22 17:16:47 +00:00
|
|
|
* Sun Jun 22 2014 Mark McKinstry <mmckinst@example.com> - 9.8m-4
|
|
|
|
- re-add buildroot for el5
|
|
|
|
|
2014-06-22 16:10:54 +00:00
|
|
|
* Sun Jun 22 2014 Mark McKinstry <mmckinst@nexcess.net> - 9.8m-3
|
|
|
|
- don't strip executables during build (RHBZ#1106365)
|
|
|
|
|
2014-06-08 03:41:01 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.8m-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-04 19:58:35 +00:00
|
|
|
* Wed Jun 04 2014 Filipe Rosset <rosset.filipe@gmail.com> - 9.8m-1
|
|
|
|
- Rebuilt for new upstream release, spec cleanup, fixes rhbz #1060488
|
|
|
|
|
2013-09-11 00:11:57 +00:00
|
|
|
* Wed Sep 11 2013 Mark McKinstry <mmckinst@nexcess.net> - 9.8k-1
|
|
|
|
- upgrade to 9.8k (BZ#983023)
|
2013-07-17 20:01:36 +00:00
|
|
|
|
2013-05-10 18:11:33 +00:00
|
|
|
* Fri May 10 2013 Mark Mckinstry <mmckinst@nexcess.net> - 9.8j-1
|
|
|
|
- upgrade to 9.8j
|
2013-02-15 02:47:30 +00:00
|
|
|
|
2012-12-02 17:18:33 +00:00
|
|
|
* Sun Dec 2 2012 Mark McKinstry <mmckinst@nexcess.net> - 9.8i-1
|
|
|
|
- upgrade to 9.8i
|
|
|
|
- use better icons
|
|
|
|
|
2011-05-12 01:26:29 +00:00
|
|
|
* Wed May 11 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8e-1
|
|
|
|
- upgrade to 9.8e
|
|
|
|
- fix dependency
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
* Sun Jan 30 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8d-3
|
|
|
|
- symlink lxvile and uxvile to xvile manpage
|
|
|
|
- add emtpy vendor tag to desktop-file-install to make EPEL happy
|
|
|
|
- add some conditionals so it will build on EPEL 4
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
* Wed Jan 26 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8d-2
|
|
|
|
- include xvile.desktop
|
|
|
|
- include verison for vile-common requirements
|
|
|
|
- replace icon with xpm version
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2014-06-04 19:58:35 +00:00
|
|
|
* Sun Jan 23 2011 Mark McKinstry <mmckinst@nexcess.net> 9.8d-1
|
2011-01-31 04:31:37 +00:00
|
|
|
- upgrade to 9.8d
|
|
|
|
- create vile-common package
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2014-06-04 19:58:35 +00:00
|
|
|
* Mon Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8b-1
|
2011-01-31 04:31:37 +00:00
|
|
|
- upgrade to 9.8b
|
|
|
|
- add xvile
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2014-06-04 19:58:35 +00:00
|
|
|
* Mon Aug 16 2010 Mark McKinstry <mmckinst@nexcess.net> 9.8-1
|
2011-01-31 04:31:37 +00:00
|
|
|
- upgrade to 9.8
|
|
|
|
- include more documentation
|
2012-12-02 17:18:33 +00:00
|
|
|
|
2011-01-31 04:31:37 +00:00
|
|
|
* Sat May 8 2010 Mark McKinstry <mmckinst@nexcess.net> 9.7zc-1
|
|
|
|
- initial build
|