1 Summary: Madman Administrates Digital Music Archives Neatly
2 Summary(pl.UTF-8): Madman - miłe administrowanie archiwami cyfrowej muzyki
7 Group: Productivity/Multimedia/Sound/Utilities
8 Source0: http://dl.sourceforge.net/madman/%{name}-%{version}.tar.gz
9 # Source0-md5: a9aeef95248ecd55e0479a6b8dec43f2
10 #Source1: %{name}.desktop
11 #Source1: kdissert-kde.py
12 URL: http://madman.sourceforge.net/
13 #BuildRequires: autoconf
14 #BuildRequires: automake
15 #BuildRequires: kdelibs-devel >= 9:3.2.0
16 BuildRequires: libid3tag-devel >= 0.15.1b
17 BuildRequires: libvorbis-devel >= 1:1.0
18 BuildRequires: rpmbuild(macros) >= 1.129
19 BuildRequires: qt-devel >= 6:3.1
21 BuildRequires: xmms-devel >= 2:1.2.6
22 #BuildRequires: unsermake >= 040805
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Madman is a music manager application that allows you to easily keep
27 your music database organized and tidy, and it helps you listen to
28 better music, be happier, brighten your teeth and quickly restore
31 %description -l pl.UTF-8
32 Madman (Madman Administrates Digital Music Archives Neatly) to
33 aplikacja do zarządzania muzyką pozwalająca łatwo utrzymywać w
34 porządku bazę danych muzyki i pomagająca w słuchaniu lepszej muzyki,
35 byciu szczęśliwszym, wybieleniu zębów i szybkiemu przywróceniu
40 #install %{SOURCE1} ./kde.py
43 export CXXFLAGS="%{rpmcflags}"
44 export QTDIR="%{_usr}"
45 # autodetects all needed paths from kde-config not sure it supports amd64 at the moment
46 # im talking about it with the maintainer of kde's scons-based buildsystem
49 qtincludes=%{_includedir}/qt \
50 prefix=%{_prefix} %{?debug:debug=full} \
51 %if "%{_lib}" == "lib64"
57 #cp -f /usr/share/automake/config.sub admin
58 #export PATH=/usr/share/unsermake:$PATH
59 #%{__make} -f admin/Makefile.common cvs
62 #scons prefix=%{_prefix} qt_directory=/usr/include/qt
65 #%if "%{_lib}" == "lib64"
66 # --enable-libsuffix=64 \
68 # --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
69 # --with-qt-libraries=%{_libdir}
73 rm -rf $RPM_BUILD_ROOT
75 scons prefix=$RPM_BUILD_ROOT%{_prefix} install
77 #install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
80 # DESTDIR=$RPM_BUILD_ROOT \
81 # kde_htmldir=%{_kdedocdir} \
82 # kde_libs_htmldir=%{_kdedocdir} \
83 # kdelnkdir=%{_desktopdir} \
85 # move the .desktop file to desktopdir
86 #mv $RPM_BUILD_ROOT{%{_datadir}/applnk/*/*.desktop,%{_desktopdir}}
88 %find_lang %{name} --with-kde
91 rm -rf $RPM_BUILD_ROOT
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
97 %{_desktopdir}/*.desktop
98 %{_iconsdir}/*/*/apps/%{name}.png
99 %{_datadir}/mimelnk/application/*
100 %{_datadir}/apps/%{name}