From b094644d3845e212e2bf883f153e026cd20f0d93 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Oct 21 2007 17:02:15 +0000 Subject: kreetingkard initial commit --- diff --git a/.cvsignore b/.cvsignore index e69de29..7ce79ba 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +kreetingkard_templates-0.2.0.tar.gz diff --git a/kreetingkard_templates.spec b/kreetingkard_templates.spec new file mode 100644 index 0000000..7770ce0 --- /dev/null +++ b/kreetingkard_templates.spec @@ -0,0 +1,65 @@ +%define appname kreetingkard + +%define mainver 0.2.0 +%define vendorrel 2 +%define repoid 18013 + + + +Name: kreetingkard_templates +Version: %{mainver} +Release: %{vendorrel}%{?dist} +Summary: Template files for KreetingKard + +Group: Applications/Productivity +License: GPL+ +URL: http://linux-life.net/program/cc/kde/app/kreetingkard/ +Source0: http://downloads.sourceforge.jp/%{appname}/%{repoid}/%{name}-%{mainver}.tar.gz +# From Mandriva +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: %{appname} >= 0.7.1 + +BuildArch: noarch + +%description +KreetingKard is a tool for making Japanese greeting cards. It allows you to +make greeting cards easily by choosing a template and changing the words. + +This package contains some template files for KreetingKard. + + +%prep +%setup -q + +find templates/ -name CVS | sort -r | xargs %{__rm} -rf +find templates/ -name Makefile\* -or -name \*.rb | xargs %{__rm} -f + +%build +# This package is noarch, however when we set BuildArch as +# noarch, %%configure fails strangefully. So we install the needed files +# manually. +echo "Nothing to do here" + +%install +%{__rm} -rf $RPM_BUILD_ROOT + +%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/apps/%{appname}/ +%{__cp} -pr templates/ $RPM_BUILD_ROOT%{_datadir}/apps/%{appname}/ + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS +%doc COPYING +%doc README + +%{_datadir}/apps/%{appname}/templates/ + +%changelog +* Mon Oct 22 2007 Mamoru Tasaka - 0.2.0-2 +- Fix typo. + +* Thu Oct 18 2007 Mamoru Tasaka - 0.2.0-1 +- Initial spec file diff --git a/sources b/sources index e69de29..251fe91 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eac5226bb0f1b1e1ccbbff149b617de0 kreetingkard_templates-0.2.0.tar.gz