diff --git a/.cvsignore b/.cvsignore index e69de29..27f635f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lensfun-0.2.3.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..355f726 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +lensfun-0_2_3-2:HEAD:lensfun-0.2.3-2.src.rpm:1226338938 diff --git a/lensfun.spec b/lensfun.spec new file mode 100644 index 0000000..19c4f1f --- /dev/null +++ b/lensfun.spec @@ -0,0 +1,107 @@ + +# Fedora pkg-review: http://bugzilla.redhat.com/466764 + +Name: lensfun +Version: 0.2.3 +Summary: A library to rectify the defects introduced by your photographic equipment +Release: 2%{?dist} +License: LGPLv3 +Group: System Environment/Libraries +URL: http://lensfun.berlios.de/ +Source0: http://download.berlios.de/lensfun/lensfun-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: doxygen +BuildRequires: glib2-devel +BuildRequires: libpng-devel +BuildRequires: python +BuildRequires: zlib-devel + +%description +%{summary}. + +%package devel +Summary: Development tools for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +%description devel +%{summary}. + + +%prep +%setup -q + + +%build +# We can't use macro configure +./configure \ + --cflags="${CFLAGS:-%optflags}" \ + --cxxflags="${CXXFLAGS:-%optflags}" \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --sysconfdir=%{_sysconfdir} \ + --datadir=%{_datadir}/lensfun \ + --libdir=%{_libdir} \ + --includedir=%{_includedir} \ + --libexecdir=%{_libexecdir} \ + --target=..generic + +# set GCC.LDFLAGS to avoid stripping and useless -debuginfo +make AUTODEP=0 %{?_smp_mflags} lensfun manual \ + V=1 \ + GCC.LDFLAGS.release="" + + +%install +rm -rf %{buildroot} +make AUTODEP=0 INSTALL_PREFIX=%{buildroot} install + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%dir %{_docdir}/%{name}-%{version}/ +%{_docdir}/%{name}-%{version}/README +%{_docdir}/%{name}-%{version}/*.txt +%{_datadir}/lensfun/ +%{_libdir}/lib*.so.* + +%files devel +%defattr(-,root,root,-) +%{_docdir}/%{name}-%{version}/manual/ +%{_includedir}/* +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/lensfun.pc + + +%changelog +* Mon Nov 10 2008 Rex Dieter 0.2.3-2 +- -devel: Requires: pkgconfig + +* Mon Nov 10 2008 Rex Dieter 0.2.3-1 +- lensfun-0.2.3 +- fix SOURCE Url +- configure --target=..generic + +* Mon Oct 13 2008 Rex Dieter 0.2.2b-3 +- BR: doxygen + +* Mon Oct 13 2008 Rex Dieter 0.2.2b-2 +- fix subpkg deps + +* Sun Sep 28 2008 Rex Dieter 0.2.2b-1 +- adapt for fedora + +* Tue Jun 24 2008 Helio Chissini de Castro 0.2.2b-1mdv2009.0 ++ Revision: 228769 +- Added missing buildrequires +- import lensfun diff --git a/sources b/sources index e69de29..5c1e8ac 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c5c04be4f53e3eef450ff4948d8f65b3 lensfun-0.2.3.tar.bz2