]> git.pld-linux.org Git - packages/cdcat.git/blame - cdcat.spec
- BR: qt4-build
[packages/cdcat.git] / cdcat.spec
CommitLineData
ed3833bd 1%define devstat Beta1
39d3683d 2Summary: Hyper's CdCatalog
b0e73572 3Summary(hu.UTF-8): Hyper CD Katalógusa
3443b4ae 4Summary(pl.UTF-8): Katalog CDków Hypera
ab039f8b 5Name: cdcat
b00d398e 6Version: 1.2
ed3833bd 7Release: 1%{devstat}
ab039f8b 8License: GPL
b00d398e
ZU
9Group: X11/Applications
10Source0: http://cdcat.sourceforge.net/CdCat-Unicode-1.1%{devstat}-qt4.tar.gz
11# Source0-md5: fe5925235bc7e8a2b6788419c0480c93
39d3683d 12Source1: %{name}.desktop
13Patch0: %{name}-gcc4.patch
d850769a 14Patch1: %{name}-fstab.patch
ab039f8b 15URL: http://cdcat.sourceforge.net/
16dfd00e 16BuildRequires: Qt3Support-devel
17BuildRequires: QtGui-devel
ab039f8b
TP
18BuildRequires: expat-devel >= 1.95.2
19BuildRequires: pcre-devel >= 1.1.4
16dfd00e 20BuildRequires: qt4-build
ed3833bd 21BuildRequires: qt4-linguist
16dfd00e 22BuildRequires: qt4-qmake
ab039f8b
TP
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
6ef19a01 26The cdcat is a graphical (Qt based) multiplatform (Linux/Windows)
ab039f8b 27catalog program which scan your directoryes/drives you want and
188e4ca0 28memoryze the filesystem /including the tags of MP3's/ and store it a
39d3683d 29small file. The database is stored in a gzipped XML format, so you can
30hack it, or use it if necessary :-)
ab039f8b 31
b0e73572
ZU
32%description -l hu.UTF-8
33A cdcat egy grafikus (QT alapú) többplatformos (Linux/Windows/MacOS)
34katalógus program, mely beolvassa a megadott könyvtárakat és
35fájlszerkezeteket, és egy kis fájlban eltárolja, így késõbb könnyedén
36visszakereshetők a tárolt programok, zenék, filmek, stb. Az mp3-akhoz
37tartozó tag-ek is megjegyzésre kerülnek. Az adatbázis egy gzippelt XML
38formátumban tárolódik, így hordozható és könnyen hack-elhetõ, ha kell.
39
f097aee6 40%description -l pl.UTF-8
6ef19a01 41Cdcat jest graficznym (opartym o Qt) wieloplatformowym (Linux/Windows)
f097aee6
JR
42programem katalogującym, który skanuje wybrane dyski i zapamiętuje
43system plików (włączając w to znaczniki MP3) i zapisuje to w małym
44pliku. Baza danych jest w gzipowanym pliku XML, więc można ją
45zmieniać, 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 55cd unicode-src
ab039f8b 56export QTDIR=%{_prefix}
ed3833bd 57qmake-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
65rm -rf $RPM_BUILD_ROOT
4061f323 66install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
ab039f8b 67
ed3833bd
ZU
68install -D unicode-src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat
69install unicode-src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
ab039f8b
TP
70install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop
71install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png
72
73%clean
74rm -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}/*
This page took 0.087561 seconds and 4 git commands to generate.