]> git.pld-linux.org Git - packages/domo.git/blob - domo.spec
- tabs in preamble
[packages/domo.git] / domo.spec
1 # TODO:
2 # - lang() for *.qm
3 # - data in /etc ???
4 # - is INSTALL file useful in rpm?
5 Summary:        A music organising database application
6 Summary(pl.UTF-8):      Organizator aplikacji muzycznych
7 Name:           domo
8 Version:        2.4
9 Release:        0.1
10 License:        GPL
11 Group:          X11/Applications/Multimedia
12 Source0:        http://dl.sourceforge.net/domo/%{name}-%{version}.tar.gz
13 # Source0-md5:  9a1b631b81b3b84145cfe4d336310622
14 Patch0:         %{name}-%{version}_include.patch
15 Patch1:         %{name}-%{version}_pro.patch
16 URL:            http://domo.sf.net
17 BuildRequires:  libmad-devel
18 BuildRequires:  libmusicbrainz >= 2.0
19 BuildRequires:  libvorbis-devel
20 BuildRequires:  qmake
21 BuildRequires:  qt-devel >= 6:3.3.4
22 BuildRequires:  qt-linguist
23 BuildRequires:  qt-plugin-mysql >= 6:3.3.4
24 BuildRequires:  taglib-devel >= 1.2
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Domo is a music organizer which indexes digital audio sources,
29 extracts all information and inserts everything into a relational
30 database. The database can then be queried, exported and compared with
31 other digital audio sources. Musicbrainz support is also available for
32 the looking up of Audio CDs or for identifying unknown tracks based on
33 their TRM audio fingerprint.
34
35 %description -l pl.UTF-8
36 Domo jest organizerem muzyki, który indeksuje cyfrowe źródła dźwięku,
37 wydobywa wszystkie informacje i umieszczą je w relacyjnej bazie
38 danych. Bazę danych można odpytywać, eksportować i porównywać z innymi
39 cyfrowymi źródłami dźwięku. Dostępna jest obsługa Musicbrainz do
40 wyszukiwania płyt CD Audio albo identyfikowania nieznanych ścieżek w
41 oparciu o ich odcisk dźwiękowy TRM.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 # Create the language files
50 lrelease domo.pro
51
52 # Create the makefile
53 qmake domo.pro
54
55 # Compile
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc INSTALL RELEASE README CHANGELOG
73 %attr(755,root,root) %{_bindir}/domo
74 %dir %{_sysconfdir}/domo
75 %dir %{_sysconfdir}/domo/resources
76 %{_sysconfdir}/domo/resources/*.txt
77 %dir %{_sysconfdir}/domo/images
78 %{_sysconfdir}/domo/images/*.png
79 %dir %{_sysconfdir}/domo/languages
80 %{_sysconfdir}/domo/languages/*.qm
81 %dir %{_sysconfdir}/domo/doc
82 %dir %{_sysconfdir}/domo/doc/*
This page took 0.092704 seconds and 3 git commands to generate.