111 lines
3.1 KiB
RPMSpec
111 lines
3.1 KiB
RPMSpec
Name: t4kcommon
|
|
Version: 0.1.1
|
|
Release: 2mamba
|
|
Summary: A library of code shared between tuxmath and tuxtype
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/tux4kids/t4kcommon
|
|
Source: https://github.com/tux4kids/t4kcommon.git/upstream%2f%{version}/t4kcommon-%{version}.tar.bz2
|
|
Patch0: t4kcommon-0.1.1-libpng15.patch
|
|
Patch1: t4kcommon-0.1.1-menu_font_size.patch
|
|
Patch2: t4kcommon-0.1.1-missing_texts.patch
|
|
Patch3: t4kcommon-0.1.1-wrapped_lines.patch
|
|
Patch4: t4kcommon-0.1.1-debian_bugfix.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: libSDL_Pango-devel
|
|
BuildRequires: libSDL_image-devel
|
|
BuildRequires: libSDL_mixer-devel
|
|
BuildRequires: libSDL_net-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdirectfb-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: librsvg-devel
|
|
BuildRequires: libts-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
A library of code shared between tuxmath and tuxtype.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: A library of code shared between tuxmath and tuxtype
|
|
Provides: libt4k_common
|
|
Obsoletes: libt4k_common < 0.1.1-2mamba
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}
|
|
A library of code shared between tuxmath and tuxtype.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: libt4k_common-devel
|
|
Obsoletes: libt4k_common-devel < 0.1.1-2mamba
|
|
|
|
%description -n lib%{name}-devel
|
|
A library of code shared between tuxmath and tuxtype.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .libpng15
|
|
%patch1 -p1 -b .menu_font_size
|
|
%patch2 -p1 -b .missing_texts
|
|
%patch3 -p1 -b .wrapped_lines
|
|
%patch4 -p1 -b .debian_bugfix
|
|
|
|
%build
|
|
%configure
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/t4k_common
|
|
%{_datadir}/t4k_common/images/menu/*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libt4k_common.so.*
|
|
%doc COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/t4k_*.h
|
|
%{_libdir}/libt4k_common.a
|
|
%{_libdir}/libt4k_common.so
|
|
%{_libdir}/pkgconfig/t4k_common.pc
|
|
%doc README
|
|
|
|
%changelog
|
|
* Sun Nov 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
|
- renamed from libt4k_common and updated sources
|
|
|
|
* Tue Jul 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
- package created by autospec
|