Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Podeiko:KDE:Release:49
lensfun
lensfun.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lensfun.spec of Package lensfun
# # spec file for package lensfun # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: lensfun Version: 0.2.7 Release: 52.1 Summary: A photographic lens database and a library for accessing it License: LGPL-3.0 Group: System/Libraries %define sonum 0 Url: http://lensfun.berlios.de/ Source0: http://download.berlios.de/lensfun/lensfun-%{version}.tar.bz2 # This patch got created via # svn diff svn://svn.berlios.de/lensfun/tags/0.2.6/data svn://svn.berlios.de/lensfun/trunk/data > lens_database_update.diff #Patch1: lens_database_update.diff BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libpng-devel BuildRequires: pkg-config BuildRequires: python BuildRequires: zlib BuildRequires: pkgconfig(glib-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics. In the past there was a effort in this direction (see http://www.epaperpress.com/ptlens/), but then author decided to take the commercial route and the database froze at the last public stage. This database was used as the basement on which lensfun database grew, thanks to PTLens author which gave his permission for this, while the code was totally rewritten from scratch (and the database was converted to a totally new, XML-based format). The lensfun library not only provides a way to read the database and search for specific things in it, but also provides a set of algorithms for correcting images based on detailed knowledge of lens properties and calibration data. Right now lensfun is designed to correct distortion, transversal (also known as lateral) chromatic aberrations, vignetting and colour contribution index of the lens. %package data Summary: Data files for %{name}/%{name}-devel Group: System/Libraries Requires: lib%{name}%{sonum} = %{version} %if %suse_version > 1130 BuildArch: noarch %endif %description data The goal of the lensfun library is to provide a open source database of photographic lenses and their characteristics. In the past there was a effort in this direction (see http://www.epaperpress.com/ptlens/), but then author decided to take the commercial route and the database froze at the last public stage. This database was used as the basement on which lensfun database grew, thanks to PTLens author which gave his permission for this, while the code was totally rewritten from scratch (and the database was converted to a totally new, XML-based format). The lensfun library not only provides a way to read the database and search for specific things in it, but also provides a set of algorithms for correcting images based on detailed knowledge of lens properties and calibration data. Right now lensfun is designed to correct distortion, transversal (also known as lateral) chromatic aberrations, vignetting and colour contribution index of the lens. %package -n lib%{name}%{sonum} Summary: Library files for %{name}/%{name}-devel Group: System/Libraries Requires: %{name}-data Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n lib%{name}%{sonum} Library files needed by the use the %{name} library/database. %package doc Summary: Documentation for %{name} Group: System/Libraries Requires: %{name}-data %description doc Documentation and manual files for the %{name} library/database. %package devel Summary: Header and library definition files for %{name} Group: Development/Libraries/C and C++ Requires: %{name}-data = %{version} Requires: lib%{name}%{sonum} = %{version} Recommends: %{name}-doc = %{version} %description devel Header and library definition files for developing applications that use the %{name} library/database. %prep %setup -q cd data #%patch1 -p0 %build # We can count on having SSE2 on x86_64 # On i%86 it is not save. We could have the sse lib in sse subdirectory in addition though. # In any case this must be independent of the build host. mkdir cmake_build cd cmake_build cmake .. \ -DBUILD_STATIC=OFF \ -DBUILD_TESTS=ON \ -DBUILD_DOC=on \ -DBUILD_FOR_SSE=off \ -DCMAKE_INSTALL_PREFIX=/usr \ %if %{_lib} == lib64 -DLIB_SUFFIX=64 \ %endif %ifarch x86_64 -DBUILD_FOR_SSE2=on %else -DBUILD_FOR_SSE2=off %endif make %{?_smp_mflags} lensfun doc %install cd cmake_build make AUTODEP=0 DESTDIR=%{?buildroot:%{buildroot}} install # too generic name rm %{buildroot}%{_bindir}/example %post -n lib%{name}%{sonum} -p /sbin/ldconfig %postun -n lib%{name}%{sonum} -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %clean rm -rf %{buildroot} %files doc %defattr(-,root,root) %doc README %doc docs/adobe-lens-profile.txt %doc docs/cc-by-sa-3.0.txt %doc docs/gpl-3.0.txt %doc docs/lgpl-3.0.txt %doc docs/mounts.txt %doc docs/lens-calibration %doc cmake_build/doc_doxygen %files data %defattr(-,root,root) %{_datadir}/%{name}/ %files -n lib%{name}%{sonum} %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_bindir}/tfun %{_bindir}/trwxml %{_includedir}/lensfun %{_libdir}/*.so %{_libdir}/pkgconfig/lensfun.pc %changelog * Fri Mar 22 2013 idonmez@suse.com - Fix build for PPC64 * Mon Mar 4 2013 salsergey@gmail.com - Update to version 0.2.7: * Some bugs leading to imprecise results when processing extreme values were fixed. * Several new lenses and camera profiles. - Revised installed documentation. - lens_database_update.diff removed because no new lenses were added to the database after 0.2.7 release. The mention of this patch in spec file remains. - lens_database_pending_update.diff removed because these chages were commited upstream. * Wed Aug 22 2012 fcrozat@suse.com - Update lens data for Nikon. - Add lens_database_pending_update.diff: pending lens data update for Canon and Samsung. * Wed Jun 27 2012 adrian@suse.de - update to version 0.2.6 - minor database updates - better integration into hugin for loading and storing lens parameters via the lensfun library - several bug fixes and stability improvements - pkgconfig got dropped - used optimization depends not on build host anymore. (This avoids crashes on ix86) * Wed Apr 25 2012 adrian@suse.de - update lens data for Sony, Olympus and Pentax * Thu Apr 19 2012 dmueller@suse.com - fix build for older distros * Tue Dec 20 2011 dmueller@suse.de - fix build on arm * Mon Nov 14 2011 adrian@suse.de - update lens database * Fri Oct 7 2011 toddrme2178@gmail.com - Added provides for obsoletes (fix for RPMLINT warning) - Cleaned up spec file formatting * Wed Aug 24 2011 adrian@suse.de - add Obsolete for package rename - update lensfun database to current state * Sun Aug 7 2011 toddrme2178@gmail.com - Switched contents of lensun to noarch lensfun-data package - Cleaned up some macros and the %%files list * Mon Jun 27 2011 toddrme2178@gmail.com - Clarified summaries and descriptions (fix for RPMLINT warnings) * Mon Jun 20 2011 coolo@novell.com - remove download_url service * Mon Jun 13 2011 fcrozat@suse.com - Add lensfun-fixcrash.patch: fix crash on malformed database (SVN) - Add lensfun-0.2.5-cpuid.patch: fix crash on cpu detection (SVN) - set GCC.LDFLAGS to avoid stripping and useless -debug* package. * Sat Apr 9 2011 meissner@suse.de - disable vectorization on ppc (not supported by lensfun yet) * Sat Jan 8 2011 adrian@suse.de - update lens database to last years additions * Wed Nov 10 2010 adrian@suse.de - update to version 0.2.5 (bug #652480) * Bugfixes in library * New TCA correction algorithm: LF_TCA_MODEL_POLY3 - Move documentation to official place * Sun Jan 17 2010 tittiatcoke@gmail.com - Initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor