Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37824453
en ru br
Репозитории ALT
S:1.9.11-alt2
5.1: 1.9.1-alt0.M51.1
4.1: 1.5.8-alt3.1
4.0: 1.5.8-alt1
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: moin

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: MoinMoin is a Python clone of WikiWiki
Name:    moin
Version: 1.9.1
Release: alt0.M51.1
License: GPL
Group:   Networking/Other
URL:     http://moinmo.in/
Source0: http://static.moinmo.in/files/%name-%version.tar.gz
Source1: moin-instance-setup.in
Packager: Fr. Br. George <george at altlinux.ru>
BuildArch: noarch
BuildRequires: python-dev perl-CGI
%add_findreq_skiplist %_datadir/moin/htdocs/applets/FCKeditor/*
#add_findprov_skiplist %_datadir/moin/htdocs/applets/FCKeditor/*
%add_findreq_skiplist %_datadir/moin/server/*wsgi*.py
%add_python_req_skip _conv160b_wiki
%add_python_req_skip gdchart
%add_python_req_skip twisted
%add_python_req_skip xapian
%add_python_req_skip py
%add_python_req_skip MySQLdb
%add_python_req_skip win32service
%add_python_req_skip win32serviceutil

%define htdocs %_defaultdocdir/python-module-MoinMoin-%version/htdocs

Requires: python-modules python-module-MoinMoin python-module-moin-jabberbot
Provides: MoinMoin

# TODO suggested modules


#/*G*/BuildRequires: hd2u


%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
Web server and a Python installation.

%package -n python-module-moin-jabberbot
Summary: Jabber robot used for MoinMoin notification
Group:   Networking/Other

%description -n python-module-moin-jabberbot
Jabber robot used for MoinMoin notification

%package -n python-module-MoinMoin
Summary: Pyton modules for MoinMoin WikiWikiWeb engine
Group:   Development/Python
Obsoletes: python-modules-MoinMoin

%description -n python-module-MoinMoin
Pyton module for MoinMoin WikiWikiWeb engine

%prep
%setup -q
sed -i 's at ^STATIC_FILES_PATH = .* at STATIC_FILES_PATH = "%htdocs" at ' MoinMoin/web/static/__init__.py

%build
sed 's| at HTDOCS at |%htdocs|' < %SOURCE1 > moin-instance-setup
python setup.py build

%install
python setup.py install --root=%buildroot
mkdir -p %buildroot/%_sbindir/
install -m755  moin-instance-setup %buildroot/%_sbindir/

%files
%doc README docs/CHANGES* docs/INSTALL.html docs/README.migration
%doc docs/licenses/
%_bindir/*
%_sbindir/*
%_datadir/%name/

%files -n python-module-moin-jabberbot
%python_sitelibdir/jabberbot

%files -n python-module-MoinMoin
%doc MoinMoin/web/static/htdocs
%exclude %python_sitelibdir/MoinMoin/web/static/htdocs
%python_sitelibdir/MoinMoin
%python_sitelibdir/*.egg-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin