73 lines
2.2 KiB
RPMSpec
73 lines
2.2 KiB
RPMSpec
Name: liblqr
|
|
Version: 0.4.2
|
|
Release: 1mamba
|
|
Summary: Liquid Rescale Library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
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}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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 need for development.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-1-%{version}
|
|
|
|
%build
|
|
%configure
|
|
%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}/liblqr-1.so.*
|
|
%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README README.Windows TODO
|
|
|
|
%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.la
|
|
%{_libdir}/liblqr-1.so
|
|
%{_libdir}/pkgconfig/lqr-1.pc
|
|
|
|
%changelog
|
|
* 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
|