1 Summary: Flickcurl - C library for the Flickr API
2 Summary(pl.UTF-8): Flickcurl - biblioteka C do API serwisu Flickr
6 License: LGPL v2.1+ or GPL v2+ or Apache v2.0
8 Source0: http://download.dajobe.org/flickcurl/%{name}-%{version}.tar.gz
9 # Source0-md5: 7013a36656400dac398748a374c9104f
10 URL: http://dajobe.org/
11 BuildRequires: autoconf >= 2.68
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: curl-devel >= 7.10.0
14 BuildRequires: gtk-doc >= 1.3
15 BuildRequires: libraptor2-devel >= 2.0.0
16 BuildRequires: libtool >= 2:2
17 BuildRequires: libxml2-devel >= 1:2.6.8
18 BuildRequires: pkgconfig
19 Requires: curl >= 7.10.0
20 Requires: libraptor2 >= 2.0.0
21 Requires: libxml2 >= 1:2.6.8
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Flickcurl is a C library for the Flickr API.
27 %description -l pl.UTF-8
28 Flickcurl to biblioteka C do API serwisu Flickr.
31 Summary: Flickcurl development files
32 Summary(pl.UTF-8): Pliki programistyczne biblioteki Flickcurl
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: curl-devel >= 7.10.0
36 Requires: libraptor2-devel >= 2.0.0
37 Requires: libxml2-devel >= 1:2.6.8
40 This package contains the include files used to develop using
43 %description devel -l pl.UTF-8
44 Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem
48 Summary: The Flickcurl static libraries
49 Summary(pl.UTF-8): Statyczne biblioteki Flickcurl
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 This package contains the Flickcurl static libraries.
56 %description static -l pl.UTF-8
57 Ten pakiet zawiera statyczne biblioteki Flickcurl.
60 Summary: API documentation for Flickcurl library
61 Summary(pl.UTF-8): Dokumentacja API biblioteki Flickcurl
63 %if "%{_rpmversion}" >= "5"
68 API documentation for Flickcurl library.
70 %description apidocs -l pl.UTF-8
71 Dokumentacja API biblioteki Flickcurl.
74 Summary: The Flickcurl utility tools
75 Summary(pl.UTF-8): Programy narzędziowe do biblioteki Flickcurl
76 Group: Applications/Network
77 Requires: %{name} = %{version}-%{release}
80 This package contains the Flickcurl utility tools.
82 %description tools -l pl.UTF-8
83 Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl.
95 --with-html-dir=%{_gtkdocdir}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 # obsoleted by pkg-config
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libflickcurl.la
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS LICENSE.html NEWS NOTICE README.html
117 %attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/flickcurl-config
123 %attr(755,root,root) %{_libdir}/libflickcurl.so
124 %{_includedir}/flickcurl.h
125 %{_pkgconfigdir}/flickcurl.pc
126 %{_mandir}/man1/flickcurl-config.1*
129 %defattr(644,root,root,755)
130 %{_libdir}/libflickcurl.a
133 %defattr(644,root,root,755)
134 %{_gtkdocdir}/flickcurl
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_bindir}/flickcurl
139 %attr(755,root,root) %{_bindir}/flickrdf
140 %{_mandir}/man1/flickcurl.1*
141 %{_mandir}/man1/flickrdf.1*