]>
Commit | Line | Data |
---|---|---|
ed3833bd | 1 | %define devstat Beta1 |
39d3683d | 2 | Summary: Hyper's CdCatalog |
b0e73572 | 3 | Summary(hu.UTF-8): Hyper CD Katalógusa |
3443b4ae | 4 | Summary(pl.UTF-8): Katalog CDków Hypera |
ab039f8b | 5 | Name: cdcat |
b00d398e | 6 | Version: 1.2 |
ed3833bd | 7 | Release: 1%{devstat} |
ab039f8b | 8 | License: GPL |
b00d398e ZU |
9 | Group: X11/Applications |
10 | Source0: http://cdcat.sourceforge.net/CdCat-Unicode-1.1%{devstat}-qt4.tar.gz | |
11 | # Source0-md5: fe5925235bc7e8a2b6788419c0480c93 | |
39d3683d | 12 | Source1: %{name}.desktop |
13 | Patch0: %{name}-gcc4.patch | |
d850769a | 14 | Patch1: %{name}-fstab.patch |
ab039f8b TP |
15 | URL: http://cdcat.sourceforge.net/ |
16 | BuildRequires: expat-devel >= 1.95.2 | |
17 | BuildRequires: pcre-devel >= 1.1.4 | |
ed3833bd ZU |
18 | BuildRequires: qt4-qmake |
19 | BuildRequires: qt4-linguist | |
20 | BuildRequires: Qt3Support-devel | |
21 | BuildRequires: QtGui-devel | |
ab039f8b TP |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
6ef19a01 | 25 | The cdcat is a graphical (Qt based) multiplatform (Linux/Windows) |
ab039f8b | 26 | catalog program which scan your directoryes/drives you want and |
188e4ca0 | 27 | memoryze the filesystem /including the tags of MP3's/ and store it a |
39d3683d | 28 | small file. The database is stored in a gzipped XML format, so you can |
29 | hack it, or use it if necessary :-) | |
ab039f8b | 30 | |
b0e73572 ZU |
31 | %description -l hu.UTF-8 |
32 | A cdcat egy grafikus (QT alapú) többplatformos (Linux/Windows/MacOS) | |
33 | katalógus program, mely beolvassa a megadott könyvtárakat és | |
34 | fájlszerkezeteket, és egy kis fájlban eltárolja, így késõbb könnyedén | |
35 | visszakereshetők a tárolt programok, zenék, filmek, stb. Az mp3-akhoz | |
36 | tartozó tag-ek is megjegyzésre kerülnek. Az adatbázis egy gzippelt XML | |
37 | formátumban tárolódik, így hordozható és könnyen hack-elhetõ, ha kell. | |
38 | ||
f097aee6 | 39 | %description -l pl.UTF-8 |
6ef19a01 | 40 | Cdcat jest graficznym (opartym o Qt) wieloplatformowym (Linux/Windows) |
f097aee6 JR |
41 | programem katalogującym, który skanuje wybrane dyski i zapamiętuje |
42 | system plików (włączając w to znaczniki MP3) i zapisuje to w małym | |
43 | pliku. Baza danych jest w gzipowanym pliku XML, więc można ją | |
44 | zmieniać, albo używać w miarę potrzeby. | |
ab039f8b TP |
45 | |
46 | %prep | |
b00d398e | 47 | %setup -q -n CdCat-Unicode-1.1%{devstat}-qt4 |
ed3833bd ZU |
48 | %{__sed} -i "s,lrelease,lrelease-qt4,g" unicode-src/cdcat.pro |
49 | # %patch0 -p0 | |
50 | # %patch1 -p0 | |
51 | # echo 'CONFIG += thread' >> src/cdcat.pro | |
1608ab01 | 52 | |
ab039f8b | 53 | %build |
ed3833bd | 54 | cd unicode-src |
ab039f8b | 55 | export QTDIR=%{_prefix} |
ed3833bd | 56 | qmake-qt4 \ |
4061f323 JB |
57 | QMAKE_CXX="%{__cxx}" \ |
58 | QMAKE_LINK="%{__cxx}" \ | |
59 | QMAKE_CXXFLAGS_RELEASE="%{rpmcflags} -fno-exceptions -fno-rtti" | |
60 | ||
ab039f8b TP |
61 | %{__make} |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
4061f323 | 65 | install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations |
ab039f8b | 66 | |
ed3833bd ZU |
67 | install -D unicode-src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat |
68 | install unicode-src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations | |
ab039f8b TP |
69 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop |
70 | install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png | |
71 | ||
72 | %clean | |
73 | rm -fr $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
ed3833bd | 77 | %doc Authors README README_IMPORT TRANSLATORS_README TODO VERSION |
ab039f8b | 78 | %attr(755,root,root) %{_bindir}/* |
4061f323 JB |
79 | %dir %{_datadir}/cdcat |
80 | %dir %{_datadir}/cdcat/translations | |
81 | %lang(cs) %{_datadir}/cdcat/translations/cdcat_cz.qm | |
82 | %lang(de) %{_datadir}/cdcat/translations/cdcat_de.qm | |
39d3683d | 83 | %lang(el) %{_datadir}/cdcat/translations/cdcat_el.qm |
4061f323 | 84 | %lang(es) %{_datadir}/cdcat/translations/cdcat_es.qm |
ed3833bd | 85 | # %lang(fr) %{_datadir}/cdcat/translations/cdcat_fr.qm |
4061f323 | 86 | %lang(hu) %{_datadir}/cdcat/translations/cdcat_hu.qm |
39d3683d | 87 | %lang(id) %{_datadir}/cdcat/translations/cdcat_id.qm |
ed3833bd | 88 | # %lang(it) %{_datadir}/cdcat/translations/cdcat_it.qm |
1a80877f | 89 | %lang(pl) %{_datadir}/cdcat/translations/cdcat_pl.qm |
39d3683d | 90 | %lang(pt) %{_datadir}/cdcat/translations/cdcat_pt.qm |
91 | %lang(sk) %{_datadir}/cdcat/translations/cdcat_sk.qm | |
ed3833bd | 92 | # %lang(sr) %{_datadir}/cdcat/translations/cdcat_sr.qm |
221e0d8f | 93 | %{_desktopdir}/*.desktop |
ab039f8b | 94 | %{_pixmapsdir}/* |