sdl2_ttf/sdl2_ttf.spec

123 lines
3.8 KiB
RPMSpec

Name: sdl2_ttf
Version: 2.20.2
Release: 2mamba
Summary: Simple DirectMedia Layer 2 - Sample TrueType Font Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.libsdl.org/projects/SDL_ttf/
Source: https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{version}-%{release}
%description
This library allows you to use TrueType fonts to render text in SDL2 applications.
%package -n lib%{name}
Group: System/Libraries
Summary: Simple DirectMedia Layer 2 - Sample TrueType Font Library
Provides: libSDL2_ttf
Obsoletes: libSDL2_ttf <= 2.20.2-1mamba
%description -n lib%{name}
This library allows you to use TrueType fonts to render text in SDL2 applications.
%package -n lib%{name}-devel
Summary: Libraries, includes and more to develop SDL applications
Group: Development/Libraries
Requires: lib%{name} = %{version}-%{release}
Provides: libSDL2_ttf-devel
Obsoletes: libSDL2_ttf-devel <= 2.20.2-1mamba
%description -n lib%{name}-devel
This library allows you to use TrueType fonts to render text in SDL applications.
%debug_package
%prep
%setup -q -n SDL2_ttf-%{version}
%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 -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libSDL2_ttf-2.0.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_libdir}/libSDL2_ttf.a
%{_libdir}/libSDL2_ttf.so
%{_includedir}/SDL2/SDL_ttf.h
%{_libdir}/pkgconfig/SDL2_ttf.pc
%dir %{_libdir}/cmake/SDL2_ttf
%{_libdir}/cmake/SDL2_ttf/sdl2_ttf-config*.cmake
%doc CHANGES.txt README.txt
%changelog
* Wed Jun 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.20.2-2mamba
- renamed from SDL2_ttf to sdl2_ttf
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 2.20.2-1mamba
- automatic version update by autodist
* Mon Aug 22 2022 Automatic Build System <autodist@mambasoft.it> 2.20.1-1mamba
- automatic version update by autodist
* Thu Jan 13 2022 Automatic Build System <autodist@mambasoft.it> 2.0.18-1mamba
- automatic version update by autodist
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 2.0.15-1mamba
- automatic update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
- automatic update by autodist
* Thu Jan 28 2016 Automatic Build System <autodist@mambasoft.it> 2.0.13-1mamba
- automatic update by autodist
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-1mamba
- update to 2.0.12 (renamed from libSDL_ttf)
* Mon Jan 23 2012 Automatic Build System <autodist@mambasoft.it> 2.0.11-1mamba
- automatic version update by autodist
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 2.0.10-2mamba
- automatic rebuild by autodist
* Tue Jul 27 2010 Automatic Build System <autodist@mambasoft.it> 2.0.10-1mamba
- automatic update by autodist
* Wed Jul 09 2008 gil <puntogil@libero.it> 2.0.9-1mamba
- update to 2.0.9
* Wed Oct 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8-1qilnx
- update to version 2.0.8 by autospec
* Mon Nov 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-3qilnx
- fixed a RPM changelog error
* Thu Nov 11 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.6-2qilnx
- rebuild and moved to devel official QiLinux repository
* Tue Sep 07 2004 Matteo Bernasconi <matteo.bernasconi@qilinux.it> 2.0.6-1qilnx
- first build