Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
01215b876a dist-git conversion 2010-07-29 16:30:03 +00:00
Bill Nottingham
448e2060a3 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:53 +00:00
Eric Christensen
bfe5edbb68 Initial build for F-11 for Multihook. 2009-07-14 12:15:08 +00:00
35367f97e3 Initialize branch F-11 for zikula-module-MultiHook 2009-07-14 04:32:37 +00:00
5 changed files with 78 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
MultiHook_5.0.zip

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: zikula-module-MultiHook
# $Id$
NAME := zikula-module-MultiHook
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)

View file

@ -0,0 +1 @@
7bcef21d80df346133ce6742b9b7bbb6 MultiHook_5.0.zip

View file

@ -0,0 +1,76 @@
%global zikula_base %{_datadir}/zikula
%global zikula_moddir %{zikula_base}/modules
%global zikula_modname MultiHook
Name: zikula-module-%{zikula_modname}
Version: 5.0
Release: 4%{?dist}
Summary: MultiHook is a simple replacement for the old AutoLinks module for Zikula
Group: Applications/Publishing
License: GPLv2+
URL: http://code.zikula.org/multihook/
#http://code.zikula.org/multihook/downloads/4
Source0: %{zikula_modname}_%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
#BuildRequires:
Requires: zikula
%description
MultiHook started as a simple replacement for the old AutoLinks module
(replacing normal text with links), but in the meantime it can handle also
abbreviations and acronyms (replacing text with abbr and acronym-tags) and it
can also censor if wanted (replacing bad words with ***). Links, abbreviations,
acronyms and bad words can be easily defined with some helpful Ajax
functionality. MultiHook was the first module in the Zikula world to use Ajax
for convenience.
%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//' license.txt
sed -i 's/\r//' install.txt
sed -i 's/\r//' needles_howto.txt
sed -i 's/\r//' credits.txt
sed -i 's/\r//' changelog.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/changelog.txt pndocs/license.txt pndocs/credits.txt pndocs/help.txt pndocs/install.txt pndocs/needles_howto.txt
%{zikula_moddir}/%{zikula_modname}
%changelog
* Mon Jul 13 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 5.0-4
- Fixed license in SPEC.
* Thu Jul 09 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 5.0-3
- Fixed wrong-file-end-of-line-encoding errors
* Sun Jun 15 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 5.0-2
- Added docs to the SPEC
- Fixed mix of spaces and tabs in SPEC
* Sun Jun 14 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 5.0-1
- Initial RPM release