diff --git a/README.md b/README.md index 5ac6bd0..e181651 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # liblqr +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. + diff --git a/liblqr.spec b/liblqr.spec new file mode 100644 index 0000000..cfc6063 --- /dev/null +++ b/liblqr.spec @@ -0,0 +1,72 @@ +Name: liblqr +Version: 0.4.2 +Release: 1mamba +Summary: Liquid Rescale Library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 0.4.2-1mamba +- automatic version update by autodist + +* Tue Feb 02 2010 Davide Madrisan 0.4.1-1mamba +- package created by autospec