]> git.pld-linux.org Git - packages/uade.git/blob - uade.spec
- use new Group: X11/Applications/Sound
[packages/uade.git] / uade.spec
1 %define         _pre    pre5
2 Summary:        Replayer for old amiga music file formats
3 Summary(pl):    Odtwarzacz starych amigowych plików muzycznych
4 Name:           uade
5 Version:        0.73
6 Release:        0.%{_pre}.1
7 License:        GPL
8 Group:          Applications/Sound
9 Source0:        http://www.ee.tut.fi/~heikki/uade/%{name}-%{version}-%{_pre}.tar.bz2
10 URL:            http://www.ee.tut.fi/~heikki/uade.html
11 BuildRequires:  gtk+-devel
12 BuildRequires:  libtool
13 BuildRequires:  xmms-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _libdir         %(xmms-config --input-plugin-dir)
17 %define         _datadir        %{_prefix}/share/uade
18
19 %description
20 UADE is a replayer for old amiga music file formats. It uses an UAE
21 emulation of the AMIGA Hardware and a cloned m68k-assembler Amiga
22 delitracker API to be able to replay those tunes again on platforms
23 other than the original AMIGA.
24
25 %description -l pl
26 UADE jest odtwarzaczem starych amigowych formatów plików muzycznych.
27 U¿ywa emulacji sprzêtu z UAE i sklonowanego API delitrackera, by móc
28 odtworzyæ ponownie te melodie na platformach innych ni¿ Amiga.
29
30 %package examples
31 Summary:        Sample amiga tunes
32 Summary(pl):    Przyk³adowe melodie
33 Group:          Applications/Sound
34
35 %description examples
36 Some sample amiga tunes you can use to test if UADE works.
37
38 %description examples -l pl
39 Kilka przyk³adowych amigowych melodii, które mo¿esz wykorzystaæ do
40 sprawdzenia, czy UADE dzia³a.
41
42 %package -n xmms-input-uade
43 Summary:        UADE plugin for XMMS
44 Summary(pl):    Plugin dla XMMS wykorzystuj±cy UADE
45 Group:          X11/Applications/Sound
46 Requires:       %{name} = %{version}
47
48 %description -n xmms-input-uade
49 For people that prefer a GUI rather than plain console apps and their
50 switches or those who just want to listen to their music with XMMS and
51 take advantage of it's features like playlists, different output,
52 effect and visual plugins there's also a UADE XMMS input plugin.
53
54 %description -n xmms-input-uade -l pl
55 Dla tych, którzy preferuj± GUI od aplikacji trybu tekstowego i ich
56 prze³±czników, lub po prostu chc± s³uchaæ muzyki u¿ywaj±c XMMS,
57 korzystaj±c z jego cech, jak playlisty, ró¿ne wyj¶cia, efekty i
58 pluginy wizualizacyjne, jest plugin dla XMMS korzystaj±cy z UADE.
59
60 %prep
61 %setup -q -n %{name}-%{version}-%{_pre}
62
63 %build
64 ./configure \
65         --prefix=%{_prefix} \
66         --package-prefix=$RPM_BUILD_ROOT \
67         --input-plugin-dir=%{_libdir} \
68         --with-sdl
69
70 #%%configure --prefix=%{_prefix}
71 #cd plugindir
72 #cat Makefile | sed 's@PLUGINDIR = @&$(DESTDIR)@' > Makefile.new
73 #mv -f Makefile.new Makefile
74 #cd ..
75 #cat Makefile | sed 's@SYSDATADIR = @&$(DESTDIR)@' > Makefile.new
76 #cat Makefile.new | sed 's@BINDIR = @&$(DESTDIR)@;s@DOCDIR = @&$(DESTDIR)@' > Makefile
77
78 %{__make} \
79         CC="%{__cc}"
80 #       LDFLAGS="%{rpmldflags}" \
81 #       CFLAGS="%{rpmcflags} -DGCCCONSTFUNC=\"__attribute__((const))\" -DREGPARAM= -D__inline__=inline -DVERSION=\\\"%{version}\\\"" \
82 #       SDLLIBS="%(sdl-config --libs)" \
83 #       SDLLFLAGS="%(sdl-config --cflags)"
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc ChangeLog.txt BUGS FIXED
95 %doc uade-docs/decrunch uade-docs/players
96 %doc uade-docs/faq.html uade-docs/*.txt
97 %attr(755,root,root) %{_bindir}/uade
98 %{_datadir}
99
100 %files examples
101 %defattr(644,root,root,755)
102 %doc songs/*
103
104 %files -n xmms-input-uade
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/*.so
This page took 0.089892 seconds and 4 git commands to generate.