diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..448f016 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +crpTag_0.1.3.zip diff --git a/Makefile b/Makefile deleted file mode 100644 index 92c4817..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: zikula-module-crpTag -# $Id$ -NAME := zikula-module-crpTag -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/sources b/sources index e69de29..c03df3f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +51ff4ac0f569e144e07cd886ec0f1fd0 crpTag_0.1.3.zip diff --git a/zikula-module-crpTag.spec b/zikula-module-crpTag.spec new file mode 100644 index 0000000..27ebb73 --- /dev/null +++ b/zikula-module-crpTag.spec @@ -0,0 +1,56 @@ +%global zikula_base %{_datadir}/zikula +%global zikula_moddir %{zikula_base}/modules +%global zikula_modname crpTag + +Name: zikula-module-%{zikula_modname} +Version: 0.1.3 +Release: 3%{?dist} +Summary: Simple Zikula component for tagging items, based on hooks + +Group: Applications/Publishing +License: LGPLv2+ +URL: http://code.zikula.org/crptag +# http://code.zikula.org/crptag/changeset/114/tags/crpTag_0.1.3?old_path=%2F&format=zip +Source0: %{zikula_modname}_%{version}.zip +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +#BuildRequires: +Requires: zikula + +%description +crpTag is a simple Zikula component for tagging items, based on hooks. + + +%prep +%setup -qn tags/%{zikula_modname}_%{version} +# Remove empty index.html and others +find -size 0 | xargs rm -f + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__mkdir} -p $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname} +cp -pr . $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname} +rm -rf $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname}/pndocs + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc pndocs/changelog.txt pndocs/license.txt pndocs/credits.txt +%{zikula_moddir}/%{zikula_modname} + + +%changelog +* Mon Jun 22 2009 Eric "Sparks" Christensen - 0.1.3-3 +- Corrected license +* Sun Jun 14 2009 Eric "Sparks" Christensen - 0.1.3-2 +- Corrected spaces and tab mixed use in SPEC +* Sun Jun 14 2009 Fedora Docs Team - 0.1.3-1 +- Initial RPM release