]> git.pld-linux.org Git - SPECS.git/blob - madman.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / madman.spec
1 Summary:        Madman Administrates Digital Music Archives Neatly
2 Summary(pl.UTF-8):      Madman - miłe administrowanie archiwami cyfrowej muzyki
3 Name:           madman
4 Version:        0.93
5 Release:        0.1
6 License:        CHECK FIRST!
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
20 BuildRequires:  scons
21 BuildRequires:  xmms-devel >= 2:1.2.6
22 #BuildRequires: unsermake >= 040805
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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
29 world peace.
30
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
36 pokoju na świecie.
37
38 %prep
39 %setup -q
40 #install %{SOURCE1} ./kde.py
41
42 %build
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
47
48 scons configure \
49         qtincludes=%{_includedir}/qt \
50         prefix=%{_prefix} %{?debug:debug=full} \
51 %if "%{_lib}" == "lib64"
52         libsuffix=64 \
53 %endif
54         qtlibs=%{_libdir}
55 scons
56
57 #cp -f /usr/share/automake/config.sub admin
58 #export PATH=/usr/share/unsermake:$PATH
59 #%{__make} -f admin/Makefile.common cvs
60
61 #export QTDIR=/usr
62 #scons prefix=%{_prefix} qt_directory=/usr/include/qt
63 #
64 #%configure \
65 #%if "%{_lib}" == "lib64"
66 #       --enable-libsuffix=64 \
67 #%endif
68 #       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
69 #       --with-qt-libraries=%{_libdir}
70 #%{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 scons prefix=$RPM_BUILD_ROOT%{_prefix} install
76
77 #install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
78 #
79 #%{__make} install \
80 #       DESTDIR=$RPM_BUILD_ROOT \
81 #       kde_htmldir=%{_kdedocdir} \
82 #       kde_libs_htmldir=%{_kdedocdir} \
83 #       kdelnkdir=%{_desktopdir} \
84
85 # move the .desktop file to desktopdir
86 #mv $RPM_BUILD_ROOT{%{_datadir}/applnk/*/*.desktop,%{_desktopdir}}
87
88 %find_lang %{name} --with-kde
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*
96 %{_pixmapsdir}/*
97 %{_desktopdir}/*.desktop
98 %{_iconsdir}/*/*/apps/%{name}.png
99 %{_datadir}/mimelnk/application/*
100 %{_datadir}/apps/%{name}
101 %{_kdedocdir}/*
This page took 0.186116 seconds and 3 git commands to generate.