1 | Name: flickcurl |
---|
2 | Version: 1.18 |
---|
3 | Release: 1%{?_dist_release} |
---|
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 | |
---|
12 | BuildRequires: libxml2-devel, curl-devel, chrpath, raptor-devel |
---|
13 | |
---|
14 | Distribution: Vine Linux |
---|
15 | Vendor: Project Vine |
---|
16 | Packager: iwaim |
---|
17 | |
---|
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 |
---|
35 | Requires: %{name} = %{version}-%{release}, libxml2-devel, curl-devel, raptor-devel |
---|
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 |
---|
91 | * Sun Sep 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.18-1 |
---|
92 | - build for Vine Linux: based Fedora 1.18-2 |
---|
93 | |
---|
94 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
96 | |
---|
97 | * Wed May 05 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.18-1 |
---|
98 | - Updated to 1.18 |
---|
99 | |
---|
100 | * Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.16-1 |
---|
101 | - Updated to 1.16 |
---|
102 | |
---|
103 | * Thu Dec 03 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.14-1 |
---|
104 | - Updated to 1.14 |
---|
105 | |
---|
106 | * Thu Aug 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.13-1 |
---|
107 | - Updated to 1.13 |
---|
108 | |
---|
109 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
111 | |
---|
112 | * Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-3 |
---|
113 | - Added pkgconfig as devel sub package BR |
---|
114 | - Fixed %%files folder *gtk-doc/html ownership |
---|
115 | |
---|
116 | * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-2 |
---|
117 | - Added raptor-devel require. |
---|
118 | |
---|
119 | * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-1 |
---|
120 | - Initial package |
---|