]> git.pld-linux.org Git - packages/libidn.git/commitdiff
- package emacs files (is path correct?); release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Jan 2004 22:02:30 +0000 (22:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libidn.spec -> 1.9

libidn.spec

index 36d74b08ced53ce81a0f7deef70554efed650445..8b86d1f89a685dff4f3d4d7cde6c4f4ca9a7c022 100644 (file)
@@ -1,12 +1,11 @@
 # TODO:
 # - prepare package with web-files from contrib
-# - // with emacs stuff
 #
 Summary:       Internationalized string processing library
 Summary(pl):   Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
 Name:          libidn
 Version:       0.3.6
-Release:       1
+Release:       2
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
@@ -20,6 +19,9 @@ BuildRequires:        texinfo
 Requires(post,postun): /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# is it correct?
+%define                _emacs_lispdir  %{_datadir}/emacs/site-lisp
+
 %description
 GNU Libidn is an implementation of the Stringprep, Punycode and IDNA
 specifications defined by the IETF Internationalized Domain Names
@@ -54,6 +56,18 @@ Static libidn library.
 %description static -l pl
 Statyczna biblioteka libidn.
 
+%package -n emacs-libidn-pkg
+Summary:       IDN support files for emacs
+Summary(pl):   Obs³uga IDN dla emacsa
+Group:         Applications/Editors/Emacs
+Requires:      %{name} = %{version}
+
+%description -n emacs-libidn-pkg
+IDN support files for emacs.
+
+%description -n emacs-libidn-pkg -l pl
+Obs³uga IDN dla emacsa.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -72,7 +86,8 @@ rm -f m4/libtool.m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --with-lispdir=%{_emacs_lispdir}
 
 %{__make}
 
@@ -112,3 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libidn.a
+
+%files -n emacs-libidn-pkg
+%defattr(644,root,root,755)
+%{_emacs_lispdir}/*.el
This page took 0.129558 seconds and 4 git commands to generate.