packages: libidn2/libidn2-info.patch (NEW), libidn2/libidn2.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Tue May 17 20:15:22 CEST 2011
Author: qboosh Date: Tue May 17 18:15:22 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/libidn2:
libidn2-info.patch (NONE -> 1.1) (NEW), libidn2.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libidn2/libidn2-info.patch
diff -u /dev/null packages/libidn2/libidn2-info.patch:1.1
--- /dev/null Tue May 17 20:15:22 2011
+++ packages/libidn2/libidn2-info.patch Tue May 17 20:15:17 2011
@@ -0,0 +1,39 @@
+--- libidn2-0.4/doc/libidn2.texi.orig 2011-05-05 17:16:53.000000000 +0200
++++ libidn2-0.4/doc/libidn2.texi 2011-05-17 19:46:41.224646947 +0200
+@@ -15,14 +15,14 @@
+ Copyright @copyright{} 2011 Simon Josefsson
+ @end copying
+
+- at dircategory Software libraries
++ at dircategory Libraries:
+ @direntry
+-* libidn2: (libidn2). Internationalized domain names (IDNA2008) processing.
++* libidn2: (libidn2). Internationalized domain names (IDNA2008) processing
+ @end direntry
+
+- at dircategory Localization
++ at dircategory Miscellaneous:
+ @direntry
+-* idn2: (libidn2)Invoking idn2. Internationalized Domain Name (IDNA2008) conversion.
++* idn2: (libidn2)idn2. Internationalized Domain Name (IDNA2008) conversion
+ @end direntry
+
+ @titlepage
+@@ -49,7 +49,7 @@
+ * Introduction:: What is Libidn2?
+ * Library Functions:: Library functions.
+ * Examples:: Demonstrate how to use the library.
+-* Invoking idn2:: Command line interface to the library.
++* idn2:: Command line interface to the library.
+
+ * Interface Index::
+ * Concept Index::
+@@ -265,7 +265,7 @@
+
+ @verbatiminclude register.c
+
+- at node Invoking idn2
++ at node idn2
+ @chapter Invoking idn2
+
+ @pindex idn2
================================================================
Index: packages/libidn2/libidn2.spec
diff -u /dev/null packages/libidn2/libidn2.spec:1.1
--- /dev/null Tue May 17 20:15:22 2011
+++ packages/libidn2/libidn2.spec Tue May 17 20:15:17 2011
@@ -0,0 +1,124 @@
+# $Revision$, $Date$
+Summary: Free software implementation of IDNA2008
+Summary(pl.UTF-8): Wolnodostępna implementacja IDNA2008
+Name: libidn2
+Version: 0.4
+Release: 1
+License: GPL v3+
+Group: Libraries
+Source0: http://alpha.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
+# Source0-md5: 17fefbe46190712467faa97827a06595
+Patch0: %{name}-info.patch
+URL: http://www.gnu.org/software/libidn/
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.10
+BuildRequires: gtk-doc >= 1.1
+BuildRequires: help2man
+BuildRequires: libtool >= 2:2.0
+BuildRequires: rpmbuild(macros) >= 1.98
+BuildRequires: texinfo >= 4.7
+Requires(post,postun): /sbin/ldconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libidn2 is a free software implementation of internationalized domain
+names (IDNA2008).
+
+%description -l pl.UTF-8
+Libidn2 to wolnodostępna implementacja specyfikacji
+umiędzynarodowionych nazw domen (IDNA2008).
+
+%package devel
+Summary: Header files for libidn2 library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libidn2
+License: LGPL v2.1+
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for libidn2 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libidn2.
+
+%package static
+Summary: Static libidn2 library
+Summary(pl.UTF-8): Statyczna biblioteka libidn2
+License: LGPL v2.1+
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libidn2 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libidn2.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4 -I gl/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-html-dir=%{_gtkdocdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# too common names
+for f in lookup register ; do
+ mv -f $RPM_BUILD_ROOT%{_bindir}/$f $RPM_BUILD_ROOT%{_bindir}/idn2-${f}
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+/sbin/ldconfig
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/idn2
+%attr(755,root,root) %{_bindir}/idn2-lookup
+%attr(755,root,root) %{_bindir}/idn2-register
+%attr(755,root,root) %{_libdir}/libidn2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libidn2.so.0
+%{_mandir}/man1/idn2.1*
+%{_infodir}/libidn2.info*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libidn2.so
+%{_libdir}/libidn2.la
+%{_includedir}/idn2.h
+%{_mandir}/man3/idn2_*.3*
+%{_gtkdocdir}/libidn2
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libidn2.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/05/17 18:15:17 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list