1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Summary: @PACKAGE_SUMMARY_EN@
Summary(fr): @PACKAGE_SUMMARY_FR@
Group: Development/Libraries
License: GPLv2+
URL: http://sarrazip.com/dev/burgerspace.html
Source0: http://sarrazip.com/dev/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL2-devel >= @SDL2_MINVER@
BuildRequires: SDL2_image-devel >= @SDL2_IMAGE_MINVER@
BuildRequires: SDL2_mixer-devel >= @SDL2_MIXER_MINVER@
BuildRequires: SDL2_gfx-devel >= @SDL2_GFX_MINVER@
BuildRequires: SDL2_ttf-devel >= @SDL2_TTF_MINVER@
%description
Small game engine library required by BurgerSpace and other games.
%description -l fr
Petit moteur de jeu requis par BurgerSpace et autres jeux.
%package devel
Summary: C++ header files for the @PACKAGE@ library
Summary(fr): En-têtes C++ pour la librairie @PACKAGE@.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
C++ header files to develop with the @PACKAGE@ library.
%description -l fr devel
En-têtes C++ pour développer avec la librairie @PACKAGE@.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_datadir}/pixmaps/*
%doc %{_defaultdocdir}/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/pkgconfig/*
%changelog
|