libtiger/libtiger.spec

121 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: libtiger
Version: 0.3.4
Release: 2mamba
Summary: A rendering library for Kate streams using Pango and Cairo
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://code.google.com/p/libtiger/
Source: http://libtiger.googlecode.com/files/libtiger-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libkate-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: doxygen
BuildRequires: valgrind
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libtiger is a rendering library for Kate streams using Pango and Cairo.
More information about Kate streams may be found at http://wiki.xiph.org/index.php/OggKate.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A rendering library for Kate streams using Pango and Cairo.
This package contains libraries and header files needed for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
A rendering library for Kate streams using Pango and Cairo
This package contains static libraries needed for development.
%package doc
Group: Documentation
Summary: Documentation for %{name}
%description doc
A rendering library for Kate streams using Pango and Cairo
This package contains documentation for %{name}.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," misc/autotools/config.sub
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# fix timestramps change
touch -r include/tiger/tiger.h.in %{buildroot}%{_includedir}/tiger/tiger.h
mv %{buildroot}%{_docdir}/%{name} __doc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libtiger.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/tiger
%{_includedir}/tiger/tiger*.h
%{_libdir}/libtiger.so
%{_libdir}/pkgconfig/tiger.pc
%doc ChangeLog README THANKS
%files static
%defattr(-,root,root)
%{_libdir}/libtiger.*a
%files doc
%defattr(-,root,root)
%doc examples __doc/html
%changelog
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.4-2mamba
- rebuilt with debug package and aarch64 build fix
* Thu Jul 05 2012 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
- automatic version update by autodist
* Mon Dec 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-3mamba
- automatic port from devel-gil
* Mon Dec 20 2010 gil <puntogil@libero.it> 0.3.3-2mamba
- rebuilt devel
* Fri Jul 23 2010 gil <puntogil@libero.it> 0.3.3-1mamba
- package created by autospec