]>
Commit | Line | Data |
---|---|---|
2f4760e3 JB |
1 | Summary: Flickcurl - C library for the Flickr API |
2 | Summary(pl.UTF-8): Flickcurl - biblioteka C do API serwisu Flickr | |
718f31ae | 3 | Name: flickcurl |
2f4760e3 | 4 | Version: 1.26 |
718f31ae | 5 | Release: 1 |
2f4760e3 | 6 | License: LGPL v2.1+ or GPL v2+ or Apache v2.0 |
e190f6e1 CM |
7 | Group: Libraries |
8 | Source0: http://download.dajobe.org/flickcurl/%{name}-%{version}.tar.gz | |
2f4760e3 JB |
9 | # Source0-md5: 7013a36656400dac398748a374c9104f |
10 | URL: http://dajobe.org/ | |
11 | BuildRequires: curl-devel >= 7.10.0 | |
12 | BuildRequires: gtk-doc >= 1.3 | |
13 | BuildRequires: libraptor2-devel >= 2.0.0 | |
14 | BuildRequires: libxml2-devel >= 1:2.6.8 | |
15 | BuildRequires: pkgconfig | |
16 | Requires: curl >= 7.10.0 | |
17 | Requires: libraptor2 >= 2.0.0 | |
18 | Requires: libxml2 >= 1:2.6.8 | |
718f31ae | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
2f4760e3 | 22 | Flickcurl is a C library for the Flickr API. |
718f31ae | 23 | |
24 | %description -l pl.UTF-8 | |
2f4760e3 | 25 | Flickcurl to biblioteka C do API serwisu Flickr. |
718f31ae | 26 | |
27 | %package devel | |
28 | Summary: Flickcurl development files | |
2f4760e3 | 29 | Summary(pl.UTF-8): Pliki programistyczne biblioteki Flickcurl |
718f31ae | 30 | Group: Development/Libraries |
31 | Requires: %{name} = %{version}-%{release} | |
2f4760e3 JB |
32 | Requires: curl-devel >= 7.10.0 |
33 | Requires: libraptor2-devel >= 2.0.0 | |
34 | Requires: libxml2-devel >= 1:2.6.8 | |
718f31ae | 35 | |
36 | %description devel | |
e190f6e1 CM |
37 | This package contains the include files used to develop using |
38 | Flickcurl APIs. | |
718f31ae | 39 | |
40 | %description devel -l pl.UTF-8 | |
41 | Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem | |
42 | API Flickcurl. | |
43 | ||
44 | %package static | |
45 | Summary: The Flickcurl static libraries | |
46 | Summary(pl.UTF-8): Statyczne biblioteki Flickcurl | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | This package contains the Flickcurl static libraries. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Ten pakiet zawiera statyczne biblioteki Flickcurl. | |
55 | ||
2f4760e3 JB |
56 | %package apidocs |
57 | Summary: API documentation for Flickcurl library | |
58 | Summary(pl.UTF-8): Dokumentacja API biblioteki Flickcurl | |
59 | Group: Documentation | |
60 | ||
61 | %description apidocs | |
62 | API documentation for Flickcurl library. | |
63 | ||
64 | %description apidocs -l pl.UTF-8 | |
65 | Dokumentacja API biblioteki Flickcurl. | |
66 | ||
718f31ae | 67 | %package tools |
68 | Summary: The Flickcurl utility tools | |
69 | Summary(pl.UTF-8): Programy narzędziowe do biblioteki Flickcurl | |
2f4760e3 JB |
70 | Group: Applications/Network |
71 | Requires: %{name} = %{version}-%{release} | |
718f31ae | 72 | |
73 | %description tools | |
74 | This package contains the Flickcurl utility tools. | |
75 | ||
76 | %description tools -l pl.UTF-8 | |
77 | Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl. | |
78 | ||
79 | %prep | |
80 | %setup -q | |
81 | ||
82 | %build | |
2f4760e3 JB |
83 | %configure \ |
84 | --with-html-dir=%{_gtkdocdir} | |
718f31ae | 85 | |
86 | %{__make} | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
2f4760e3 | 90 | |
718f31ae | 91 | %{__make} install \ |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
2f4760e3 JB |
94 | # obsoleted by pkg-config |
95 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libflickcurl.la | |
718f31ae | 96 | |
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
718f31ae | 100 | %post -p /sbin/ldconfig |
101 | %postun -p /sbin/ldconfig | |
102 | ||
103 | %files | |
104 | %defattr(644,root,root,755) | |
2f4760e3 | 105 | %doc AUTHORS LICENSE.html NEWS NOTICE README.html |
718f31ae | 106 | %attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.* |
107 | %attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0 | |
108 | ||
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
2f4760e3 JB |
111 | %attr(755,root,root) %{_bindir}/flickcurl-config |
112 | %attr(755,root,root) %{_libdir}/libflickcurl.so | |
718f31ae | 113 | %{_includedir}/flickcurl.h |
2f4760e3 JB |
114 | %{_pkgconfigdir}/flickcurl.pc |
115 | %{_mandir}/man1/flickcurl-config.1* | |
718f31ae | 116 | |
117 | %files static | |
118 | %defattr(644,root,root,755) | |
119 | %{_libdir}/libflickcurl.a | |
120 | ||
2f4760e3 JB |
121 | %files apidocs |
122 | %defattr(644,root,root,755) | |
123 | %{_gtkdocdir}/flickcurl | |
124 | ||
718f31ae | 125 | %files tools |
126 | %defattr(644,root,root,755) | |
2f4760e3 JB |
127 | %attr(755,root,root) %{_bindir}/flickcurl |
128 | %attr(755,root,root) %{_bindir}/flickrdf | |
129 | %{_mandir}/man1/flickcurl.1* | |
130 | %{_mandir}/man1/flickrdf.1* |