]> git.pld-linux.org Git - packages/dumb.git/blob - dumb.spec
- updated to 0.9.3
[packages/dumb.git] / dumb.spec
1 Summary:        DUMB - Dedicated Universal Music Bastardisation
2 Summary(pl):    DUMB - Dedicated Universal Music Bastardisation
3 Name:           dumb
4 Version:        0.9.3
5 Release:        0.1
6 License:        GPL-like
7 Group:          Development/Libraries
8 Source0:        http://dl.sourceforge.net/dumb/%{name}-%{version}.tar.gz
9 # Source0-md5:  f48da5b990aa8aa822d3b6a951baf5c2
10 URL:            http://dumb.sourceforge.net/
11 BuildRequires:  allegro-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         specflags_ia32   -fomit-frame-pointer 
15
16 %description
17 DUMB - Dedicated Universal Music Bastardisation library.
18
19 %description -l pl
20 Biblioteka DUMB - Dedicated Universal Music Bastardisation.
21
22 %package devel
23 Summary:        Header files for dumb
24 Summary(pl):    Pliki nag³ówkowe dla dumb
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 dumb header files.
30
31 %description devel -l pl
32 Pliki nag³ówkowe dla dumb.
33
34 %package static
35 Summary:        Static libraries for dumb
36 Summary(pl):    Statyczne biblioteki dla dumb
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 dumb static libraries.
42
43 %description static -l pl
44 Biblioteki statyczne dla dumb.
45
46 %prep
47 %setup -q
48
49 %build
50 cat <<EOF > make/config.txt
51 include make/unix.inc
52 ALL_TARGETS := core core-examples core-headers
53 ALL_TARGETS += allegro allegro-examples allegro-headers
54 PREFIX := /usr
55 EOF
56
57 %{__make} all \
58         CC="%{__cc}" \
59         OFLAGS="%{rpmcflags}"
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}}
64
65 %{__make} install \
66         PREFIX=$RPM_BUILD_ROOT%{_prefix}
67 %{__make} install \
68         PREFIX=$RPM_BUILD_ROOT%{_prefix} DEBUGMODE=1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc *.txt docs/*
76 %attr(755,root,root) %{_bindir}/dumb*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_includedir}/*
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/lib*.a
This page took 0.134681 seconds and 3 git commands to generate.