view moin.spec @ 259:0c25ccdc8f37

Fixed tests system for cases where request.write was redirected. Breaks test running for most situations where sys.stdout is not usable. But we do not support those currently anyway (multithreading). imported from: moin--main--1.5--patch-262
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Thu, 01 Dec 2005 22:21:30 +0000
parents 13bed76b7bc9
children fec34a6dad0b
line wrap: on
line source

%define name moin
%define version 1.5.0
%define release 0.6.beta4
#Upgrade Path Example:
#     moin-1.3-0.1.beta1
#         Patched
#     moin-1.3-0.2.beta1
#         Move to beta2
#     moin-1.3-0.3.beta2
#         Move to beta3 and simultaneously patch
#     moin-1.3-0.4.beta3
#         Patched again
#     moin-1.3-0.5.beta3
#         Move to rc1
#     moin-1.3-0.6.rc1
#         Move to rc2
#     moin-1.3-0.7.rc2
#         Move to "final"
#     moin-1.3-1
#         Patched
#     moin-1.3-2

Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
Summary:        MoinMoin Wiki engine

Group:          Applications/Internet
License:        GPL
URL:            http://moinmoin.wikiwikiweb.de
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArchitectures: noarch
BuildRequires:  python-devel
Requires:       python >= 2.3

%description

A WikiWikiWeb is a collaborative hypertext environment, with an
emphasis on easy access to and modification of information. MoinMoin
is a Python WikiClone that allows you to easily set up your own wiki,
only requiring a Python installation. 

%prep
%setup

%build
# replace python by python2 if python refers to version 1.5 on your system
python setup.py build

%install
# replace python by python2 if python refers to version 1.5 on your system
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc  README CHANGES COPYING INSTALL.html UPDATE.html

%changelog
* Fri Mar 05 2004 Florian Festi
- Initial RPM release.