%define alphatag 20091002svn %define base zikula %define module Content Name: %{base}-%{module} Version: 3.0.3.1.%{alphatag} Release: 1%{?dist} Summary: Zikula is a free open source Web Application Framework Group: Applications/Publishing License: GPLv2+ URL: http://www.zikula.org/ Source0: %{name}-%{version}.zip #URL for source is http://code.zikula.org/content/changeset/337/tags/version-3.0.3?old_path=%2F&format=zip BuildArch: noarch Requires: zikula %description zikula-Content is a page editing module for Zikula. With it you can insert and edit various content items, such as HTML texts, YouTube videos, Google maps and much more. %prep %setup -c -qn %{name}-%{version} %build #nothing really for this section but rpmbuild complains if build is empty %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/%{base}/modules/%{module} cp -pr ./*/*/* -t %{buildroot}/%{_datadir}/%{base}/modules/%{module} #Getting rid of zerolength files find ${RPM_BUILD_ROOT} -empty -exec rm -f {} \; %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/%{base}/modules/%{module} %changelog * Wed Mar 25 2009 Lukas Hetzenecker 3.0.3.1.20091002svn-1 - Initial Spec file creation for Fedora