]> git.pld-linux.org Git - packages/cdcat.git/blame - cdcat.spec
- converted to UTF-8
[packages/cdcat.git] / cdcat.spec
CommitLineData
39d3683d 1Summary: Hyper's CdCatalog
f097aee6 2Summary(pl.UTF-8): Katalog CDków Hypera
ab039f8b 3Name: cdcat
39d3683d 4Version: 1.01b
5Release: 1
ab039f8b
TP
6License: GPL
7Group: Applications
6985cef0 8Source0: http://cdcat.sourceforge.net/%{name}-%{version}.tar.bz2
39d3683d 9# Source0-md5: 59b321ff3848b34cb6862fd2a408cb44
10Source1: %{name}.desktop
11Patch0: %{name}-gcc4.patch
ab039f8b
TP
12URL: http://cdcat.sourceforge.net/
13BuildRequires: expat-devel >= 1.95.2
14BuildRequires: pcre-devel >= 1.1.4
bc575c30 15BuildRequires: qmake
ab039f8b
TP
16BuildRequires: qt-devel >= 2.0.3
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
6ef19a01 20The cdcat is a graphical (Qt based) multiplatform (Linux/Windows)
ab039f8b 21catalog program which scan your directoryes/drives you want and
188e4ca0 22memoryze the filesystem /including the tags of MP3's/ and store it a
39d3683d 23small file. The database is stored in a gzipped XML format, so you can
24hack it, or use it if necessary :-)
ab039f8b 25
f097aee6 26%description -l pl.UTF-8
6ef19a01 27Cdcat jest graficznym (opartym o Qt) wieloplatformowym (Linux/Windows)
f097aee6
JR
28programem katalogującym, który skanuje wybrane dyski i zapamiętuje
29system plików (włączając w to znaczniki MP3) i zapisuje to w małym
30pliku. Baza danych jest w gzipowanym pliku XML, więc można ją
31zmieniać, albo używać w miarę potrzeby.
ab039f8b
TP
32
33%prep
4061f323 34%setup -q -n CdCat-%{version}
39d3683d 35%patch0 -p0
1608ab01
JB
36echo 'CONFIG += thread' >> src/cdcat.pro
37
ab039f8b
TP
38%build
39cd src
40export QTDIR=%{_prefix}
4061f323
JB
41qmake \
42 QMAKE_CXX="%{__cxx}" \
43 QMAKE_LINK="%{__cxx}" \
44 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags} -fno-exceptions -fno-rtti"
45
ab039f8b
TP
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
4061f323 50install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
ab039f8b
TP
51
52install -D src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat
4061f323 53install src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
ab039f8b
TP
54install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop
55install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png
56
57%clean
58rm -fr $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
003a2b35 62%doc Authors ChangeLog README README_IMPORT TRANSLATORS_README TODO VERSION
ab039f8b 63%attr(755,root,root) %{_bindir}/*
4061f323
JB
64%dir %{_datadir}/cdcat
65%dir %{_datadir}/cdcat/translations
66%lang(cs) %{_datadir}/cdcat/translations/cdcat_cz.qm
67%lang(de) %{_datadir}/cdcat/translations/cdcat_de.qm
39d3683d 68%lang(el) %{_datadir}/cdcat/translations/cdcat_el.qm
4061f323 69%lang(es) %{_datadir}/cdcat/translations/cdcat_es.qm
39d3683d 70%lang(fr) %{_datadir}/cdcat/translations/cdcat_fr.qm
4061f323 71%lang(hu) %{_datadir}/cdcat/translations/cdcat_hu.qm
39d3683d 72%lang(id) %{_datadir}/cdcat/translations/cdcat_id.qm
73%lang(it) %{_datadir}/cdcat/translations/cdcat_it.qm
1a80877f 74%lang(pl) %{_datadir}/cdcat/translations/cdcat_pl.qm
39d3683d 75%lang(pt) %{_datadir}/cdcat/translations/cdcat_pt.qm
76%lang(sk) %{_datadir}/cdcat/translations/cdcat_sk.qm
77%lang(sr) %{_datadir}/cdcat/translations/cdcat_sr.qm
221e0d8f 78%{_desktopdir}/*.desktop
ab039f8b 79%{_pixmapsdir}/*
This page took 0.0831 seconds and 4 git commands to generate.