[packages/libisocodes] - new

qboosh qboosh at pld-linux.org
Fri Apr 4 18:53:43 CEST 2014

commit af89a94e31290ce7b67301a4da5240c59c3ec247
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 4 18:55:09 2014 +0200

    - new

 libisocodes.spec | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 124 insertions(+)
diff --git a/libisocodes.spec b/libisocodes.spec
new file mode 100644
index 0000000..c235a55
--- /dev/null
+++ b/libisocodes.spec
@@ -0,0 +1,124 @@
+Summary:	Library to access iso-codes data and translations
+Summary(pl.UTF-8):	Biblioteka dostępu do danych i tłumaczeń iso-codes
+Name:		libisocodes
+Version:	1.1
+Release:	1
+License:	GPL v3+
+Group:		Libraries
+Source0:	http://pkg-isocodes.alioth.debian.org/downloads/%{name}-%{version}.tar.xz
+# Source0-md5:	ca91a38e8b5ecef2871ebaae53978cb5
+URL:		http://pkg-isocodes.alioth.debian.org/
+BuildRequires:	gettext-devel >= 0.18
+BuildRequires:	glib2-devel >= 2.0
+BuildRequires:	libgee0.6-devel >= 0.6
+BuildRequires:	libxml2-devel >= 2.0
+BuildRequires:	pkgconfig
+BuildRequires:	vala >= 2:0.16
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+This library can be used to easily access XML data of the iso-codes
+package. It will provide an abstraction layer to handle both the
+version 3 and the upcoming version 4 of iso-codes. Moreover, all
+available translations can be used as well.
+This library makes use of the GObject introspection features, so that
+it is accessible from a variety of programming languages, for example
+C, Vala, Ruby, Python, Perl, Lua, JavaScript, PHP and many more.
+%description -l pl.UTF-8
+Ta biblioteka pozwala na łatwy dostęp do danych XML pakietu iso-codes.
+Zapewnia warstwę abstrakcji do obsługi wersji 3, a także nadchodzącej
+wersji 4 pakietu iso-codes. Co więcej, można używać wszystkich
+dostępnych tłumaczeń.
+Biblioteka wykorzystuje możliwości GObject introspection, dzięki czemu
+jest dostępna z wielu języków programowania, jak C, Vala, Ruby,
+Python, Perl, Lua, JavaScript, PHP i inne.
+%package devel
+Summary:	Header files for libisocodes library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libisocodes
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	glib2-devel >= 2.0
+Requires:	libgee0.6-devel >= 0.6
+Requires:	libxml2-devel >= 2.0
+%description devel
+Header files for libisocodes library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libisocodes.
+%package static
+Summary:	Static libisocodes library
+Summary(pl.UTF-8):	Statyczna biblioteka libisocodes
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static libisocodes library.
+%description static -l pl.UTF-8
+Statyczna biblioteka libisocodes.
+%package -n vala-libisocodes
+Summary:	libisocodes API for Vala language
+Summary(pl.UTF-8):	API libisocodes dla języka Vala
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description -n vala-libisocodes
+libisocodes API for Vala language.
+%description -n vala-libisocodes -l pl.UTF-8
+API libisocodes dla języka Vala.
+%setup -q
+%configure \
+	--disable-silent-rules
+%{__make} install \
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+%find_lang %{name}
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%files -f %{name}.lang
+%doc ChangeLog README
+%attr(755,root,root) %{_libdir}/libisocodes.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libisocodes.so.1
+%files devel
+%attr(755,root,root) %{_libdir}/libisocodes.so
+%files static
+%files -n vala-libisocodes

---- gitweb:


More information about the pld-cvs-commit mailing list