]> git.pld-linux.org Git - packages/xemacs-viper-pkg.git/blame - xemacs-viper-pkg.spec
- x32 rebuild
[packages/xemacs-viper-pkg.git] / xemacs-viper-pkg.spec
CommitLineData
e92b8bff 1Summary: VI emulation support
b981610c 2Summary(pl.UTF-8): Emulacja VI
e92b8bff 3Name: xemacs-viper-pkg
eb7764e3 4%define srcname viper
761611dc 5Version: 1.67
b7748119 6Release: 2
5dc2e9f2 7License: GPL
e92b8bff 8Group: Applications/Editors/Emacs
8b7431af 9Source0: http://ftp.xemacs.org/xemacs/packages/%{srcname}-%{version}-pkg.tar.gz
761611dc 10# Source0-md5: 5913b7a644053f279b578ed469b384d0
9920708a 11Patch0: %{name}-info.patch
ae2290b8 12BuildRequires: texinfo
7241f351 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
eb7764e3 14
15%description
ae2290b8 16VI emulation support.
eb7764e3 17
16652f3c 18%description -l pl.UTF-8
ae2290b8 19Emulacja VI.
eb7764e3 20
eb7764e3 21%prep
22%setup -q -c
5dc2e9f2 23%patch0 -p1
24
25%build
26(cd man/viper; awk '/^\\input texinfo/ {print FILENAME}' * | xargs makeinfo)
eb7764e3 27
28%install
29rm -rf $RPM_BUILD_ROOT
ae2290b8 30install -d $RPM_BUILD_ROOT{%{_datadir}/xemacs-packages,%{_infodir}}
31
eb7764e3 32cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
eb7764e3 33mv -f $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info/*.info* $RPM_BUILD_ROOT%{_infodir}
34rm -fr $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info
e92b8bff 35
5352e79d 36# remove .el file if corresponding .elc file exists
37find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
38
eb7764e3 39%clean
81a80638 40rm -rf $RPM_BUILD_ROOT
eb7764e3 41
f487808a
ER
42%post -p /sbin/postshell
43-/usr/sbin/fix-info-dir -c %{_infodir}
eb7764e3 44
f487808a
ER
45%postun -p /sbin/postshell
46-/usr/sbin/fix-info-dir -c %{_infodir}
eb7764e3 47
eb7764e3 48%files
49%defattr(644,root,root,755)
14be57b1 50%doc lisp/viper/{README,ChangeLog}
e92b8bff 51%{_datadir}/xemacs-packages%{_sysconfdir}/*
eb7764e3 52%dir %{_datadir}/xemacs-packages/lisp/*
5352e79d 53%{_datadir}/xemacs-packages/lisp/*/*.el*
b34c65d2 54%{_infodir}/*.info*
This page took 0.068909 seconds and 4 git commands to generate.