Name: flickcurl Version: 1.26 Release: 2mamba Summary: Library for the Flickr API Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://librdf.org/flickcurl/ Source: http://download.dajobe.org/flickcurl/flickcurl-%{version}.tar.gz Patch0: flickcurl-1.26-upstream-fix-off-by-one.patch Patch1: flickcurl-1.26-upstream-fix-doublefree.patch Patch2: flickcurl-1.26-upstream-fix-tokeninit.patch Patch3: flickcurl-1.26-upstream-fixargparsing.patch Patch4: flickcurl-1.26-gcc-14.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcurl-devel BuildRequires: libicu-devel BuildRequires: liblzma-devel BuildRequires: libraptor2-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Flickcurl is a C library for the Flickr API, handling creating the requests, signing, token management, calling the API, marshalling request parameters and decoding responses. It uses libcurl to call the REST web service and libxml2 to manipulate the XML responses. Flickcurl supports all of the API including the functions for photo/video uploading, browsing, searching, adding and editing comments, groups, notes, photosets, categories, activity, blogs, favorites, places, tags, machine tags, institutions, pandas and photo/video metadata. It also includes a program flickrdf to turn photo metadata, tags, machine tags and places into an RDF triples description. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %debug_package %prep %setup -q %patch 0 -p1 -b .upstream-fix-off-by-one %patch 1 -p1 -b .upstream-fix-doublefree %patch 2 -p1 -b .upstream-fix-tokeninit %patch 3 -p1 -b .upstream-fixargparsing %patch 4 -p1 -b .gcc-14 %build %configure --disable-static %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/flickcurl %{_bindir}/flickrdf %{_mandir}/man1/flickcurl.* %{_mandir}/man1/flickrdf.* %doc AUTHORS COPYING COPYING.LIB %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libflickcurl.so.* %files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/flickcurl-config %{_includedir}/flickcurl.h %{_libdir}/libflickcurl.so %{_libdir}/pkgconfig/flickcurl.pc %{_mandir}/man1/flickcurl-config.* %doc ChangeLog NEWS README README.html %files apidocs %defattr(-,root,root) %{_datadir}/gtk-doc/html/%{name} %changelog * Fri Nov 08 2024 Silvan Calarco 1.26-2mamba - updated url, specfile fixes, upstream patches applied; closes #1 * Fri Aug 22 2014 Automatic Build System 1.26-1mamba - automatic version update by autodist * Thu Sep 05 2013 Automatic Build System 1.25-1mamba - automatic update by autodist * Thu Apr 11 2013 Automatic Build System 1.24-1mamba - automatic version update by autodist * Sun Sep 02 2012 Automatic Build System 1.23-1mamba - automatic version update by autodist * Sat Jan 21 2012 Davide Madrisan 1.22-1mamba - package created by autospec