]>
Commit | Line | Data |
---|---|---|
2f7ebe08 TP |
1 | Summary: DUMB - Dedicated Universal Music Bastardisation |
2 | Summary(pl): DUMB - Dedicated Universal Music Bastardisation | |
3 | Name: dumb | |
24fe8051 | 4 | Version: 0.9.2 |
2f7ebe08 TP |
5 | Release: 1 |
6 | License: GPL-like | |
7 | Group: Development/Libraries | |
8 | Source0: http://dl.sourceforge.net/dumb/%{name}-%{version}.tar.gz | |
24fe8051 | 9 | # Source0-md5: 0ce45f64934e6d5d7b82a55108596680 |
2f7ebe08 TP |
10 | URL: http://dumb.sourceforge.net/ |
11 | BuildRequires: allegro-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
fee7abb5 TP |
14 | %define specflags_ia32 "-fomit-frame-pointer" |
15 | ||
2f7ebe08 TP |
16 | %description |
17 | DUMB - Dedicated Universal Music Bastardisation library. | |
18 | ||
19 | %description -l pl | |
20 | Biblioteka DUMB - Dedicated Universal Music Bastardisation. | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{name} | |
24 | ||
25 | %build | |
24fe8051 TP |
26 | cat <<EOF > make/config.txt |
27 | include make/unix.inc | |
28 | ALL_TARGETS := core core-examples core-headers | |
29 | ALL_TARGETS += allegro allegro-examples allegro-headers | |
30 | PREFIX := /usr | |
31 | EOF | |
32 | ||
a0a4a984 | 33 | %{__make} all CC="%{__cc}" OFLAGS="%{rpmcflags}" |
2f7ebe08 TP |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}} | |
38 | ||
39 | %{__make} install PREFIX=$RPM_BUILD_ROOT%{_prefix} | |
40 | %{__make} install PREFIX=$RPM_BUILD_ROOT%{_prefix} DEBUGMODE=1 | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc *.txt docs/* | |
48 | %{_includedir}/* | |
49 | %{_libdir}/* |