# TODO: # - lang() for *.qm # - data in /etc ??? # - is INSTALL file useful in rpm? Summary: A music organising database application Summary(pl.UTF-8): Organizator aplikacji muzycznych Name: domo Version: 2.4 Release: 0.1 License: GPL Group: X11/Applications/Multimedia Source0: http://dl.sourceforge.net/domo/%{name}-%{version}.tar.gz # Source0-md5: 9a1b631b81b3b84145cfe4d336310622 Patch0: %{name}-%{version}_include.patch Patch1: %{name}-%{version}_pro.patch URL: http://domo.sf.net BuildRequires: libmad-devel BuildRequires: libmusicbrainz >= 2.0 BuildRequires: libvorbis-devel BuildRequires: qmake BuildRequires: qt-devel >= 6:3.3.4 BuildRequires: qt-linguist BuildRequires: qt-plugin-mysql >= 6:3.3.4 BuildRequires: taglib-devel >= 1.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Domo is a music organizer which indexes digital audio sources, extracts all information and inserts everything into a relational database. The database can then be queried, exported and compared with other digital audio sources. Musicbrainz support is also available for the looking up of Audio CDs or for identifying unknown tracks based on their TRM audio fingerprint. %description -l pl.UTF-8 Domo jest organizerem muzyki, który indeksuje cyfrowe źródła dźwięku, wydobywa wszystkie informacje i umieszczą je w relacyjnej bazie danych. Bazę danych można odpytywać, eksportować i porównywać z innymi cyfrowymi źródłami dźwięku. Dostępna jest obsługa Musicbrainz do wyszukiwania płyt CD Audio albo identyfikowania nieznanych ścieżek w oparciu o ich odcisk dźwiękowy TRM. %prep %setup -q %patch0 -p1 %patch1 -p1 %build # Create the language files lrelease domo.pro # Create the makefile qmake domo.pro # Compile %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc INSTALL RELEASE README CHANGELOG %attr(755,root,root) %{_bindir}/domo %dir %{_sysconfdir}/domo %dir %{_sysconfdir}/domo/resources %{_sysconfdir}/domo/resources/*.txt %dir %{_sysconfdir}/domo/images %{_sysconfdir}/domo/images/*.png %dir %{_sysconfdir}/domo/languages %{_sysconfdir}/domo/languages/*.qm %dir %{_sysconfdir}/domo/doc %dir %{_sysconfdir}/domo/doc/*