Group :: Sistema/Bibliotecas
RPM: liblqr
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++ pkgconfig(glib-2.0)
# END SourceDeps(oneline)
%add_optflags %optflags_shared
%define oldname liblqr-1
Name: liblqr
Version: 0.4.1
Release: alt2.1_2
Summary: LiquidRescale library
Group: System/Libraries
License: GPLv3
URL: http://liquidrescale.wikidot.com/
Source0: http://liblqr.wikidot.com/local--files/en:download-page/%{oldname}-%{version}.tar.bz2
BuildRequires: libglib2-devel
Source44: import.info
%description
The LiquidRescale (lqr) library provides a C/C++ API for
performing non-uniform resizing of images by the seam-carving
technique.
%package devel
Summary: LiquidRescale library development kit
Group: System/Libraries
License: GPLv3
Requires: liblqr = %{version}-%{release}
Requires: libglib2-devel pkgconfig
%description devel
The libqr-devel package contains the header files
needed to develop applications with liblqr
%prep
%setup -q -n %{oldname}-%{version}
%build
export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
%configure
%{__make} %{?_smp_mflags}
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# remove .la files
find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
# Fedora MUST
%files
%doc README ChangeLog COPYING
%{_libdir}/liblqr-1.so.0.3.1
%{_libdir}/liblqr-1.so.0
%files devel
%doc docs/liblqr_manual.docbook
%{_libdir}/liblqr-1.so
%{_includedir}/lqr-1/
%{_libdir}/pkgconfig/lqr-1.pc
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: gcc-c++ pkgconfig(glib-2.0)
# END SourceDeps(oneline)
%add_optflags %optflags_shared
%define oldname liblqr-1
Name: liblqr
Version: 0.4.1
Release: alt2.1_2
Summary: LiquidRescale library
Group: System/Libraries
License: GPLv3
URL: http://liquidrescale.wikidot.com/
Source0: http://liblqr.wikidot.com/local--files/en:download-page/%{oldname}-%{version}.tar.bz2
BuildRequires: libglib2-devel
Source44: import.info
%description
The LiquidRescale (lqr) library provides a C/C++ API for
performing non-uniform resizing of images by the seam-carving
technique.
%package devel
Summary: LiquidRescale library development kit
Group: System/Libraries
License: GPLv3
Requires: liblqr = %{version}-%{release}
Requires: libglib2-devel pkgconfig
%description devel
The libqr-devel package contains the header files
needed to develop applications with liblqr
%prep
%setup -q -n %{oldname}-%{version}
%build
export LDFLAGS="`pkg-config --libs glib-2.0` -lm"
%configure
%{__make} %{?_smp_mflags}
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# remove .la files
find $RPM_BUILD_ROOT -name \*.la -exec %{__rm} -f {} \;
# Fedora MUST
%files
%doc README ChangeLog COPYING
%{_libdir}/liblqr-1.so.0.3.1
%{_libdir}/liblqr-1.so.0
%files devel
%doc docs/liblqr_manual.docbook
%{_libdir}/liblqr-1.so
%{_includedir}/lqr-1/
%{_libdir}/pkgconfig/lqr-1.pc
%changelog
…
Todas as alterações você pod ver aqui