From 48183bc696825ad558fb5eb72dc00b632b42324f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 15:01:19 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 liblqr revision c8419970dbaecb3ed65ae77ec4956bb8 --- .gitattributes | 23 +++++++++++ baselibs.conf | 1 + liblqr-1-0.4.2.tar.bz2 | 3 ++ liblqr.changes | 31 ++++++++++++++ liblqr.spec | 91 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 liblqr-1-0.4.2.tar.bz2 create mode 100644 liblqr.changes create mode 100644 liblqr.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..73f2ffa --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +liblqr-1-0 diff --git a/liblqr-1-0.4.2.tar.bz2 b/liblqr-1-0.4.2.tar.bz2 new file mode 100644 index 0000000..b7a5bc8 --- /dev/null +++ b/liblqr-1-0.4.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:173a822efd207d72cda7d7f4e951c5000f31b10209366ff7f0f5972f7f9ff137 +size 344739 diff --git a/liblqr.changes b/liblqr.changes new file mode 100644 index 0000000..c73e202 --- /dev/null +++ b/liblqr.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Thu Feb 2 14:11:28 UTC 2023 - Dirk Müller + +- spec cleanups + +------------------------------------------------------------------- +Fri Sep 5 12:54:08 UTC 2014 - coolo@suse.com + +- add baselibs.conf to sources - ImageMagick needs its 32bit + +------------------------------------------------------------------- +Fri Jul 26 19:16:34 UTC 2013 - asterios.dramis@gmail.com + +- Update to 0.4.2: + * Fixes a couple of bugs (some small memory leaks, installation issues on + MacOSX) +- Changed License to LGPL-3.0 (library) and GPL-3.0 (examples dir only). +- Build the development documentation (added docbook-xsl-stylesheets and + libxslt-tools build requirements). + +------------------------------------------------------------------- +Sun Aug 7 14:44:44 UTC 2011 - toddrme2178@gmail.com + +- Fixed group (fix for RPMLINT warning) +- Removed commented file + +------------------------------------------------------------------- +Fri Jan 29 12:59:36 UTC 2010 - llunak@novell.com + +- Initial version 0.4.1 + diff --git a/liblqr.spec b/liblqr.spec new file mode 100644 index 0000000..8efb01e --- /dev/null +++ b/liblqr.spec @@ -0,0 +1,91 @@ +# +# spec file for package liblqr +# +# Copyright (c) 2023 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/ +# + + +%define so_ver 0 +Name: liblqr +Version: 0.4.2 +Release: 0 +Summary: Liquid Rescale seam-carving library +License: LGPL-3.0-only AND GPL-3.0-only +Group: System/Libraries +URL: https://liblqr.wikidot.com/ +Source0: http://liblqr.wikidot.com/local--files/en:download-page/liblqr-1-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: docbook-xsl-stylesheets +BuildRequires: glib2-devel +BuildRequires: libxslt-tools + +%description +The Liquid Rescale (lqr) library provides a C/C++ API for performing +non-uniform resizing of images by the seam-carving technique. + +%package -n liblqr-1-%{so_ver} +Summary: Liquid Rescale seam-carving library +License: LGPL-3.0-only +Group: System/Libraries + +%description -n liblqr-1-%{so_ver} +The Liquid Rescale (lqr) library provides a C/C++ API for performing +non-uniform resizing of images by the seam-carving technique. + +%package devel +Summary: Development files for the Liquid Rescale library +License: LGPL-3.0-only +Group: Development/Libraries/C and C++ +Requires: liblqr-1-%{so_ver} = %{version} + +%description devel +The Liquid Rescale (lqr) library provides a C/C++ API for performing +non-uniform resizing of images by the seam-carving technique. + +This package contains the development files for liblqr. + +%prep +%setup -q -n liblqr-1-%{version} + +# Fix docbook path +sed -i "s,/nwalsh/html/chunk.xsl,/nwalsh/current/html/chunk.xsl," docs/lqr_style.xsl + +%build +%configure +%make_build +cd docs +%make_build +cd .. + +%install +%make_install +# remove .la files +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n liblqr-1-%{so_ver} -p /sbin/ldconfig +%postun -n liblqr-1-%{so_ver} -p /sbin/ldconfig + +%files -n liblqr-1-%{so_ver} +%license COPYING.LESSER +%{_libdir}/liblqr-1.so.%{so_ver}* + +%files devel +%license COPYING* +%doc AUTHORS ChangeLog NEWS README TODO +%doc docs/{liblqr_manual.html,html/} +%{_includedir}/lqr-1/ +%{_libdir}/liblqr-1.so +%{_libdir}/pkgconfig/lqr-1.pc + +%changelog