]> git.pld-linux.org Git - packages/flickcurl.git/blob - flickcurl.spec
- unconditional noarch subpackages
[packages/flickcurl.git] / flickcurl.spec
1 Summary:        Flickcurl - C library for the Flickr API
2 Summary(pl.UTF-8):      Flickcurl - biblioteka C do API serwisu Flickr
3 Name:           flickcurl
4 Version:        1.26
5 Release:        3
6 License:        LGPL v2.1+ or GPL v2+ or Apache v2.0
7 Group:          Libraries
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)
23
24 %description
25 Flickcurl is a C library for the Flickr API.
26
27 %description -l pl.UTF-8
28 Flickcurl to biblioteka C do API serwisu Flickr.
29
30 %package devel
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
38
39 %description devel
40 This package contains the include files used to develop using
41 Flickcurl APIs.
42
43 %description devel -l pl.UTF-8
44 Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem
45 API Flickcurl.
46
47 %package static
48 Summary:        The Flickcurl static libraries
49 Summary(pl.UTF-8):      Statyczne biblioteki Flickcurl
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 This package contains the Flickcurl static libraries.
55
56 %description static -l pl.UTF-8
57 Ten pakiet zawiera statyczne biblioteki Flickcurl.
58
59 %package apidocs
60 Summary:        API documentation for Flickcurl library
61 Summary(pl.UTF-8):      Dokumentacja API biblioteki Flickcurl
62 Group:          Documentation
63 BuildArch:      noarch
64
65 %description apidocs
66 API documentation for Flickcurl library.
67
68 %description apidocs -l pl.UTF-8
69 Dokumentacja API biblioteki Flickcurl.
70
71 %package tools
72 Summary:        The Flickcurl utility tools
73 Summary(pl.UTF-8):      Programy narzędziowe do biblioteki Flickcurl
74 Group:          Applications/Network
75 Requires:       %{name} = %{version}-%{release}
76
77 %description tools
78 This package contains the Flickcurl utility tools.
79
80 %description tools -l pl.UTF-8
81 Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl.
82
83 %prep
84 %setup -q
85
86 %build
87 %{__libtoolize}
88 %{__aclocal} -I build
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 %configure \
93         --with-html-dir=%{_gtkdocdir}
94
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT
102
103 # obsoleted by pkg-config
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libflickcurl.la
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post   -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
111
112 %files
113 %defattr(644,root,root,755)
114 %doc AUTHORS LICENSE.html NEWS NOTICE README.html
115 %attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/flickcurl-config
121 %attr(755,root,root) %{_libdir}/libflickcurl.so
122 %{_includedir}/flickcurl.h
123 %{_pkgconfigdir}/flickcurl.pc
124 %{_mandir}/man1/flickcurl-config.1*
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libflickcurl.a
129
130 %files apidocs
131 %defattr(644,root,root,755)
132 %{_gtkdocdir}/flickcurl
133
134 %files tools
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_bindir}/flickcurl
137 %attr(755,root,root) %{_bindir}/flickrdf
138 %{_mandir}/man1/flickcurl.1*
139 %{_mandir}/man1/flickrdf.1*
This page took 0.031345 seconds and 4 git commands to generate.