Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cec63cc1cc | ||
|
|
71c4dcedda | ||
|
|
21a0cebd7b | ||
| f4ff5b0ab1 |
4 changed files with 63 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
Polls_2.1.0.zip
|
||||
Polls_2_0_2.zip
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
This package was retired due to no active owner on 2011-02-23
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
cad0cb9287ab06d935461b7e5fbbf939 Polls_2_0_2.zip
|
||||
61
zikula-module-Polls.spec
Normal file
61
zikula-module-Polls.spec
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
%global zikula_base %{_datadir}/zikula
|
||||
%global zikula_moddir %{zikula_base}/modules
|
||||
%global zikula_modname Polls
|
||||
|
||||
Name: zikula-module-%{zikula_modname}
|
||||
Version: 2.0.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Simple voting system for Zikula
|
||||
|
||||
Group: Applications/Publishing
|
||||
License: GPL+
|
||||
URL: http://code.zikula.org/advancedpolls/downloads
|
||||
# http://code.zikula.org/advancedpolls/downloads/3
|
||||
Source0: %{zikula_modname}_2_0_2.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
#BuildRequires:
|
||||
Requires: zikula
|
||||
|
||||
%description
|
||||
Polls is a simple voting system for the Zikula CMS system
|
||||
|
||||
|
||||
%prep
|
||||
%setup -qn 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
|
||||
|
||||
|
||||
%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
|
||||
%{zikula_moddir}/%{zikula_modname}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 2.0.2-3
|
||||
- Fixed SOURCE0 in SPEC
|
||||
|
||||
* Wed Jul 15 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 2.0.2-2
|
||||
- Fixed wrong-file-end-of-line-encoding errors
|
||||
|
||||
* Wed Jul 15 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 2.0.2-1
|
||||
- Initial RPM release
|
||||
Loading…
Add table
Add a link
Reference in a new issue