1 Summary: Hypher's CdCatalog
2 Summary(pl): Katalog CDków Hypera
8 Source0: http://cdcat.sourceforge.net/%{name}-%{version}.tar.bz2
9 # Source0-md5: f0e5efabc10706c9130bd42676516cd3
10 Source1: cdcat.desktop
11 URL: http://cdcat.sourceforge.net/
12 BuildRequires: expat-devel >= 1.95.2
13 BuildRequires: pcre-devel >= 1.1.4
14 BuildRequires: qt-devel >= 2.0.3
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The cdcat is a graphical (QT based) multiplatform (Linux/Windows)
19 catalog program which scan your directoryes/drives you want and
20 memoryze the filesystem /including the tags of mp3's/ and store it a
21 small file. The database is stored in a gzipped XML format, so you
22 can hack it, or use it if necessary :-)
25 Cdcat jest graficznym (opartym o QT) wieloplatformowym (Linux/Windows)
26 programem kataloguj±cym, który skanuje wybrane dyski i zapamiêtuje
27 system plików (w³±czaj±c w to znaczniki mp3) i zapisuje to w ma³ym
28 pliku. Baza danych jest w gzipowanym pliku XML, wiêc mo¿na j±
29 zmieniaæ, albo u¿ywaæ w miarê potrzeby.
32 %setup -q -n CdCat-%{version}
34 echo 'CONFIG += thread' >> src/cdcat.pro
38 export QTDIR=%{_prefix}
40 QMAKE_CXX="%{__cxx}" \
41 QMAKE_LINK="%{__cxx}" \
42 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags} -fno-exceptions -fno-rtti"
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
50 install -D src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat
51 install src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
52 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop
53 install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png
56 rm -fr $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc Authors ChangeLog README README_IMPORT TRANSLATORS_README TODO VERSION
61 %attr(755,root,root) %{_bindir}/*
62 %dir %{_datadir}/cdcat
63 %dir %{_datadir}/cdcat/translations
64 %lang(cs) %{_datadir}/cdcat/translations/cdcat_cz.qm
65 %lang(de) %{_datadir}/cdcat/translations/cdcat_de.qm
66 %lang(es) %{_datadir}/cdcat/translations/cdcat_es.qm
67 %lang(hu) %{_datadir}/cdcat/translations/cdcat_hu.qm