]>
Commit | Line | Data |
---|---|---|
a3b18043 JB |
1 | Summary: GNOME GUI for Creative Labs DXR2 devices |
2 | Summary(pl.UTF-8): Interfejs graficzny GNOME dla urządzeń Creative Labs DXR2 | |
3 | Name: dxr2gui | |
4 | Version: 0.5.2 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Multimedia | |
8 | Source0: http://downloads.sourceforge.net/dxr2gui/%{name}.tar.gz | |
9 | # Source0-md5: c527fc3d99cf576699e3159e3291ea7a | |
10 | Patch0: %{name}-am.patch | |
11 | Patch1: %{name}-install.patch | |
12 | URL: http://dxr2gui.sourceforge.net/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: gnome-libs-devel | |
16 | BuildRequires: libtool | |
17 | BuildRequires: ncurses-devel | |
18 | BuildRequires: xorg-lib-libX11-devel | |
19 | BuildRequires: xorg-lib-libXext-devel | |
20 | BuildRequires: xorg-lib-libXmu-devel | |
21 | BuildRequires: xorg-lib-libXxf86vm-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | GNOME GUI for Creative Labs DXR2 devices. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Interfejs graficzny GNOME dla urządzeń Creative Labs DXR2. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{name} | |
32 | %patch0 -p1 | |
33 | %patch1 -p1 | |
34 | ||
35 | :>acinclude.m4 | |
36 | # keep only AM_ACLOCAL_INCLUDE and GNOME_* macros | |
37 | #head -n 374 acinclude.m4 | tail -n +163 > acinclude.m4.new | |
38 | #head -n 1093 acinclude.m4 | tail -n +984 >> acinclude.m4.new | |
39 | #%{__mv} acinclude.m4.new acinclude.m4 | |
40 | ||
41 | %build | |
42 | %{__libtoolize} | |
43 | %{__aclocal} -I macros | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
62 | %attr(755,root,root) %{_bindir}/dxr2gui | |
63 | %{_desktopdir}/dxr2gui.desktop | |
64 | %{_pixmapsdir}/dxr2gui-logo.png |