libart_lgpl/libart_lgpl.spec

98 lines
2.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libart_lgpl
Version: 2.3.21
Release: 3mamba
Summary: A library for high-performance 2D graphics
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.levien.com/libart/
Source: https://download.gnome.org/sources/libart_lgpl/%{majver}/libart_lgpl-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libart is a library for high-performance 2D graphics.
It is currently being used as the antialiased rendering engine for the Gnome Canvas.
It is also the rendering engine for Gill, the Gnome Illustration app.
Libart is also used by KDE libraries.
%package devel
Group: Development/Libraries
Summary: Devel files for libart_lgpl
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libart is a library for high-performance 2D graphics.
It is currently being used as the antialiased rendering engine for the Gnome Canvas.
It is also the rendering engine for Gill, the Gnome Illustration app.
Libart is also used by KDE libraries.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%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}/libart_lgpl_2.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/libart2-config
%dir %{_includedir}/libart-?.?
%dir %{_includedir}/libart-?.?/libart_lgpl
%{_includedir}/libart-?.?/libart_lgpl/*.h
%{_libdir}/libart_lgpl_2.a
%{_libdir}/libart_lgpl_2.la
%{_libdir}/libart_lgpl_2.so
%{_libdir}/pkgconfig/*
%doc ChangeLog NEWS README
%changelog
* Fri Dec 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.21-3mamba
- rebuilt with debug package and aarch64 build fix
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 2.3.21-2mamba
- automatic rebuild by autodist
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.3.21-1mamba
- automatic update to 2.3.21 by autodist
* Tue May 20 2008 gil <puntogil@libero.it> 2.3.20-1mamba
- update to version 2.3.20
* Wed Jan 10 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.3.17-2qilnx
- modified specfile to permit automatic update
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.3.17-1qilnx
- update to version 2.3.17 by autospec
* Mon Oct 13 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.16-1qilnx
- new version build
* Mon Jun 30 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.3.12-1qilnx
- first build