]>
Commit | Line | Data |
---|---|---|
39d3683d | 1 | Summary: Hyper's CdCatalog |
f097aee6 | 2 | Summary(pl.UTF-8): Katalog CDków Hypera |
ab039f8b | 3 | Name: cdcat |
39d3683d | 4 | Version: 1.01b |
5 | Release: 1 | |
ab039f8b TP |
6 | License: GPL |
7 | Group: Applications | |
6985cef0 | 8 | Source0: http://cdcat.sourceforge.net/%{name}-%{version}.tar.bz2 |
39d3683d | 9 | # Source0-md5: 59b321ff3848b34cb6862fd2a408cb44 |
10 | Source1: %{name}.desktop | |
11 | Patch0: %{name}-gcc4.patch | |
ab039f8b TP |
12 | URL: http://cdcat.sourceforge.net/ |
13 | BuildRequires: expat-devel >= 1.95.2 | |
14 | BuildRequires: pcre-devel >= 1.1.4 | |
bc575c30 | 15 | BuildRequires: qmake |
ab039f8b TP |
16 | BuildRequires: qt-devel >= 2.0.3 |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
6ef19a01 | 20 | The cdcat is a graphical (Qt based) multiplatform (Linux/Windows) |
ab039f8b | 21 | catalog program which scan your directoryes/drives you want and |
188e4ca0 | 22 | memoryze the filesystem /including the tags of MP3's/ and store it a |
39d3683d | 23 | small file. The database is stored in a gzipped XML format, so you can |
24 | hack it, or use it if necessary :-) | |
ab039f8b | 25 | |
f097aee6 | 26 | %description -l pl.UTF-8 |
6ef19a01 | 27 | Cdcat jest graficznym (opartym o Qt) wieloplatformowym (Linux/Windows) |
f097aee6 JR |
28 | programem katalogującym, który skanuje wybrane dyski i zapamiętuje |
29 | system plików (włączając w to znaczniki MP3) i zapisuje to w małym | |
30 | pliku. Baza danych jest w gzipowanym pliku XML, więc można ją | |
31 | zmieniać, albo używać w miarę potrzeby. | |
ab039f8b TP |
32 | |
33 | %prep | |
4061f323 | 34 | %setup -q -n CdCat-%{version} |
39d3683d | 35 | %patch0 -p0 |
1608ab01 JB |
36 | echo 'CONFIG += thread' >> src/cdcat.pro |
37 | ||
ab039f8b TP |
38 | %build |
39 | cd src | |
40 | export QTDIR=%{_prefix} | |
4061f323 JB |
41 | qmake \ |
42 | QMAKE_CXX="%{__cxx}" \ | |
43 | QMAKE_LINK="%{__cxx}" \ | |
44 | QMAKE_CXXFLAGS_RELEASE="%{rpmcflags} -fno-exceptions -fno-rtti" | |
45 | ||
ab039f8b TP |
46 | %{__make} |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
4061f323 | 50 | install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations |
ab039f8b TP |
51 | |
52 | install -D src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat | |
4061f323 | 53 | install src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations |
ab039f8b TP |
54 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop |
55 | install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png | |
56 | ||
57 | %clean | |
58 | rm -fr $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
003a2b35 | 62 | %doc Authors ChangeLog README README_IMPORT TRANSLATORS_README TODO VERSION |
ab039f8b | 63 | %attr(755,root,root) %{_bindir}/* |
4061f323 JB |
64 | %dir %{_datadir}/cdcat |
65 | %dir %{_datadir}/cdcat/translations | |
66 | %lang(cs) %{_datadir}/cdcat/translations/cdcat_cz.qm | |
67 | %lang(de) %{_datadir}/cdcat/translations/cdcat_de.qm | |
39d3683d | 68 | %lang(el) %{_datadir}/cdcat/translations/cdcat_el.qm |
4061f323 | 69 | %lang(es) %{_datadir}/cdcat/translations/cdcat_es.qm |
39d3683d | 70 | %lang(fr) %{_datadir}/cdcat/translations/cdcat_fr.qm |
4061f323 | 71 | %lang(hu) %{_datadir}/cdcat/translations/cdcat_hu.qm |
39d3683d | 72 | %lang(id) %{_datadir}/cdcat/translations/cdcat_id.qm |
73 | %lang(it) %{_datadir}/cdcat/translations/cdcat_it.qm | |
1a80877f | 74 | %lang(pl) %{_datadir}/cdcat/translations/cdcat_pl.qm |
39d3683d | 75 | %lang(pt) %{_datadir}/cdcat/translations/cdcat_pt.qm |
76 | %lang(sk) %{_datadir}/cdcat/translations/cdcat_sk.qm | |
77 | %lang(sr) %{_datadir}/cdcat/translations/cdcat_sr.qm | |
221e0d8f | 78 | %{_desktopdir}/*.desktop |
ab039f8b | 79 | %{_pixmapsdir}/* |