[4706] | 1 | Name: flickcurl |
---|
[6152] | 2 | Version: 1.22 |
---|
[4707] | 3 | Release: 1%{?_dist_release} |
---|
[4706] | 4 | Summary: C library for the Flickr API |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: LGPLv2+ or GPLv2+ or ASL 2.0 |
---|
| 8 | URL: http://librdf.org/%{name}/ |
---|
| 9 | Source0: http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 11 | |
---|
[4707] | 12 | BuildRequires: libxml2-devel, curl-devel, chrpath, raptor-devel |
---|
[4706] | 13 | |
---|
[4707] | 14 | Distribution: Vine Linux |
---|
| 15 | Vendor: Project Vine |
---|
| 16 | Packager: iwaim |
---|
| 17 | |
---|
[4706] | 18 | %description |
---|
| 19 | Flickcurl is a C library for the Flickr API, handling creating the |
---|
| 20 | requests, signing, token management, calling the API, marshalling |
---|
| 21 | request parameters and decoding responses. It uses libcurl to call the |
---|
| 22 | REST web service and libxml2 to manipulate the XML |
---|
| 23 | responses. Flickcurl supports 100% of the 2009-04-04 version of the |
---|
| 24 | API (see Flickcurl API coverage) including the functions for |
---|
| 25 | photo/video uploading, browsing, searching, adding and editing |
---|
| 26 | comments, groups, notes, photosets, categories, activity, blogs, |
---|
| 27 | favorites, places, tags, machine tags, institutions, pandas and |
---|
| 28 | photo/video metadata. It also includes a program flickrdf to turn |
---|
| 29 | photo metadata, tags, machine tags and places into an RDF triples |
---|
| 30 | description. |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development files for %{name} |
---|
| 34 | Group: Development/Libraries |
---|
[4707] | 35 | Requires: %{name} = %{version}-%{release}, libxml2-devel, curl-devel, raptor-devel |
---|
[4706] | 36 | BuildRequires: pkgconfig |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | The %{name}-devel package contains libraries and header files for |
---|
| 40 | developing applications that use %{name}. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-static |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 55 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 56 | |
---|
| 57 | #removing rpaths with chrpath |
---|
| 58 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickcurl |
---|
| 59 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickrdf |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %post -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %defattr(-,root,root,-) |
---|
| 72 | %doc COPYING AUTHORS README NOTICE |
---|
| 73 | %doc LICENSE-2.0.txt LICENSE.html COPYING.LIB |
---|
| 74 | %doc coverage.html ChangeLog README.html NEWS.html |
---|
| 75 | %{_libdir}/*.so.* |
---|
| 76 | %{_bindir}/flickcurl |
---|
| 77 | %{_bindir}/flickrdf |
---|
| 78 | %{_mandir}/man1/%{name}.1.gz |
---|
| 79 | %{_mandir}/man1/flickrdf.1.gz |
---|
| 80 | |
---|
| 81 | %files devel |
---|
| 82 | %defattr(-,root,root,-) |
---|
| 83 | %{_includedir}/* |
---|
| 84 | %{_datadir}/gtk-doc/html/* |
---|
| 85 | %{_libdir}/*.so |
---|
| 86 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 87 | %{_bindir}/flickcurl-config |
---|
| 88 | %{_mandir}/man1/%{name}-config.1.gz |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[6152] | 91 | * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22-1 |
---|
| 92 | - update to 1.22 |
---|
| 93 | |
---|
[4707] | 94 | * Sun Sep 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.18-1 |
---|
| 95 | - build for Vine Linux: based Fedora 1.18-2 |
---|
| 96 | |
---|
[4706] | 97 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2 |
---|
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 99 | |
---|
| 100 | * Wed May 05 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.18-1 |
---|
| 101 | - Updated to 1.18 |
---|
| 102 | |
---|
| 103 | * Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.16-1 |
---|
| 104 | - Updated to 1.16 |
---|
| 105 | |
---|
| 106 | * Thu Dec 03 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.14-1 |
---|
| 107 | - Updated to 1.14 |
---|
| 108 | |
---|
| 109 | * Thu Aug 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.13-1 |
---|
| 110 | - Updated to 1.13 |
---|
| 111 | |
---|
| 112 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4 |
---|
| 113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 114 | |
---|
| 115 | * Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-3 |
---|
| 116 | - Added pkgconfig as devel sub package BR |
---|
| 117 | - Fixed %%files folder *gtk-doc/html ownership |
---|
| 118 | |
---|
| 119 | * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-2 |
---|
| 120 | - Added raptor-devel require. |
---|
| 121 | |
---|
| 122 | * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-1 |
---|
| 123 | - Initial package |
---|