]> git.pld-linux.org Git - packages/flickcurl.git/commitdiff
- updated to 1.26, completed packaging auto/th/flickcurl-1.26-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Nov 2014 19:35:50 +0000 (20:35 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Nov 2014 19:35:50 +0000 (20:35 +0100)
flickcurl.spec

index e21ca3deb898b2dadc6ed1df9d366b3cf85dd0c6..34be4aa2f38c421fbaa37bbdc5ec933eda392caa 100644 (file)
@@ -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*
This page took 0.063841 seconds and 4 git commands to generate.