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