Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28a901a4e1 | ||
|
|
24dfceeb00 | ||
|
|
5d563943ac | ||
|
|
14d298b3ee | ||
| 75a5dfe7eb |
5 changed files with 62 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
News_2.4.1.zip
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: zikula-module-News
|
||||
# $Id$
|
||||
NAME := zikula-module-News
|
||||
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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
cac873b9b459d64b9aaceeeea9a8a136 News_2.4.1.zip
|
||||
60
zikula-module-News.spec
Normal file
60
zikula-module-News.spec
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
%global zikula_base %{_datadir}/zikula
|
||||
%global zikula_moddir %{zikula_base}/modules
|
||||
%global zikula_modname News
|
||||
|
||||
Name: zikula-module-%{zikula_modname}
|
||||
Version: 2.4.1
|
||||
Release: 2%{?dist}
|
||||
Summary: Manages news articles on your Zikula site
|
||||
|
||||
Group: Applications/Publishing
|
||||
License: GPL+
|
||||
URL: http://code.zikula.org/news
|
||||
# http://code.zikula.org/news/changeset/167/tags/News-2.4.1?old_path=%2F&format=zip
|
||||
Source0: %{zikula_modname}_%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: dos2unix
|
||||
Requires: zikula
|
||||
|
||||
%description
|
||||
News module to manage news articles on your site. Provides
|
||||
multi-categorization, scheduled publishing, the basic management
|
||||
features and includes some highly customizable blocks and plugins for
|
||||
the Content module.
|
||||
|
||||
%prep
|
||||
%setup -qn tags/%{zikula_modname}-%{version}
|
||||
# Remove empty index.html and others
|
||||
find -size 0 | xargs rm -f
|
||||
dos2unix modules/News/pndocs/NewsTODO.txt
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__mkdir} -p $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname}
|
||||
pushd modules/%{zikula_modname}
|
||||
cp -pr . $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname}
|
||||
popd
|
||||
rm -rf $RPM_BUILD_ROOT/%{zikula_moddir}/%{zikula_modname}/pndocs
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc modules/News/pndocs/NewsTODO.txt modules/News/pndocs/tour_page1.htm
|
||||
%{zikula_moddir}/%{zikula_modname}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 16 2009 Paul W. Frields <stickster@gmail.com> - 2.4.1-2
|
||||
- Fix packaging errors
|
||||
|
||||
* Sun Jun 14 2009 Fedora Docs Team <docs@fedoraproject.org> - 2.4.1-1
|
||||
- Initial RPM release
|
||||
Loading…
Add table
Add a link
Reference in a new issue