|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
Name: liblqr-1
|
|
|
|
|
Version: 0.4.2
|
|
|
|
|
Release: 18%{?dist}
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Summary: LiquidRescale library
|
|
|
|
|
License: GPLv3
|
|
|
|
|
URL: http://liquidrescale.wikidot.com/
|
|
|
|
|
Source0: http://liblqr.wikidot.com/local--files/en:download-page/%{name}-%{version}.tar.bz2
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The LiquidRescale (lqr) library provides a C/C++ API for
|
|
|
|
@ -15,9 +15,8 @@ performing non-uniform resizing of images by the seam-carving
|
|
|
|
|
technique.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: LiquidRescale library development kit
|
|
|
|
|
License: GPLv3
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Summary: LiquidRescale library development kit
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: glib2-devel, pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -25,23 +24,20 @@ The libqr-devel package contains the header files
|
|
|
|
|
needed to develop applications with liblqr
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
|
|
|
|
|
export LDFLAGS="%{build_ldflags} `pkg-config --libs glib-2.0` -lm"
|
|
|
|
|
%configure
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# remove .la files
|
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
|
|
|
|
|
|
|
|
|
|
# Fedora MUST
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files
|
|
|
|
|
%doc README ChangeLog COPYING
|
|
|
|
|
%{_libdir}/liblqr-1.so.0.3.2
|
|
|
|
|
%{_libdir}/liblqr-1.so.0
|
|
|
|
@ -54,6 +50,9 @@ find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 27 2022 Neal Gompa <ngompa@fedoraproject.org> - 0.4.2-19
|
|
|
|
|
- Minor spec cleanups
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|