Byte compile Emacs lisp files, require emacs-filesystem for dir ownership.

http://fedoraproject.org/wiki/Packaging:Emacs
epel9
Ville Skyttä 14 years ago
parent 60c012ae35
commit 97cb5d881f

@ -1,13 +1,14 @@
Summary: Internationalized Domain Name support library Summary: Internationalized Domain Name support library
Name: libidn Name: libidn
Version: 1.22 Version: 1.22
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.gnu.org/software/libidn/ URL: http://www.gnu.org/software/libidn/
License: LGPLv2+ and GPLv3+ and GFDL License: LGPLv2+ and GPLv3+ and GFDL
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig, gettext BuildRequires: pkgconfig, gettext, emacs
Requires: emacs-filesystem
Requires(post): /sbin/install-info /sbin/ldconfig Requires(post): /sbin/install-info /sbin/ldconfig
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
@ -71,6 +72,8 @@ ln -sf ../../%{_lib}/`basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/libidn.so
sed -i 's,^libdir=.*$,libdir=%{_libdir},' \ sed -i 's,^libdir=.*$,libdir=%{_libdir},' \
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/libidn.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libidn.pc
%{_emacs_bytecompile} $RPM_BUILD_ROOT%{_emacs_sitelispdir}/*.el
%find_lang %{name} %find_lang %{name}
%post %post
@ -92,7 +95,8 @@ rm -rf %{buildroot}
%doc AUTHORS NEWS FAQ README THANKS COPYING* %doc AUTHORS NEWS FAQ README THANKS COPYING*
%{_bindir}/idn %{_bindir}/idn
%{_mandir}/man1/idn.1* %{_mandir}/man1/idn.1*
%{_datadir}/emacs/site-lisp %{_emacs_sitelispdir}/*.el
%{_emacs_sitelispdir}/*.elc
/%{_lib}/libidn.so.* /%{_lib}/libidn.so.*
%{_infodir}/%{name}.info.gz %{_infodir}/%{name}.info.gz
@ -105,6 +109,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sun May 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.22-2
- Byte compile Emacs lisp files, require emacs-filesystem for dir ownership.
* Thu May 05 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.22-1 * Thu May 05 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.22-1
- update to 1.22 - update to 1.22

Loading…
Cancel
Save