liblqr/liblqr.spec

73 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: liblqr
Version: 0.4.3
Release: 1mamba
Summary: Liquid Rescale Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://liblqr.wikidot.com
Source: http://liblqr.wikidot.com/local--files/en:download-page/liblqr-1-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
Provides: liblqr-1 = %{?epoch:%epoch:}%{version}-%{release}
%description
The LiquidRescale (lqr) library provides a C/C++ API for performing non-uniform resizing of images by the seam-carving technique.
The library takes images in plain array format as input and converts them to a multi-size representation.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: liblqr-1-devel = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The LiquidRescale (lqr) library provides a C/C++ API for performing non-uniform resizing of images by the seam-carving technique.
The library takes images in plain array format as input and converts them to a multi-size representation.
This package contains static libraries and header files needed for development.
%prep
%setup -q -n %{name}-1-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/liblqr-1.so.*
%doc AUTHORS COPYING COPYING.LESSER
%files devel
%defattr(-,root,root)
%dir %{_includedir}/lqr-1
%{_includedir}/lqr-1/lqr.h
%dir %{_includedir}/lqr-1/lqr
%{_includedir}/lqr-1/lqr/*.h
%{_libdir}/liblqr-1.so
%{_libdir}/pkgconfig/lqr-1.pc
%doc ChangeLog NEWS README README.Windows TODO
%changelog
* Sun Sep 01 2024 Automatic Build System <autodist@openmamba.org> 0.4.3-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
- automatic version update by autodist
* Tue Feb 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.4.1-1mamba
- package created by autospec