SPECS: libiptcdata.spec - updated to 1.0.1 - package python wrapper

qboosh qboosh at pld-linux.org
Wed Apr 4 14:16:51 CEST 2007


Author: qboosh                       Date: Wed Apr  4 12:16:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.1
- package python wrapper

---- Files affected:
SPECS:
   libiptcdata.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/libiptcdata.spec
diff -u SPECS/libiptcdata.spec:1.4 SPECS/libiptcdata.spec:1.5
--- SPECS/libiptcdata.spec:1.4	Tue Feb 13 07:46:51 2007
+++ SPECS/libiptcdata.spec	Wed Apr  4 14:16:44 2007
@@ -2,17 +2,19 @@
 Summary:	Library for IPTC metadata manipulation
 Summary(pl.UTF-8):	Biblioteka do manipulacji metadanymi IPTC
 Name:		libiptcdata
-Version:	0.2.1
+Version:	1.0.1
 Release:	1
-License:	GPL v2
+License:	LGPL v2+
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libiptcdata/%{name}-%{version}.tar.gz
-# Source0-md5:	2df9620f8c08aba4ccbe434032ff320d
+# Source0-md5:	512aa266d4790da26dbab4c5873c7e92
 URL:		http://libiptcdata.sourceforge.net/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	gtk-doc
 BuildRequires:	libtool
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,7 +31,7 @@
 zapisanymi w plikach multimedialnych jak np. obrazy. Metadane te mogą
 zawierać tytuł i słowa kluczowe, często używane przez popularne
 programy zarządzające kolekcjami zdjęć. Biblioteka dostarcza procedury
-do parsowania, oglądania, modyfikowania i zapisywania metadanych.
+do analizy, oglądania, modyfikowania i zapisywania metadanych.
 
 %package devel
 Summary:	Header files for libiptcdata library
@@ -55,6 +57,19 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka libiptcdata.
 
+%package -n python-iptcdata
+Summary:	Python wrapper for libiptcdata
+Summary(pl.UTF-8):	Wiązanie Pythona do libiptcdata
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq	python-libs
+
+%description -n python-iptcdata
+Python wrapper for libiptcdata.
+
+%description -n python-iptcdata -l pl.UTF-8
+Wiązanie Pythona do libiptcdata.
+
 %prep
 %setup -q
 
@@ -66,6 +81,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	--enable-python \
+	--enable-static \
 	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
@@ -75,6 +92,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# libiptcdata and iptc domains (no translations yet)
+#find_lang %{name} --all-name
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/iptcdata.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -82,22 +104,28 @@
 %postun	-p /sbin/ldconfig
 
 %files
+# -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_bindir}/iptc
+%attr(755,root,root) %{_libdir}/libiptcdata.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libiptcdata.so
+%{_libdir}/libiptcdata.la
 %{_includedir}/libiptcdata
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/libiptcdata.pc
 %{_gtkdocdir}/libiptcdata
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libiptcdata.a
+
+%files -n python-iptcdata
+%defattr(644,root,root,755)
+%doc python/README
+%attr(755,root,root) %{py_sitedir}/iptcdata.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +133,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/04/04 12:16:44  qboosh
+- updated to 1.0.1
+- package python wrapper
+
 Revision 1.4  2007/02/13 06:46:51  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libiptcdata.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list