From 320be0c1068be560e0a4ad61a24c5db80d47d107 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2009 19:29:54 +0000 Subject: [PATCH 1/1] - new package Changed files: canta-media.spec -> 1.1 --- canta-media.spec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 canta-media.spec diff --git a/canta-media.spec b/canta-media.spec new file mode 100644 index 0000000..bd70ab8 --- /dev/null +++ b/canta-media.spec @@ -0,0 +1,32 @@ +%define _rc rc2 +Summary: Data files for Canta +Name: canta-media +Version: 0.2 +Release: 0.%{_rc}.0.1 +License: GPLv3 +Group: X11/Applications/Games +Source0: http://cgit.canta-game.org/cgit.cgi/canta-media/snapshot/%{name}-%{version}-%{_rc}.tar.bz2 +# Source0-md5: 43ecf1772bdae11b0581c05dbdb80841 +URL: http://www.canta-game.org/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Data files for Canta. + +%prep +%setup -qn %{name}-%{version}-%{_rc} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/canta/media +cp -a songs themes $RPM_BUILD_ROOT%{_datadir}/canta/media + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_datadir}/canta/media/songs/* +%{_datadir}/canta/media/themes/* -- 2.43.0