]> git.pld-linux.org Git - packages/cdcat.git/blob - cdcat.spec
- update to 0.95 (from Piotr Budny <vip at linux.pl>)
[packages/cdcat.git] / cdcat.spec
1 Summary:        Hypher's CdCatalog
2 Summary(pl):    Katalog CDków Hypera
3 Name:           cdcat
4 Version:        0.95
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://cdcat.sourceforge.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  65e1838137f9179109d01fc07a07ee84
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 %build
35 cd src
36 export QTDIR=%{_prefix}
37 qmake \
38         QMAKE_CXX="%{__cxx}" \
39         QMAKE_LINK="%{__cxx}" \
40         QMAKE_CXXFLAGS_RELEASE="%{rpmcflags} -fno-exceptions -fno-rtti"
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
47
48 install -D src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat
49 install src/lang/cdcat_*.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations
50 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop
51 install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png
52
53 %clean
54 rm -fr $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Authors ChangeLog README README_CSV_IMPORT TRANSLATORS_README TODO VERSION
59 %attr(755,root,root) %{_bindir}/*
60 %dir %{_datadir}/cdcat
61 %dir %{_datadir}/cdcat/translations
62 %lang(cs) %{_datadir}/cdcat/translations/cdcat_cz.qm
63 %lang(de) %{_datadir}/cdcat/translations/cdcat_de.qm
64 %lang(es) %{_datadir}/cdcat/translations/cdcat_es.qm
65 %lang(hu) %{_datadir}/cdcat/translations/cdcat_hu.qm
66 %{_desktopdir}/*
67 %{_pixmapsdir}/*
This page took 0.056772 seconds and 4 git commands to generate.