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