File: flatzebra.spec

package info (click to toggle)
flatzebra 0.1.6-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,688 kB
  • ctags: 458
  • sloc: sh: 10,939; cpp: 1,960; makefile: 89
file content (74 lines) | stat: -rw-r--r-- 1,562 bytes parent folder | download | duplicates (3)
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
Name:           flatzebra
Version:        0.1.6
Release:        1%{?dist}
Summary:        Small Engine for 2D video games like BurgerSpace
Summary(fr):    Petit moteur pour jeux vidéo 2D comme BurgerSpace

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:  SDL-devel       >= 1.2.4
BuildRequires:  SDL_image-devel >= 1.2.2
BuildRequires:  SDL_mixer-devel >= 1.2.4

%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 flatzebra library
Summary(fr):    En-têtes C++ pour la librairie flatzebra.
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
C++ header files to develop with the flatzebra library.

%description -l fr devel
En-têtes C++ pour développer avec la librairie flatzebra.


%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.*
%doc %{_defaultdocdir}/*


%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/pkgconfig/*


%changelog