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