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