From ab039f8b9309ae2ae97de35ae74b9855fc5ec8be Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Sat, 13 Dec 2003 21:28:34 +0000 Subject: [PATCH] - from maHo lukasz at mach com pl Changed files: cdcat.desktop -> 1.1 cdcat.spec -> 1.1 --- cdcat.desktop | 11 +++++++++ cdcat.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 cdcat.desktop create mode 100644 cdcat.spec diff --git a/cdcat.desktop b/cdcat.desktop new file mode 100644 index 0000000..c49c03d --- /dev/null +++ b/cdcat.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=cdcat +Name[pl]=cdcat +Comment=Hyper's CdCat +Comment[pl]=Katalog CD Hypera +Icon=cdcat.png +Exec=cdcat +Terminal=false +Type=Application +Categories=Qt;Utility;Archiving;Database; +Encoding=UTF-8 diff --git a/cdcat.spec b/cdcat.spec new file mode 100644 index 0000000..9eb7866 --- /dev/null +++ b/cdcat.spec @@ -0,0 +1,63 @@ +# $Revision: 1.1 $ +Summary: Hypher's CdCatalog +Summary(pl): Katalog CDków Hypera +Name: cdcat +Version: 0.93 +Release: 0.1 +License: GPL +Group: Applications +Source0: http://dl.sourceforge.net/cdcat/cdcat-0.93.tar.bz2 +# Source0-md5: 5d27a6f7cf8f887dadbf2cb5caa16e24 +Source1: cdcat.desktop +URL: http://cdcat.sourceforge.net/ +BuildRequires: expat-devel >= 1.95.2 +BuildRequires: pcre-devel >= 1.1.4 +BuildRequires: qt-devel >= 2.0.3 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The cdcat is a graphical (QT based) multiplatform (Linux/Windows) +catalog program which scan your directoryes/drives you want and +memoryze the filesystem /including the tags of mp3's/ and store it a +small file. The database is stored in a gzipped XML format, so you +can hack it, or use it if necessary :-) + + +%description -l pl +Cdcat jest graficznym (opartym o QT) wieloplatformowym (Linux/Window) +programem kataloguj±cym który skanuje dyski które chesz i zapamiêtuje +system plików, w³±czaj±c w to znaczniki mp3j, i zapamiêtuje to w ma³ym +pliku. Baza danych jest w formacie gzipped XML, wiêc mo¿esz j± +zmieniaæ, albo u¿ywaæ w miarê potrzeby. + +%prep +%setup -n CdCat-%{version} + +%build +cd src +export QTDIR=%{_prefix} +export QMAKESPEC="%{_datadir}/qt/mkspecs/linux-g++/" +qmake +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -D src/cdcat $RPM_BUILD_ROOT%{_bindir}/cdcat +for L in de es cz hu;do + install -D src/lang/cdcat_$L.qm $RPM_BUILD_ROOT%{_datadir}/cdcat/translations/cdcat_$L.qm +done +install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop +install -D cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png + +%clean +rm -fr $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README_CSV_IMPORT Authors ChangeLog COPYING TRANSLATORS_README TODO VERSION + +%attr(755,root,root) %{_bindir}/* +%{_desktopdir}/* +%{_pixmapsdir}/* +%{_datadir}/cdcat -- 2.44.0