sdl2_pango/sdl2_pango.spec

78 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: sdl2_pango
Version: 2.1.5
Release: 1mamba
Summary: A library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/markuskimius/SDL2_Pango
Source: https://github.com/markuskimius/SDL2_Pango.git/v%{version}/SDL2_Pango-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
SDL2_Pango is a library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n SDL2_Pango-%{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_Pango.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/SDL2_Pango.h
%{_libdir}/libSDL2_Pango.a
%{_libdir}/libSDL2_Pango.so
%{_libdir}/pkgconfig/SDL2_Pango.pc
%doc ChangeLog README README.md
%changelog
* Wed Jun 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.5-1mamba
- package created using the webbuild interface