Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-lensfun
mingw64-lensfun.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-lensfun.spec of Package mingw64-lensfun
# # spec file for package mingw64-lensfun # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %_mingw64_package_header_debug Name: mingw64-lensfun Version: 0.3.1 Release: 0 Summary: A photographic lens database and a library for accessing it License: LGPL-3.0-only Group: Development/Libraries/C and C++ URL: http://lensfun.sf.net/ Source: http://downloads.sf.net/lensfun/lensfun-%{version}.tar.gz Patch1: lens-not-fun.diff BuildRequires: mingw64-cross-cmake BuildRequires: doxygen BuildRequires: mingw64(pkg:glib-2.0) BuildRequires: mingw64(pkg:libpng) BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-cross-pkg-config BuildRequires: python3 BuildRequires: python3-docutils #!BuildIgnore: post-build-checks BuildArch: noarch %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 %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 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++ %description devel Header and library definition files for developing applications that use the %{name} library/database. %package -n mingw64-liblensfun Summary: Library files for lensfun Group: System/Libraries Requires: %{name}-data %description -n mingw64-liblensfun Library files needed by the use the %{name} library/database. %_mingw64_debug_package %prep %setup -q -n lensfun-%{version} %patch -P 1 -p1 %build echo 'HTML_TIMESTAMP=NO' >> docs/doxyfile.in.cmake # We can count on having SSE2 on x86_64 / cannot count on SSE2 on i586 %_mingw64_cmake \ -DBUILD_STATIC=OFF \ -DBUILD_TESTS=ON \ -DBUILD_DOC=on \ -DBUILD_FOR_SSE=off \ -DCMAKE_INSTALL_PREFIX="%{_mingw64_prefix}" \ -DBUILD_FOR_SSE2=off # -DDOCDIR=%{_defaultdocdir}/%name \ %_mingw64_cmake_build lensfun doc %install %_mingw64_cmake_install # fix man path mv "%{buildroot}/%{_mingw64_prefix}/man" "%{buildroot}/%{_mingw64_mandir}" # drop test cases, we should run them here instead rm -rf %{buildroot}/%{_mingw64_datadir}/lensfun/tests %files doc %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 %{_mingw64_docdir}/lensfun*/ %files data %{_mingw64_datadir}/lensfun/ %files -n mingw64-liblensfun %{_mingw64_bindir}/liblensfun.dll %files devel %{_mingw64_includedir}/regex/ %{_mingw64_includedir}/lensfun/ %{_mingw64_libdir}/liblensfun.dll.a %{_mingw64_libdir}/libtre_regex.a %{_mingw64_libdir}/pkgconfig/*.pc %{_mingw64_bindir}/g-lensfun-update-data %{_mingw64_bindir}/lensfun-add-adapter %{_mingw64_bindir}/lensfun-update-data %{_mingw64_mandir}/man?/g-lensfun-update-data.* %{_mingw64_mandir}/man?/lensfun-add-adapter.* %{_mingw64_mandir}/man?/lensfun-update-data.* %changelog
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