]>
Commit | Line | Data |
---|---|---|
718f31ae | 1 | |
2 | Summary: Flickcurl is a C library for the Flickr API | |
3 | Summary(pl.UTF-8): Flickcurl is a C library for the Flickr API | |
4 | Name: flickcurl | |
e190f6e1 | 5 | Version: 1.22 |
718f31ae | 6 | Release: 1 |
e190f6e1 CM |
7 | License: GPL v2 |
8 | Group: Libraries | |
9 | Source0: http://download.dajobe.org/flickcurl/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 33106156f9a9e538b5787f92db717f5d | |
718f31ae | 11 | URL: http://dajobe.org |
12 | BuildRequires: curl-devel | |
718f31ae | 13 | BuildRequires: libraptor-devel |
e190f6e1 | 14 | BuildRequires: libxml2-devel |
718f31ae | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | ||
19 | %description -l pl.UTF-8 | |
20 | ||
21 | %package devel | |
22 | Summary: Flickcurl development files | |
23 | Summary(pl.UTF-8): Pliki programistyczne Flickcurl | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{version}-%{release} | |
26 | ||
27 | %description devel | |
e190f6e1 CM |
28 | This package contains the include files used to develop using |
29 | Flickcurl APIs. | |
718f31ae | 30 | |
31 | %description devel -l pl.UTF-8 | |
32 | Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem | |
33 | API Flickcurl. | |
34 | ||
35 | %package static | |
36 | Summary: The Flickcurl static libraries | |
37 | Summary(pl.UTF-8): Statyczne biblioteki Flickcurl | |
38 | Group: Development/Libraries | |
39 | Requires: %{name}-devel = %{version}-%{release} | |
40 | ||
41 | %description static | |
42 | This package contains the Flickcurl static libraries. | |
43 | ||
44 | %description static -l pl.UTF-8 | |
45 | Ten pakiet zawiera statyczne biblioteki Flickcurl. | |
46 | ||
47 | %package tools | |
48 | Summary: The Flickcurl utility tools | |
49 | Summary(pl.UTF-8): Programy narzędziowe do biblioteki Flickcurl | |
e190f6e1 | 50 | Group: Libraries |
718f31ae | 51 | |
52 | %description tools | |
53 | This package contains the Flickcurl utility tools. | |
54 | ||
55 | %description tools -l pl.UTF-8 | |
56 | Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | ||
61 | %build | |
62 | %configure | |
63 | ||
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.* | |
82 | %attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0 | |
83 | ||
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %attr(755,root,root) %{_bindir}/flickcurl-config | |
87 | %{_libdir}/libflickcurl.la | |
88 | %{_libdir}/libflickcurl.so | |
89 | %{_pkgconfigdir}/flickcurl.pc | |
90 | %{_includedir}/flickcurl.h | |
91 | ||
92 | %files static | |
93 | %defattr(644,root,root,755) | |
94 | %{_libdir}/libflickcurl.a | |
95 | ||
96 | %files tools | |
97 | %defattr(644,root,root,755) | |
98 | %attr(755,root,root) %{_bindir}/flickcurl | |
99 | %attr(755,root,root) %{_bindir}/flickrdf | |
100 | %{_mandir}/man1/flickcurl.1.* | |
101 | %{_mandir}/man1/flickcurl-config.1.* | |
102 | %{_mandir}/man1/flickrdf.1.* |