libpano13/libpano13.spec

137 lines
3.6 KiB
RPMSpec

Name: libpano13
Version: 2.9.20
Release: 2mamba
Summary: A library for manipulating panoramic images
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://sourceforge.net/projects/panotools/
Source: http://downloads.sourceforge.net/panotools/libpano13-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: pkg-config
%description
Helmut Dersch's Panorama Tools library.
Provides very high quality manipulation, correction and stitching of panoramic photographs.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Helmut Dersch's Panorama Tools library.
Provides very high quality manipulation, correction and stitching of panoramic photographs.
This package contains static libraries and header files needed for development.
%package tools
Group: Applications/Multimedia
Summary: Tools for the %{name} library
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Helmut Dersch's Panorama Tools library.
Provides very high quality manipulation, correction and stitching of panoramic photographs.
This package contains some tools for the %{name} library.
%debug_package
%prep
%setup -q
%build
%configure \
--disable-static \
--with-jpeg \
--with-png \
--with-tiff \
--with-zlib \
--with-java
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libpano13.so.*
%doc AUTHORS COPYING
%files tools
%defattr(-,root,root)
%{_bindir}/PTAInterpolate
%{_bindir}/PTblender
%{_bindir}/PTcrop
%{_bindir}/PTinfo
%{_bindir}/PTmasker
%{_bindir}/PTmender
%{_bindir}/PToptimizer
%{_bindir}/PTroller
%{_bindir}/PTtiff2psd
%{_bindir}/PTtiffdump
%{_bindir}/PTuncrop
%{_bindir}/panoinfo
%{_mandir}/man1/PTAInterpolate.*
%{_mandir}/man1/PTblender.*
%{_mandir}/man1/PTcrop.*
%{_mandir}/man1/PTinfo.*
%{_mandir}/man1/PTmasker.*
%{_mandir}/man1/PTmender.*
%{_mandir}/man1/PToptimizer.*
%{_mandir}/man1/PTroller.*
%{_mandir}/man1/PTtiff2psd.*
%{_mandir}/man1/PTtiffdump.*
%{_mandir}/man1/PTuncrop.*
%{_mandir}/man1/panoinfo.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/pano13
%{_includedir}/pano13/*.h
%{_libdir}/libpano13.la
%{_libdir}/libpano13.so
%{_libdir}/pkgconfig/libpano13.pc
%doc ChangeLog NEWS README README.linux
%changelog
* Wed Apr 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.20-2mamba
- rebuilt with debug package
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 2.9.20-1mamba
- automatic version update by autodist
* Wed Nov 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.19-1mamba
- update to 2.9.19
* Wed Oct 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.18-2mamba
- rebuilt
* Mon Apr 02 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.9.18-1mamba
- update to 2.9.18
* Sun Oct 10 2010 Automatic Build System <autodist@mambasoft.it> 2.9.17-1mamba
- update to 2.9.17
* Sun Mar 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.9.14-1mamba
- package created by autospec