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