view moin.spec @ 0:5568cf133caf moin20-repo-reboot

create moin/2.0 repo, drop all history (see notes below) Up to now, we used the moin/2.0-dev repository (which was cloned from another, older moin repo quite some time ago). Over the years, these repositories got rather fat (>200MB) and were a pain to clone over slow, high-latency or unreliable connections. After having finished most of the dirty work in moin2, having killed all the 3rd party code we had bundled with (is now installed by quickinstall / pip / setuptools), it is now a good time to get rid of the history (the history made up most of the repository's size). If you need to look at the history, look there: The new moin/2.0 repository has the files as of this changesets: The changeset hashes that link the repositories will be tagged (in both repositories) as "moin20-repo-reboot".
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Feb 2011 20:53:45 +0100
children 38b5c2746f83
line wrap: on
line source
%define name moin
%define version 2.0.0
%define release 0.0.alpha
#Upgrade Path Example:
#     moin-2.0-0.1.beta1
#         Patched
#     moin-2.0-0.2.beta1
#         Move to beta2
#     moin-2.0-0.3.beta2
#         Move to beta3 and simultaneously patch
#     moin-2.0-0.4.beta3
#         Patched again
#     moin-2.0-0.5.beta3
#         Move to rc1
#     moin-2.0-0.6.rc1
#         Move to rc2
#     moin-2.0-0.7.rc2
#         Move to "final"
#     moin-2.0-1
#         Patched
#     moin-2.0-2

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

Group:          Applications/Internet
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

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


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. 


python build

python install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES


#%files -f INSTALLED_FILES   # Wrong: Installed files contains directories also
# This lets rpmbuild complain about Files listed twice.
# A Good explanation is here: "
%doc README.txt docs/licenses/COPYING

* Sun Jun 21 2010 Thomas Waldmann
- Raised requirement to Python 2.6 (for MoinMoin 2.0.0alpha).