From 718f31ae518484b00d0a1b04b7ff22dcbf312317 Mon Sep 17 00:00:00 2001 From: alucard Date: Sat, 23 Apr 2011 21:03:39 +0000 Subject: [PATCH 1/1] - initial Changed files: flickcurl.spec -> 1.1 --- flickcurl.spec | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 flickcurl.spec diff --git a/flickcurl.spec b/flickcurl.spec new file mode 100644 index 0000000..d66009f --- /dev/null +++ b/flickcurl.spec @@ -0,0 +1,102 @@ + +Summary: Flickcurl is a C library for the Flickr API +Summary(pl.UTF-8): Flickcurl is a C library for the Flickr API +Name: flickcurl +Version: 1.21 +Release: 1 +License: GPLv2 +Group: Administration/System +Source0: http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: d4d364231505dc22a6af42be7bc85edf +URL: http://dajobe.org +BuildRequires: curl-devel +BuildRequires: libxml2-devel +BuildRequires: libraptor-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl.UTF-8 + +%package devel +Summary: Flickcurl development files +Summary(pl.UTF-8): Pliki programistyczne Flickcurl +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the include files used to develop using Flickcurl +APIs. + +%description devel -l pl.UTF-8 +Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem +API Flickcurl. + +%package static +Summary: The Flickcurl static libraries +Summary(pl.UTF-8): Statyczne biblioteki Flickcurl +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +This package contains the Flickcurl static libraries. + +%description static -l pl.UTF-8 +Ten pakiet zawiera statyczne biblioteki Flickcurl. + +%package tools +Summary: The Flickcurl utility tools +Summary(pl.UTF-8): Programy narzędziowe do biblioteki Flickcurl +Group: Network/Utilities + +%description tools +This package contains the Flickcurl utility tools. + +%description tools -l pl.UTF-8 +Ten pakiet zawiera programy narzędziowe do biblioteki Flickcurl. + +%prep +%setup -q + +%build +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libflickcurl.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libflickcurl.so.0 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/flickcurl-config +%{_libdir}/libflickcurl.la +%{_libdir}/libflickcurl.so +%{_pkgconfigdir}/flickcurl.pc +%{_includedir}/flickcurl.h + +%files static +%defattr(644,root,root,755) +%{_libdir}/libflickcurl.a + +%files tools +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/flickcurl +%attr(755,root,root) %{_bindir}/flickrdf +%{_mandir}/man1/flickcurl.1.* +%{_mandir}/man1/flickcurl-config.1.* +%{_mandir}/man1/flickrdf.1.* -- 2.43.0