.gear/rules | 2 + .../tags/63d0857e47307cae818784be6924ddeea58e6779 | 13 +++ .gear/tags/list | 1 + configure.ac | 1 + flickcurl.spec | 99 ++++++++++++++++++++++ src/flickcurl_internal.h | 1 - 6 files changed, 116 insertions(+), 1 deletion(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..d954eec --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @name@_1_14:. +diff: @name@_1_14:. . diff --git a/.gear/tags/63d0857e47307cae818784be6924ddeea58e6779 b/.gear/tags/63d0857e47307cae818784be6924ddeea58e6779 new file mode 100644 index 0000000..2c99694 --- /dev/null +++ b/.gear/tags/63d0857e47307cae818784be6924ddeea58e6779 @@ -0,0 +1,13 @@ +object 4cbdb3ce072664e0378521b0bf1a1d801702a025 +type commit +tag flickcurl_1_14 +tagger Dave Beckett 1253476027 -0700 + +Tagged for flickcurl 1.14 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iD8DBQBKtoa7Q+ySUE9xlVoRAi1gAJ91bz7dlRWpezxtnf64Ut4LRiXfUACbBeQL +q1M0DH4V9HwYsi7wOsEc2eU= +=187a +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..ead0355 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +63d0857e47307cae818784be6924ddeea58e6779 flickcurl_1_14 diff --git a/configure.ac b/configure.ac index 67ebf97..0efb96d 100644 --- a/configure.ac +++ b/configure.ac @@ -326,6 +326,7 @@ utils/Makefile examples/Makefile docs/Makefile docs/version.xml +docs/flickcurl.1 flickcurl.rdf flickcurl.pc]) diff --git a/flickcurl.spec b/flickcurl.spec new file mode 100644 index 0000000..65d7bb8 --- /dev/null +++ b/flickcurl.spec @@ -0,0 +1,99 @@ +%set_automake_version 1.11 + +Name: flickcurl +Version: 1.14 +Release: alt1.2 +Summary: Flickcurl C library for the Flickr API +License: LGPL 2.1 / ASL 2.0 +Group: Graphics +URL: http://librdf.org/flickcurl/ +Packager: Valery Inozemtsev + +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +BuildRequires: gtk-doc libcurl-devel libxml2-devel libraptor-devel + +%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. The current +version supports the majority of the API (see Flickcurl API coverage) +including the functions for photo uploading, browsing, searching, adding +and editing comments, groups, notes, photosets, categories, tags and photo +metadata. It also includes a program flickrdf to turn photo metadata, +tags and machine tags into RDF descriptions of photso and tags. + +This package contains utility programs that use the %name library. + +%package -n lib%name +Summary: C library for the Flickr API +Group: System/Libraries + +%description -n lib%name +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. The current +version supports the majority of the API (see Flickcurl API coverage) +including the functions for photo uploading, browsing, searching, adding +and editing comments, groups, notes, photosets, categories, tags and photo +metadata. It also includes a program flickrdf to turn photo metadata, +tags and machine tags into RDF descriptions of photso and tags. + +%package -n lib%name-devel +Summary: Development files for lib%name +Group: Development/C +Requires: lib%name = %version-%release + +%description -n lib%name-devel +This package contains the developement files for the %name library. + +%prep +%setup -q +%patch -p1 + +%build +gtkdocize +%autoreconf +%configure \ + --enable-gtk-doc \ + --disable-static + +%make_build + +%install +%make DESTDIR=%buildroot install + +%files +%doc AUTHORS NEWS.html +%_bindir/flickcurl +%_bindir/flickrdf +%_man1dir/flickcurl.1* +%_man1dir/flickrdf.1* + +%files -n lib%name +%_libdir/lib%name.so.* + +%files -n lib%name-devel +%_includedir/%name.h +%_bindir/%name-config +%_libdir/lib%name.so +%_pkgconfigdir/%name.pc +%_datadir/gtk-doc/html/%name +%_man1dir/%name-config.1* + +%changelog +* Thu Jan 16 2014 Eugeny A. Rostovtsev (REAL) 1.14-alt1.2 +- Fixed build + +* Wed Aug 17 2011 Eugeny A. Rostovtsev (REAL) 1.14-alt1.1 +- Rebuilt with curl 7.21.7 + +* Sat Oct 17 2009 Valery Inozemtsev 1.14-alt1 +- 1.14 + +* Sun Sep 20 2009 Valery Inozemtsev 1.13-alt1 +- initial release + diff --git a/src/flickcurl_internal.h b/src/flickcurl_internal.h index bb50673..9faa244 100644 --- a/src/flickcurl_internal.h +++ b/src/flickcurl_internal.h @@ -24,7 +24,6 @@ #include #include -#include #include