%define appname kreetingkard %define mainver 0.2.0 %define vendorrel 3 %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 * Tue Feb 24 2009 Mamoru Tasaka - 0.2.0-3 - F-11: Mass rebuild * 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