2024-01-05 22:27:27 +01:00
|
|
|
Name: flickcurl
|
2024-01-05 22:27:27 +01:00
|
|
|
Version: 1.26
|
2024-11-09 01:53:45 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 22:27:27 +01:00
|
|
|
Summary: Library for the Flickr API
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-11-09 01:53:45 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://librdf.org/flickcurl/
|
2024-01-05 22:27:27 +01:00
|
|
|
Source: http://download.dajobe.org/flickcurl/flickcurl-%{version}.tar.gz
|
2024-11-09 01:53:45 +01:00
|
|
|
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
|
2024-01-05 22:27:27 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-11-09 01:53:45 +01:00
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 22:27:27 +01:00
|
|
|
BuildRequires: libraptor2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-11-09 01:53:45 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 22:27:27 +01:00
|
|
|
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.
|
|
|
|
|
2024-11-09 01:53:45 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 22:27:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-11-09 01:53:45 +01:00
|
|
|
%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
|
2024-01-05 22:27:27 +01:00
|
|
|
|
|
|
|
%build
|
2024-11-09 01:53:45 +01:00
|
|
|
%configure --disable-static
|
|
|
|
|
2024-01-05 22:27:27 +01:00
|
|
|
%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
|
2024-11-09 01:53:45 +01:00
|
|
|
* Fri Nov 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-2mamba
|
|
|
|
- updated url, specfile fixes, upstream patches applied; closes #1
|
|
|
|
|
2024-01-05 22:27:27 +01:00
|
|
|
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:27:27 +01:00
|
|
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 11 2013 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 02 2012 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 21 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.22-1mamba
|
|
|
|
- package created by autospec
|