Browse Source

import from Fedora

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4706 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 12 years ago
parent
commit
6fef971ead
3 changed files with 477 additions and 0 deletions
  1. 113 0
      f/flickcurl/flickcurl.spec
  2. 154 0
      l/lensfun/lensfun.spec
  3. 210 0
      r/rawstudio/rawstudio.spec

+ 113 - 0
f/flickcurl/flickcurl.spec

@@ -0,0 +1,113 @@
+Name:		flickcurl
+Version:	1.18
+Release:	2%{?dist}
+Summary:	C library for the Flickr API
+
+Group:		System Environment/Libraries
+License:	LGPLv2+ or GPLv2+ or ASL 2.0
+URL:		http://librdf.org/%{name}/
+Source0:	http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	libxml2-devel, libcurl-devel, chrpath, raptor-devel
+
+%description
+Flickcurl is a C library for the Flickr API, handling creating the
+requests, signing, token management, calling the API, marshalling
+request parameters and decoding responses. It uses libcurl to call the
+REST web service and libxml2 to manipulate the XML
+responses. Flickcurl supports 100% of the 2009-04-04 version of the
+API (see Flickcurl API coverage) including the functions for
+photo/video uploading, browsing, searching, adding and editing
+comments, groups, notes, photosets, categories, activity, blogs,
+favorites, places, tags, machine tags, institutions, pandas and
+photo/video metadata. It also includes a program flickrdf to turn
+photo metadata, tags, machine tags and places into an RDF triples
+description.
+
+%package	devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}, libxml2-devel, libcurl-devel, raptor-devel
+BuildRequires:	pkgconfig
+
+%description	devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+#removing rpaths with chrpath
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickcurl
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickrdf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING AUTHORS README NOTICE
+%doc LICENSE-2.0.txt LICENSE.html COPYING.LIB
+%doc coverage.html ChangeLog README.html NEWS.html
+%{_libdir}/*.so.*
+%{_bindir}/flickcurl
+%{_bindir}/flickrdf
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/flickrdf.1.gz
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_datadir}/gtk-doc/html/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_bindir}/flickcurl-config
+%{_mandir}/man1/%{name}-config.1.gz
+
+%changelog
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed May 05 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.18-1
+- Updated to 1.18
+
+* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.16-1
+- Updated to 1.16
+
+* Thu Dec 03 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.14-1
+- Updated to 1.14
+
+* Thu Aug 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.13-1
+- Updated to 1.13
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-3
+- Added pkgconfig as devel sub package BR
+- Fixed %%files folder *gtk-doc/html ownership
+
+* Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-2
+- Added raptor-devel require.
+
+* Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-1
+- Initial package

+ 154 - 0
l/lensfun/lensfun.spec

@@ -0,0 +1,154 @@
+
+# Fedora pkg-review: http://bugzilla.redhat.com/466764
+
+Name: lensfun
+Version: 0.2.5
+Summary: Library to rectify defects introduced by photographic lenses
+Release: 5%{?dist}
+License: LGPLv3 and CC-BY-SA
+Group: System Environment/Libraries
+URL: http://lensfun.berlios.de/
+Source0: http://download.berlios.de/lensfun/lensfun-%{version}.tar.bz2
+Patch0: lensfun-0.2.5-cpuid.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: doxygen
+BuildRequires: glib2-devel
+BuildRequires: libpng-devel
+BuildRequires: pkgconfig
+BuildRequires: python
+BuildRequires: zlib-devel
+
+%description
+The lensfun library provides an open source database of photographic lenses and
+their characteristics. It not only provides a way to read and search the
+database, but also provides a set of algorithms for correcting images based on
+detailed knowledge of lens properties. Right now lensfun is designed to correct
+distortion, transversal (also known as lateral) chromatic aberrations,
+vignetting and color contribution of a lens.
+
+%package devel
+Summary: Development toolkit for %{name}
+Group:   Development/Libraries
+License: LGPLv3
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+This package contains library and header files needed to build applications
+using lensfun.
+
+%prep
+%setup -q 
+%patch0 -p1 -b .cpuid
+
+
+%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} \
+%ifnarch %{ix86} x86_64
+  --vectorization \
+%endif
+  --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}/
+%doc %{_docdir}/%{name}-%{version}/README
+%doc %{_docdir}/%{name}-%{version}/*.txt
+# currently, nothing is covered by GPLv3 (no apps in the package), no need to
+# confuse people:
+%exclude %{_docdir}/%{name}-%{version}/gpl-3.0.txt
+%{_datadir}/lensfun/
+%{_libdir}/liblensfun.so.0*
+
+%files devel
+%defattr(-,root,root,-)
+%doc %{_docdir}/%{name}-%{version}/manual/
+%{_includedir}/lensfun.h
+%{_libdir}/liblensfun.so
+%{_libdir}/pkgconfig/lensfun.pc
+
+
+%changelog
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Sep 29 2010 jkeating - 0.2.5-4
+- Rebuilt for gcc bug 634757
+
+* Mon Sep 20 2010 Nils Philippsen <nils@redhat.com> 0.2.5-3
+- backport cpuid fixes (#631674)
+
+* Mon Jul 26 2010 Dan Horák <dan[at]danny.cz> 0.2.5-2
+- disable SSE vectorization on non x86 arches
+
+* Mon Jun 07 2010 Nils Philippsen <nils@redhat.com> 0.2.5-1
+- lensfun-0.2.5
+- add CC-BY-SA to main package license tag for lens data
+- don't ship GPLv3 text as nothing is licensed under it currently
+- mark documentation files as such
+- shorten summaries, expand package descriptions
+
+* Sun Oct 18 2009 Rex Dieter <rdieter@fedoraproject.orG> 0.2.4-1
+- lensfun-0.2.4 (#529506)
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.3-3
+- rebuild for pkgconfig deps
+
+* Mon Nov 10 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.3-2
+- -devel: Requires: pkgconfig
+
+* Mon Nov 10 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.3-1
+- lensfun-0.2.3
+- fix SOURCE Url
+- configure --target=..generic
+
+* Mon Oct 13 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.2b-3
+- BR: doxygen
+
+* Mon Oct 13 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.2b-2
+- fix subpkg deps
+
+* Sun Sep 28 2008 Rex Dieter <rdieter@fedoraproject.org> 0.2.2b-1
+- adapt for fedora
+
+* Tue Jun 24 2008 Helio Chissini de Castro <helio@mandriva.com> 0.2.2b-1mdv2009.0
++ Revision: 228769
+- Added missing buildrequires
+- import lensfun

+ 210 - 0
r/rawstudio/rawstudio.spec

@@ -0,0 +1,210 @@
+Name:           rawstudio 
+Version:        2.0
+Release:        1%{?dist}
+Summary:        Read, manipulate and convert digital camera raw images
+
+Group:          Applications/Multimedia 
+License:        GPLv2+
+URL:            http://rawstudio.org
+
+Source0:        http://rawstudio.org/files/release/%{name}-%{version}.tar.gz
+# Packaging a snapshot created with 
+# svn export -r 3521 https://rawstudio.org/svn/rawstudio/trunk/ rawstudio
+#Source0:        rawstudio.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  gtk2-devel, libxml2-devel, GConf2-devel, dbus-devel
+BuildRequires:  lcms-devel, libjpeg-devel, libtiff-devel, exiv2-devel
+BuildRequires:  flickcurl-devel, lensfun-devel, fftw-devel, libcurl-devel
+BuildRequires:  sqlite-devel, openssl-devel, gphoto2-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  intltool
+BuildRequires:  libtool
+
+
+%description
+Rawstudio is a highly specialized application for processing RAW images
+from digital cameras. It is not a fully featured image editing application.
+
+The RAW format is often recommended to get the best quality out of digital 
+camera images.  The format is specific to cameras and cannot be read by most 
+image editing applications.
+
+Rawstudio makes it possible to read and manipulate RAW images, experiment 
+with the controls to see how they affect the image, and finally export into 
+JPEG, PNG or TIF format images from most digital cameras.
+
+
+%package -n librawstudio-devel
+Summary: librawstudio development files
+Requires: librawstudio = %{version}-%{release}
+
+%description -n librawstudio-devel
+Development files for rawstudio backend library
+
+
+%package -n librawstudio
+Summary: Rawstudio backend library
+
+%description -n librawstudio
+Rawstudio backend library
+
+
+%prep
+%setup -q
+
+
+%build
+#./autogen.sh
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
+# Remove useless files
+find %{buildroot} -name '*.la' -delete
+
+# Fix desktop file warning
+# Note: the Encoding tag seems to be deprecated in desktop entry specs v1.0
+#       so this has probably to go away in the future
+echo "Encoding=UTF-8" >> ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
+
+desktop-file-install --vendor fedora                            \
+        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
+        --remove-category Application                           \
+        --delete-original                                       \
+        ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+update-desktop-database &> /dev/null ||:
+
+%postun
+update-desktop-database &> /dev/null ||:
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README NEWS COPYING AUTHORS
+%{_bindir}/rawstudio
+%{_datadir}/rawstudio
+%{_datadir}/rawspeed
+%{_datadir}/pixmaps/rawstudio
+%{_datadir}/applications/fedora-rawstudio.desktop
+%{_datadir}/icons/rawstudio.png
+
+%files -n librawstudio
+%{_libdir}/librawstudio-2.0.so.*
+
+%files -n librawstudio-devel
+%{_includedir}/rawstudio-2.0
+%{_libdir}/librawstudio-2.0.so
+%{_libdir}/pkgconfig/rawstudio-2.0.pc
+
+%changelog
+* Fri Apr  8 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-1
+- Update to final release
+- remove upstreamed patch
+
+* Sat Mar 26 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-0.1.beta1
+- Update to released beta
+- Split librawstudio library in own package
+
+* Mon Mar 14 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-10
+- update to newer snapshot, another fixed crash
+
+* Mon Feb 21 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-9
+- update to newer snapshot, includes fixes for #635964 and #636919
+- remove upstreamed patch, add new one to remove -Werror
+- require gphoto2
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8.20100907svn3521
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7.20100907svn3521
+- rebuild (exiv2)
+
+* Tue Sep  8 2010 Gianluca Sforna <giallu gmail com>
+- Fix BuildRequires
+- Add updated patch for X11 link issue
+
+* Tue Sep  7 2010 Gianluca Sforna <giallu gmail com>
+- move to a snapshot
+- drop upstreamed patches
+- add find-lang
+- remove .la files
+- disable static library build
+
+* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-5 
+- rebuild (exiv2)
+
+* Sat Feb 13 2010 Gianluca Sforna <giallu gmail com> - 1.2-4
+- Add explicit link to libX11 (#564638)
+
+* Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-3 
+- rebuild (exiv2)
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Apr 10 2009 Gianluca Sforna <giallu gmail com> - 1.2-1
+- New upstream release
+
+* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
+- Fix build with newer glibc
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-2 
+- respin (eviv2)
+
+* Mon Oct 13 2008 Gianluca Sforna <giallu gmail com> - 1.1.1-1
+- new upstream release
+
+* Tue Sep 16 2008 Gianluca Sforna <giallu gmail com> - 1.1-1
+- new upstream release
+
+* Thu May  1 2008 Gianluca Sforna <giallu gmail com> - 1.0-1
+- new upstream release
+- drop upstreamed patch
+- slightly improved summary
+
+* Tue Feb 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-2
+- rebuild with gcc 4.3
+
+* Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
+- New upstream release
+- Improved package description
+- Add fix for PPC build
+
+* Sun Aug 19 2007 Gianluca Sforna <giallu gmail com> 0.6-1
+- New upstream release
+- Updated License field
+- Include new pixmaps directory
+
+* Wed Feb 21 2007 Gianluca Sforna <giallu gmail com> 0.5.1-1
+- New upstream release
+- Fix desktop-file-install warnings
+
+* Tue Feb 06 2007 Gianluca Sforna <giallu gmail com> 0.5-1
+- new upstream version
+- add libtiff-devel BR
+- drop upstreamed patch
+- drop dcraw runtime Require
+
+* Wed Sep 27 2006 Gianluca Sforna <giallu gmail com> 0.4.1-1
+- new upstream version
+- Add DESTDIR patch (and BR: automake)
+- New .desktop file and icon
+
+* Fri Jul 28 2006 Gianluca Sforna <giallu gmail com> 0.3-1
+- Initial package. Adapted from fedora-rpmdevtools template.