[packages/flickcurl] - updated to 1.26, completed packaging
qboosh
qboosh at pld-linux.org
Thu Nov 20 20:35:14 CET 2014
commit 2f4760e36d72f53f8dc253ca2c8e7fdf755c9396
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 20 20:35:50 2014 +0100
- updated to 1.26, completed packaging
flickcurl.spec | 74 ++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 51 insertions(+), 23 deletions(-)
---
diff --git a/flickcurl.spec b/flickcurl.spec
index e21ca3d..34be4aa 100644
--- a/flickcurl.spec
+++ b/flickcurl.spec
@@ -1,28 +1,37 @@
-
-Summary: Flickcurl is a C library for the Flickr API
-Summary(pl.UTF-8): Flickcurl is a C library for the Flickr API
+Summary: Flickcurl - C library for the Flickr API
+Summary(pl.UTF-8): Flickcurl - biblioteka C do API serwisu Flickr
Name: flickcurl
-Version: 1.22
+Version: 1.26
Release: 1
-License: GPL v2
+License: LGPL v2.1+ or GPL v2+ or Apache v2.0
Group: Libraries
Source0: http://download.dajobe.org/flickcurl/%{name}-%{version}.tar.gz
-# Source0-md5: 33106156f9a9e538b5787f92db717f5d
-URL: http://dajobe.org
-BuildRequires: curl-devel
-BuildRequires: libraptor-devel
-BuildRequires: libxml2-devel
+# Source0-md5: 7013a36656400dac398748a374c9104f
+URL: http://dajobe.org/
+BuildRequires: curl-devel >= 7.10.0
+BuildRequires: gtk-doc >= 1.3
+BuildRequires: libraptor2-devel >= 2.0.0
+BuildRequires: libxml2-devel >= 1:2.6.8
+BuildRequires: pkgconfig
+Requires: curl >= 7.10.0
+Requires: libraptor2 >= 2.0.0
+Requires: libxml2 >= 1:2.6.8
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
+Flickcurl is a C library for the Flickr API.
%description -l pl.UTF-8
+Flickcurl to biblioteka C do API serwisu Flickr.
%package devel
Summary: Flickcurl development files
-Summary(pl.UTF-8): Pliki programistyczne Flickcurl
+Summary(pl.UTF-8): Pliki programistyczne biblioteki Flickcurl
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: curl-devel >= 7.10.0
+Requires: libraptor2-devel >= 2.0.0
+Requires: libxml2-devel >= 1:2.6.8
%description devel
This package contains the include files used to develop using
@@ -44,10 +53,22 @@ This package contains the Flickcurl static libraries.
%description static -l pl.UTF-8
Ten pakiet zawiera statyczne biblioteki Flickcurl.
+%package apidocs
+Summary: API documentation for Flickcurl library
+Summary(pl.UTF-8): Dokumentacja API biblioteki Flickcurl
+Group: Documentation
+
+%description apidocs
+API documentation for Flickcurl library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Flickcurl.
+
%package tools
Summary: The Flickcurl utility tools
Summary(pl.UTF-8): Programy narzędziowe do biblioteki Flickcurl
-Group: Libraries
+Group: Applications/Network
+Requires: %{name} = %{version}-%{release}
%description tools
This package contains the Flickcurl utility tools.
@@ -59,44 +80,51 @@ Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl.
%setup -q
%build
-%configure
+%configure \
+ --with-html-dir=%{_gtkdocdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libflickcurl.la
%clean
rm -rf $RPM_BUILD_ROOT
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
+%doc AUTHORS LICENSE.html NEWS NOTICE README.html
%attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/flickcurl-config
-%{_libdir}/libflickcurl.la
-%{_libdir}/libflickcurl.so
-%{_pkgconfigdir}/flickcurl.pc
+%attr(755,root,root) %{_bindir}/flickcurl-config
+%attr(755,root,root) %{_libdir}/libflickcurl.so
%{_includedir}/flickcurl.h
+%{_pkgconfigdir}/flickcurl.pc
+%{_mandir}/man1/flickcurl-config.1*
%files static
%defattr(644,root,root,755)
%{_libdir}/libflickcurl.a
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/flickcurl
+
%files tools
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/flickcurl
-%attr(755,root,root) %{_bindir}/flickrdf
-%{_mandir}/man1/flickcurl.1.*
-%{_mandir}/man1/flickcurl-config.1.*
-%{_mandir}/man1/flickrdf.1.*
+%attr(755,root,root) %{_bindir}/flickcurl
+%attr(755,root,root) %{_bindir}/flickrdf
+%{_mandir}/man1/flickcurl.1*
+%{_mandir}/man1/flickrdf.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flickcurl.git/commitdiff/2f4760e36d72f53f8dc253ca2c8e7fdf755c9396
More information about the pld-cvs-commit
mailing list