source: projects/specs/trunk/f/flickcurl/flickcurl-vl.spec @ 6152

Revision 6152, 3.5 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Name:           flickcurl
2Version:        1.22
3Release:        1%{?_dist_release}
4Summary:        C library for the Flickr API
5
6Group:          System Environment/Libraries
7License:        LGPLv2+ or GPLv2+ or ASL 2.0
8URL:            http://librdf.org/%{name}/
9Source0:        http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildRequires:  libxml2-devel, curl-devel, chrpath, raptor-devel
13
14Distribution: Vine Linux
15Vendor: Project Vine
16Packager: iwaim
17
18%description
19Flickcurl is a C library for the Flickr API, handling creating the
20requests, signing, token management, calling the API, marshalling
21request parameters and decoding responses. It uses libcurl to call the
22REST web service and libxml2 to manipulate the XML
23responses. Flickcurl supports 100% of the 2009-04-04 version of the
24API (see Flickcurl API coverage) including the functions for
25photo/video uploading, browsing, searching, adding and editing
26comments, groups, notes, photosets, categories, activity, blogs,
27favorites, places, tags, machine tags, institutions, pandas and
28photo/video metadata. It also includes a program flickrdf to turn
29photo metadata, tags, machine tags and places into an RDF triples
30description.
31
32%package        devel
33Summary:        Development files for %{name}
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}, libxml2-devel, curl-devel, raptor-devel
36BuildRequires:  pkgconfig
37
38%description    devel
39The %{name}-devel package contains libraries and header files for
40developing applications that use %{name}.
41
42
43%prep
44%setup -q
45
46
47%build
48%configure --disable-static
49make %{?_smp_mflags}
50
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make install DESTDIR=$RPM_BUILD_ROOT
55find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
56
57#removing rpaths with chrpath
58chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickcurl
59chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickrdf
60
61%clean
62rm -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* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22-1
92- update to 1.22
93
94* Sun Sep  4 2011 IWAI, Masaharu <iwai@alib.jp> 1.18-1
95- build for Vine Linux: based Fedora 1.18-2
96
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
Note: See TracBrowser for help on using the repository browser.