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