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