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