Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f85871800 | ||
|
|
1f07917ca3 | ||
|
|
69801471b1 | ||
| 7b07bc25e0 |
7 changed files with 2 additions and 81 deletions
|
|
@ -1 +0,0 @@
|
|||
advanced_polls151.zip
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
advanced_polls200.zip
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: zikula-module-advanced_polls
|
||||
# $Id$
|
||||
NAME := zikula-module-advanced_polls
|
||||
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 $$d/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)
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
This package was retired due to no active owner on 2011-02-23
|
||||
|
|
@ -1 +0,0 @@
|
|||
zikula-module-advanced_polls-1_5_1-1_fc11:HEAD:zikula-module-advanced_polls-1.5.1-1.fc11.src.rpm:1256006189
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
8f4f1fb4095c7b428bff2273d2be4106 advanced_polls151.zip
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
%global zikula_base %{_datadir}/zikula
|
||||
%global zikula_moddir %{zikula_base}/modules
|
||||
%global zikula_modname advanced_polls
|
||||
|
||||
Name: zikula-module-%{zikula_modname}
|
||||
Version: 1.5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Advanced voting system for Zikula
|
||||
|
||||
Group: Applications/Publishing
|
||||
License: GPL+
|
||||
URL: http://code.zikula.org/avancedpolls/downloads
|
||||
# http://code.zikula.org/advancedpolls/downloads/2
|
||||
Source0: %{zikula_modname}151.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
#BuildRequires:
|
||||
Requires: zikula
|
||||
|
||||
%description
|
||||
Advanced Polls is an advanced voting system for the Zikula CMS system
|
||||
|
||||
|
||||
%prep
|
||||
%setup -qn html/modules/%{zikula_modname}
|
||||
# Remove empty index.html and others
|
||||
find -size 0 | xargs rm -f
|
||||
|
||||
|
||||
%build
|
||||
# Fixing wrong-file-end-of-line-encoding errors
|
||||
cd pndocs
|
||||
sed -i 's/\r//' credits.txt
|
||||
sed -i 's/\r//' changelog.txt
|
||||
sed -i 's/\r//' help.txt
|
||||
sed -i 's/\r//' license.txt
|
||||
|
||||
%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/credits.txt pndocs/changelog.txt pndocs/help.txt pndocs/license.txt
|
||||
%{zikula_moddir}/%{zikula_modname}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 15 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 1.5.1-1
|
||||
- Initial RPM release
|
||||
Loading…
Add table
Add a link
Reference in a new issue