till pushed to mojomojo (master). "2015-04-13: Retired orphaned package, because it was orphaned for more than six weeks."
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 16:28:30 UTC 2015
>From 86e615e13819264771b6c706d8cc4ff2c2a92712 Mon Sep 17 00:00:00 2001
From: Till Maas <opensource at till.name>
Date: Mon, 13 Apr 2015 18:27:21 +0200
Subject: 2015-04-13: Retired orphaned package, because it was orphaned for
more than six weeks.
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 8f145cf..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-MojoMojo-1.01.tar.gz
-/MojoMojo-1.02.tar.gz
-/MojoMojo-1.03.tar.gz
-/MojoMojo-1.04.tar.gz
-/MojoMojo-1.05.tar.gz
-/MojoMojo-1.06.tar.gz
-/MojoMojo-1.07.tar.gz
-/MojoMojo-1.08.tar.gz
-/MojoMojo-1.10.tar.gz
diff --git a/MojoMojo-1.10-Provide-canonical-URL-for-test.patch b/MojoMojo-1.10-Provide-canonical-URL-for-test.patch
deleted file mode 100644
index a3b11c5..0000000
--- a/MojoMojo-1.10-Provide-canonical-URL-for-test.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 3cb8ddd23808ce1797738e14c877e5409b1af764 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
-Date: Thu, 24 Jul 2014 11:27:22 +0200
-Subject: [PATCH] Provide canonical URL for test
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-URI-Find-20140709 stopped converting URIs into canonical form which
-broke t/formatter_file.t 'Text file is formated' test.
-
-This patch adjust the testing data to pass with recent URI-Find too.
-
-<https://github.com/mojomojo/mojomojo/issues/122>
-
-Signed-off-by: Petr Písař <ppisar at redhat.com>
----
- t/formatter_file.t | 2 +-
- t/var/files/test.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/t/formatter_file.t b/t/formatter_file.t
-index 15ad052..d703cc0 100755
---- a/t/formatter_file.t
-+++ b/t/formatter_file.t
-@@ -48,7 +48,7 @@ ok(! MojoMojo::Formatter::File->checkfile("$dir/test.txt", $c));
- # Check good text file
- $content = "<p>{{file Text $dir/test.txt}}</p>";
- $ret = MojoMojo::Formatter::File->format_content(\$content, $c);
--like($$ret, qr{<div class="formatter_txt">\n<p>Text file</p> <p><a href="http://mojomojo.org/">http://mojomojo.org</a></p></div>}s, "Text file is formated");
-+like($$ret, qr{<div class="formatter_txt">\n<p>Text file</p> <p><a href="http://mojomojo.org/">http://mojomojo.org/</a></p></div>}s, "Text file is formated");
-
- # check checkfile with file not include in whitelist
- $ret = MojoMojo::Formatter::File->checkfile("/etc/passwd", $c);
-diff --git a/t/var/files/test.txt b/t/var/files/test.txt
-index 8ce01a7..d6b952c 100644
---- a/t/var/files/test.txt
-+++ b/t/var/files/test.txt
-@@ -1,2 +1,2 @@
- Text file
--http://mojomojo.org
-+http://mojomojo.org/
---
-1.9.3
-
diff --git a/MojoMojo-1.10-Splitting-the-initial-is-deprecated-in-regex.patch b/MojoMojo-1.10-Splitting-the-initial-is-deprecated-in-regex.patch
deleted file mode 100644
index 562057b..0000000
--- a/MojoMojo-1.10-Splitting-the-initial-is-deprecated-in-regex.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 505a9fe3ad80c940fa69dd84e841716dee9e69e9 Mon Sep 17 00:00:00 2001
-From: Soren Dossing <netcom at sauber.net>
-Date: Tue, 22 Apr 2014 13:09:36 +0900
-Subject: [PATCH] Splitting the initial '(?' is deprecated in regex
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Petr Písař <ppisar at redhat.com>
----
- lib/MojoMojo/Formatter/Wiki.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/MojoMojo/Formatter/Wiki.pm b/lib/MojoMojo/Formatter/Wiki.pm
-index e8e4ae4..08c7845 100644
---- a/lib/MojoMojo/Formatter/Wiki.pm
-+++ b/lib/MojoMojo/Formatter/Wiki.pm
-@@ -83,7 +83,7 @@ sub _generate_non_wikiword_check {
- # but why the question mark ('\?') at the end?
- my $non_wikiword_chars =
- ( join '', _explicit_start_delims() ) . $wikiword_escape . '\/' . '\?';
-- return qr{( ?<! [$non_wikiword_chars] )}x;
-+ return qr{(?<! [$non_wikiword_chars])}x;
- }
-
- my $non_wikiword_check = _generate_non_wikiword_check();
---
-1.9.0
-
diff --git a/MojoMojo-1.10-normalize-name-as-a-byte-string.patch b/MojoMojo-1.10-normalize-name-as-a-byte-string.patch
deleted file mode 100644
index addcf60..0000000
--- a/MojoMojo-1.10-normalize-name-as-a-byte-string.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f3fb6a261e047ca7068b08c0c292ae22d9007656 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
-Date: Tue, 29 Apr 2014 12:37:39 +0200
-Subject: [PATCH] normalize name as a byte string
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Since Encode-2.53, Encode::decode_utf8() requires argument to be
-a byte string. Because URI::Escape::uri_unescape() returns unicode
-string on unicode string input, one need to convert it to a byte
-string before.
-
-<https://github.com/mojomojo/mojomojo/issues/121#issuecomment-41651507>
-
-Signed-off-by: Petr Písař <ppisar at redhat.com>
----
- lib/MojoMojo/Schema/ResultSet/Page.pm | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/MojoMojo/Schema/ResultSet/Page.pm b/lib/MojoMojo/Schema/ResultSet/Page.pm
-index 306aa6a..3f1a7e2 100644
---- a/lib/MojoMojo/Schema/ResultSet/Page.pm
-+++ b/lib/MojoMojo/Schema/ResultSet/Page.pm
-@@ -177,8 +177,8 @@ sub normalize_name {
- $name =~ s/\s+/_/g;
- $name = lc($name);
- return (
-- Encode::decode_utf8(URI::Escape::uri_unescape($name_orig)),
-- Encode::decode_utf8(URI::Escape::uri_unescape($name)),
-+ Encode::decode_utf8(URI::Escape::uri_unescape(Encode::encode_utf8($name_orig))),
-+ Encode::decode_utf8(URI::Escape::uri_unescape(Encode::encode_utf8($name))),
- );
- }
-
---
-1.9.0
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..9263c07
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,2 @@
+2015-04-13: Retired orphaned package, because it was orphaned for more than six weeks.
+
diff --git a/formatter-docbook.patch b/formatter-docbook.patch
deleted file mode 100644
index f7c12ac..0000000
--- a/formatter-docbook.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm.orig MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm
---- MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm.orig 2010-05-23 22:25:39.000000000 +0200
-+++ MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm 2010-07-08 06:36:16.000000000 +0200
-@@ -10,7 +10,7 @@ my $eval_res = $@;
- use MojoMojo::Formatter::DocBook::Colorize;
-
- my $xsltfile =
-- "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl";
-+ "/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl";
-
- =head2 module_loaded
-
diff --git a/mojomojo-httpd.conf b/mojomojo-httpd.conf
deleted file mode 100644
index 36a7114..0000000
--- a/mojomojo-httpd.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-Alias /mojomojo/static/ /usr/share/mojomojo/root/static/
-<Location /mojomojo/static/>
- SetHandler default-handler
-</Location>
-
-Alias /mojomojo/ /usr/bin/mojomojo_fastcgi.pl/
-<Location /mojomojo/>
- Options ExecCGI
- Require all granted
- AddHandler fcgid-script .pl
-</Location>
-
diff --git a/mojomojo-no-swfupload.patch b/mojomojo-no-swfupload.patch
deleted file mode 100644
index 640aa6d..0000000
--- a/mojomojo-no-swfupload.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up MojoMojo-1.10/root/base/page/attachments.tt.orig MojoMojo-1.10/root/base/page/attachments.tt
---- MojoMojo-1.10/root/base/page/attachments.tt.orig 2010-11-03 04:16:24.000000000 -0600
-+++ MojoMojo-1.10/root/base/page/attachments.tt 2013-09-20 08:30:34.304132600 -0600
-@@ -1,9 +1,8 @@
- [% WRAPPER page/wrapper.tt title=loc('Attachments for') _ " " _ page.name %]
- <div id="content">
-
-- [% IF c.req.params.plain || ! c.user.obj %]
- [% IF c.user.obj %]
-- <p>(<a href="[% c.uri_for('attachments', {plain=>0}) %]">[% loc('Switch to flash uploader') %]</a>)
-+ <p>
-
- <form action="[% c.uri_for('plain_upload') %]" enctype="multipart/form-data" method="post">
- <input type="hidden" name="plain" value="1"/>
-@@ -14,19 +13,6 @@
- [% END %]
- <br />
-
-- [% ELSE %]
-- <a href="#" id="do_upload">[% loc('Choose attachments') %]</a>
-- <p>[% loc('Please select a file to attach to this page. To upload multiple files, hold CTRL while selecting multiple files in the file selection pop up window.') %] </p>
-- <p>[% loc('If the flash uploader gives you problems, switch to the')%] <a href="[%c.uri_for('attachments',{plain=>1}) %]">[%loc('plain uploader')%]</a></p>
--
-- <a href="[% c.uri_for('attachment/list') %]" id="list_link"></a>
-- <a href="[% c.uri_for('attachment/flash_upload', {id => c.user.obj.id, verify => c.user.obj.hashed(c.pref('entropy'))}) %]" id="upload_link"></a>
--
-- <div id="progressbar"><div id="progress"></div></div>
--
-- <h3 id="progress_status"></h3>
--
-- [% END -%]
-
- <div id="attachments">
- [%+ PROCESS attachments/list.tt | indent 4 IF page.attachments.size %]
diff --git a/mojomojo-paths.patch b/mojomojo-paths.patch
deleted file mode 100644
index da24596..0000000
--- a/mojomojo-paths.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -up MojoMojo-1.00/mojomojo.conf.orig MojoMojo-1.00/mojomojo.conf
---- MojoMojo-1.00/mojomojo.conf.orig 2010-05-12 00:57:27.000000000 +0200
-+++ MojoMojo-1.00/mojomojo.conf 2010-05-21 06:01:32.000000000 +0200
-@@ -32,7 +32,7 @@ system_mail Default Installation <norepl
- password db_password
-
- # SQLite dsn (default data store)
-- dsn dbi:SQLite:mojomojo.db
-+ dsn dbi:SQLite:/var/lib/mojomojo/mojomojo.db
-
- # Enable unicode for supported databases
- sqlite_unicode 1
-@@ -42,10 +42,10 @@ system_mail Default Installation <norepl
- </connect_info>
- </Model::DBIC>
-
--root __path_to(root)__
--static_path /.static/
--attachment_dir __path_to(uploads)__
--index_dir __path_to(index)__
-+root /usr/share/mojomojo/root
-+static_path /mojomojo/static/
-+attachment_dir /var/lib/mojomojo/uploads
-+index_dir /var/lib/mojomojo/index
-
- <session>
- expires 604800
diff --git a/mojomojo.spec b/mojomojo.spec
deleted file mode 100644
index 9f675ff..0000000
--- a/mojomojo.spec
+++ /dev/null
@@ -1,424 +0,0 @@
-Name: mojomojo
-Version: 1.10
-Release: 6%{?dist}
-Summary: A Wiki with a tree
-License: GPL+ or Artistic
-Group: Applications/Internet
-URL: http://mojomojo.org
-Source0: http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/MojoMojo-%{version}.tar.gz
-# default mod_fcgid config for apache httpd
-Source1: mojomojo-httpd.conf
-# fix location of docbook xsl file
-Patch0: formatter-docbook.patch
-# adjust paths
-Patch2: mojomojo-paths.patch
-# remove precompiled swfupload binaries (RHBZ#1000256)
-Patch3: mojomojo-no-swfupload.patch
-# Correct URI-unescaping with Encode ≥ 2.53, bug #1092015,
-# <https://github.com/mojomojo/mojomojo/issues/121>
-Patch4: MojoMojo-1.10-normalize-name-as-a-byte-string.patch
-# Fix usage of a deprecated regular expression,
-# <https://github.com/mojomojo/mojomojo/pull/120>
-Patch5: MojoMojo-1.10-Splitting-the-initial-is-deprecated-in-regex.patch
-# Adjust test for URI-Find-20140709, bug #1122853,
-# <https://github.com/mojomojo/mojomojo/issues/122>
-Patch6: MojoMojo-1.10-Provide-canonical-URL-for-test.patch
-
-BuildArch: noarch
-
-# since it comes from CPAN, someone might expect to find
-Provides: perl-MojoMojo = %{version}-%{release}
-
-BuildRequires: perl(Algorithm::Diff) >= 1.19
-BuildRequires: perl(Algorithm::Merge)
-BuildRequires: perl(Archive::Zip) >= 1.14
-BuildRequires: perl(Cache::FastMmap) >= 1.31
-BuildRequires: perl(Catalyst) >= 5.90015
-BuildRequires: perl(Catalyst::Action::RenderView) >= 0.07
-BuildRequires: perl(Catalyst::Authentication::Store::DBIx::Class) >= 0.101
-BuildRequires: perl(Catalyst::Controller::HTML::FormFu) >= 0.03007
-BuildRequires: perl(Catalyst::Devel)
-BuildRequires: perl(Catalyst::Engine::PSGI)
-BuildRequires: perl(Catalyst::Model::DBIC::Schema) >= 0.01
-BuildRequires: perl(Catalyst::Plugin::Authentication) >= 0.10005
-BuildRequires: perl(Catalyst::Plugin::Cache) >= 0.08
-BuildRequires: perl(Catalyst::Plugin::ConfigLoader) >= 0.13
-BuildRequires: perl(Catalyst::Plugin::I18N)
-BuildRequires: perl(Catalyst::Plugin::Session::State::Cookie) >= 0.11
-BuildRequires: perl(Catalyst::Plugin::Session::Store::Cache)
-BuildRequires: perl(Catalyst::Plugin::Setenv)
-BuildRequires: perl(Catalyst::Plugin::Static::Simple) >= 0.07
-BuildRequires: perl(Catalyst::Plugin::SubRequest) >= 0.19
-BuildRequires: perl(Catalyst::Plugin::Unicode) >= 0.8
-BuildRequires: perl(Catalyst::View::Email) >= 0.14
-BuildRequires: perl(Catalyst::View::Email::Template)
-BuildRequires: perl(Catalyst::View::JSON) >= 0.26
-BuildRequires: perl(Catalyst::View::TT) >= 0.23
-BuildRequires: perl(Config::General)
-BuildRequires: perl(Config::JFDI)
-BuildRequires: perl(Crypt::CBC) >= 2.12
-BuildRequires: perl(Data::Page) >= 2.00
-BuildRequires: perl(DateTime) >= 0.28
-BuildRequires: perl(DateTime::Format::Mail)
-BuildRequires: perl(DBD::SQLite) >= 1.27
-BuildRequires: perl(DBIx::Class) >= 0.08
-BuildRequires: perl(DBIx::Class::DateTime::Epoch) >= 0.04
-BuildRequires: perl(DBIx::Class::EncodedColumn)
-BuildRequires: perl(DBIx::Class::TimeStamp) >= 0.11
-BuildRequires: perl(Directory::Scratch) >= 0.14
-BuildRequires: perl(Email::Sender::Simple) >= 0.102370
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Copy::Recursive)
-BuildRequires: perl(File::MMagic) >= 1.27
-BuildRequires: perl(HTML::Entities) >= 3.60
-BuildRequires: perl(HTML::FormFu) >= 0.02000
-BuildRequires: perl(HTML::FormFu::Model::DBIC)
-BuildRequires: perl(HTML::FormFu::Element::reCAPTCHA)
-BuildRequires: perl(HTML::Strip) >= 1.04
-BuildRequires: perl(HTML::TagCloud)
-BuildRequires: perl(Image::ExifTool)
-BuildRequires: perl(Image::Math::Constrain)
-BuildRequires: perl(Imager)
-BuildRequires: perl(IO::Scalar)
-BuildRequires: perl(KinoSearch1) >= 1.00
-BuildRequires: perl(Module::Pluggable::Ordered) >= 1.4
-BuildRequires: perl(Moose)
-BuildRequires: perl(MRO::Compat) >= 0.10
-BuildRequires: perl(Number::Format)
-BuildRequires: perl(parent)
-BuildRequires: perl(Plack) >= 0.9974
-BuildRequires: perl(SQL::Translator) >= 0.09006
-BuildRequires: perl(Template) >= 2.20
-BuildRequires: perl(Template::Plugin::JavaScript)
-BuildRequires: perl(Term::Prompt)
-BuildRequires: perl(Text::Context) >= 3.5
-BuildRequires: perl(Text::MultiMarkdown) >= 1.000032
-BuildRequires: perl(Text::Password::Pronounceable)
-BuildRequires: perl(Text::Textile)
-BuildRequires: perl(URI) >= 1.37
-BuildRequires: perl(URI::Find)
-BuildRequires: perl(YAML) >= 0.36
-# DocBook Formatter
-BuildRequires: perl(XML::LibXSLT) >= 1.66
-BuildRequires: perl(XML::LibXML) >= 1.66
-BuildRequires: docbook-style-xsl
-# FastCGI support
-BuildRequires: perl(FCGI::ProcManager)
-# Toc Generator
-BuildRequires: perl(HTML::Toc) >= 1.10
-# POD Formatter
-BuildRequires: perl(Pod::Simple::HTML) >= 3.01
-# Syntax Highlighter
-BuildRequires: perl(Syntax::Highlight::Engine::Kate)
-# Transclusion support
-BuildRequires: perl(LWP::Simple)
-BuildRequires: perl(URI::Fetch)
-# Amazon boxes
-BuildRequires: perl(Net::Amazon)
-# RSS Formatter
-BuildRequires: perl(XML::Feed)
-# Emoticons
-BuildRequires: perl(Text::Emoticon::MSN)
-# Tests
-BuildRequires: perl(Catalyst::Test)
-BuildRequires: perl(Devel::LeakGuard::Object)
-BuildRequires: perl(Test::Differences)
-BuildRequires: perl(Test::More) >= 0.88
-BuildRequires: perl(Test::NoTabs)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(Test::WWW::Mechanize::Catalyst)
-BuildRequires: perl(WWW::Mechanize::TreeBuilder)
-# additional requires for Catalyst-Plugin-I18N
-BuildRequires: perl(Locale::Maketext::Lexicon)
-# additional requires for Catalyst::View::JSON
-BuildRequires: perl(JSON)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(Cache::FastMmap) >= 1.31
-Requires: perl(Catalyst::Action::RenderView) >= 0.07
-Requires: perl(Catalyst::Authentication::Store::DBIx::Class) >= 0.101
-Requires: perl(Catalyst::Controller::HTML::FormFu) >= 0.03007
-Requires: perl(Catalyst::Model::DBIC::Schema) >= 0.01
-Requires: perl(Catalyst::Plugin::Authentication) >= 0.10005
-Requires: perl(Catalyst::Plugin::Cache) >= 0.08
-Requires: perl(Catalyst::Plugin::ConfigLoader) >= 0.13
-Requires: perl(Catalyst::Plugin::I18N)
-Requires: perl(Catalyst::Plugin::Session::State::Cookie) >= 0.11
-Requires: perl(Catalyst::Plugin::Session::Store::Cache)
-Requires: perl(Catalyst::Plugin::Setenv)
-Requires: perl(Catalyst::Plugin::Static::Simple) >= 0.07
-Requires: perl(Catalyst::Plugin::SubRequest) >= 0.13
-Requires: perl(Catalyst::Plugin::Unicode) >= 0.8
-Requires: perl(Catalyst::View::Email) >= 0.14
-Requires: perl(Catalyst::View::Email::Template)
-Requires: perl(Catalyst::View::JSON) >= 0.26
-Requires: perl(Catalyst::View::TT) >= 0.23
-Requires: perl(Config::General)
-Requires: perl(Crypt::CBC) >= 2.12
-Requires: perl(DBD::SQLite) >= 1.27
-Requires: perl(DBIx::Class) >= 0.08
-Requires: perl(DBIx::Class::DateTime::Epoch) >= 0.04
-Requires: perl(DBIx::Class::EncodedColumn)
-Requires: perl(DBIx::Class::TimeStamp) >= 0.11
-Requires: perl(Directory::Scratch) >= 0.14
-Requires: perl(File::Copy::Recursive)
-Requires: perl(HTML::FormFu) >= 0.02000
-Requires: perl(HTML::FormFu::Model::DBIC)
-Requires: perl(HTML::FormFu::Element::reCAPTCHA)
-Requires: perl(KinoSearch1) >= 1.00
-Requires: perl(Module::Pluggable::Ordered) >= 1.4
-Requires: perl(Template) >= 2.20
-Requires: perl(Template::Plugin::JavaScript)
-Requires: perl(Text::MultiMarkdown) >= 1.000032
-Requires: perl(YAML) >= 0.36
-# DocBook Formatter
-Requires: perl(XML::LibXSLT) >= 1.66
-Requires: perl(XML::LibXML) >= 1.66
-Requires: docbook-style-xsl
-# Toc Generator
-Requires: perl(HTML::Toc) >= 1.10
-# Syntax Highlighter
-Requires: perl(Syntax::Highlight::Engine::Kate)
-# Transclusion support
-Requires: perl(LWP::Simple)
-Requires: perl(URI::Fetch)
-# Amazon boxes
-Requires: perl(Net::Amazon)
-# RSS Formatter
-Requires: perl(XML::Feed)
-# Emoticons
-Requires: perl(Text::Emoticon::MSN)
-# additional requires for Catalyst-Plugin-I18N
-Requires: perl(Locale::Maketext::Lexicon)
-# additional requires for Catalyst::View::JSON
-Requires: perl(JSON)
-# to ensure that apache user/group exist before installation
-Requires(pre): httpd
-# mod_fcgid
-Requires: mod_fcgid
-Requires: perl(FCGI)
-Requires: perl(FCGI::ProcManager)
-
-%{?perl_default_filter}
-
-%description
-Mojomojo is a content management system, borrowing many concepts from wikis and
-blogs. It allows you to maintain a full tree-structure of pages, and to
-interlink them in various ways. It has full version support, so you can always
-go back to a previous version and see what's changed with an easy diff system.
-There are also some useful features like live AJAX preview while editing,
-tagging, built-in full-text search, image galleries, and RSS feeds for every
-wiki page.
-
-
-%prep
-%setup -q -n MojoMojo-%{version}
-%patch0 -p 1
-%patch2 -p 1
-%patch3 -p 1
-%patch4 -p 1
-%patch5 -p 1
-%patch6 -p 1
-
-# remove precomplied swfupload
-rm -rf root/static/flash/
-
-# update the scripts for current catalyst
-rm script/mojomojo_fastcgi_manage.pl
-catalyst.pl -force -scripts .
-# and set MOJOMOJO_HOME
-sed -i '3iBEGIN { $ENV{MOJOMOJO_HOME} ||= "/var/lib/mojomojo"; }' script/*.pl
-
-find root lib script/util -type f | xargs chmod 0644
-
-# remove unnecessary files
-rm app.psgi dotcloud.yml INSTALL
-rm -rf resources
-
-%build
-PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
-
-%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-# move things around a bit
-install -d -m 0755 %{buildroot}%{_datadir}/mojomojo
-mv %{buildroot}%{perl_vendorlib}/MojoMojo/root %{buildroot}%{_datadir}/mojomojo/root
-
-install -d -m 0755 %{buildroot}%{_sysconfdir}
-mv %{buildroot}%{perl_vendorlib}/MojoMojo/mojomojo.conf %{buildroot}%{_sysconfdir}/mojomojo.conf
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-install -d -m 0755 %{buildroot}%{_localstatedir}/lib/mojomojo
-ln -s %{_sysconfdir}/mojomojo.conf %{buildroot}%{_localstatedir}/lib/mojomojo/mojomojo.conf
-ln -s %{_datadir}/mojomojo/root %{buildroot}%{_localstatedir}/lib/mojomojo/root
-
-install -D -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/mojomojo.conf
-
-# initial SQLite database
-perl -Iblib/lib ./script/mojomojo_spawn_db.pl \
- --dsn dbi:SQLite:mojomojo.db \
- --db-user db_user \
- --db-password db_password \
- --wiki MojoMojo \
- --admin-fullname admin \
- --admin-email root at localhost
-install -m 0640 mojomojo.db %{buildroot}%{_localstatedir}/lib/mojomojo/mojomojo.db
-
-mkdir -p %{buildroot}%{_localstatedir}/lib/mojomojo/{index,uploads}
-
-%{_fixperms} $RPM_BUILD_ROOT/*
-
-
-%check
-# some tests are intentionally skipped:
-# t/formatter_amazon.t - requires Amazon API token (and presumably network connection)
-# t/selenium.t - won't work in mock
-CATALYST_CONFIG=t/var/mojomojo.yml make test
-
-
-%files
-%defattr(-,root,root,-)
-%doc Changes mojomojo.conf README script/util
-%{_bindir}/*
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
-%{_datadir}/mojomojo
-%attr(-,apache,root) %dir %{_localstatedir}/lib/mojomojo
-%attr(0640,root,apache) %{_localstatedir}/lib/mojomojo/mojomojo.conf
-%attr(0750,root,apache) %{_localstatedir}/lib/mojomojo/root
-%attr(0750,apache,root) %dir %{_localstatedir}/lib/mojomojo/index
-%attr(0750,apache,root) %dir %{_localstatedir}/lib/mojomojo/uploads
-%config(noreplace) %attr(0640,apache,root) %{_localstatedir}/lib/mojomojo/mojomojo.db
-%config(noreplace) %{_sysconfdir}/httpd/conf.d/*
-%attr(0640,root,apache) %config(noreplace) %{_sysconfdir}/mojomojo.conf
-
-
-%changelog
-* Tue Sep 02 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.10-6
-- Perl 5.20 rebuild
-
-* Thu Jul 24 2014 Petr Pisar <ppisar at redhat.com> - 1.10-5
-- Adjust test for URI-Find-20140709 (bug #1122853)
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Tue Apr 29 2014 Petr Pisar <ppisar at redhat.com> - 1.10-3
-- Correct URI-unescaping with Encode ≥ 2.53 (bug #1092015)
-- Fix usage of a deprecated regular expression
-
-* Fri Sep 20 2013 Iain Arnell <iarnell at gmail.com> 1.10-2
-- remove bundled swfupload binaries (RHBZ#1000256)
-
-* Sat Aug 10 2013 Iain Arnell <iarnell at gmail.com> 1.10-1
-- update to latest upstream version
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.08-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.08-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Mon Jan 07 2013 Iain Arnell <iarnell at gmail.com> 1.08-1
-- update to latest upstream version
-
-* Wed Nov 14 2012 Iain Arnell <iarnell at gmail.com> 1.07-1
-- update to latest upstream version
-- drop email.t and page_delete.t patches
-
-* Fri Nov 02 2012 Iain Arnell <iarnell at gmail.com> 1.06-1
-- update to latest upstream version
-- patch t/c/email.t and t/c/page_delete.t to work with current versions of dependencies
-
-* Wed Oct 31 2012 Iain Arnell <iarnell at gmail.com> 1.05-5
-- update apache configuration for httpd 2.4 (rhbz#871428)
-
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.05-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Wed Jul 04 2012 Petr Pisar <ppisar at redhat.com> - 1.05-3
-- Perl 5.16 rebuild
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.05-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Fri Oct 21 2011 Iain Arnell <iarnell at gmail.com> 1.05-1
-- update to latest upstream version
-- update summary and description
-
-* Mon Aug 29 2011 Iain Arnell <iarnell at gmail.com> 1.04-4
-- update helper scripts using current catalyst
-
-* Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.04-3
-- Perl mass rebuild
-
-* Wed Jul 13 2011 Iain Arnell <iarnell at gmail.com> 1.04-2
-- add missing MODULE_COMPAT requires
-
-* Sun Mar 13 2011 Iain Arnell <iarnell at gmail.com> 1.04-1
-- update to latest upstream version
-- ensure that t/var/mojomojo.yml config is used for testing
-- re-enable t/formatter_idlink.t test
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Fri Jan 14 2011 Iain Arnell <iarnell at gmail.com> 1.03-1
-- update to latest upstream version
-- disable t/formatter_idlink.t - fails under mock
-
-* Wed Oct 06 2010 Iain Arnell <iarnell at gmail.com> 1.02-1
-- update to latest upstream version
-
-* Fri Jul 23 2010 Iain Arnell <iarnell at epo.org> 1.01-2
-- drop selinux sub-package - it's in reference policy now
-- update spec for modern rpmbuild
-- minor tweak to httpd config
-
-* Thu Jul 08 2010 Iain Arnell <iarnell at gmail.com> 1.01-1
-- update to latest upstream
-
-* Fri May 21 2010 Iain Arnell <iarnell at gmail.com> 1.00-1
-- update to 1.00 release
-
-* Wed Jan 20 2010 Iain Arnell <iarnell at gmail.com> 0.999042-1
-- update to latest upstream version
-- update (build)requires
-- drop required-versions patch (we now have everything)
-
-* Sat Oct 31 2009 Iain Arnell <iarnell at gmail.com> 0.999041-1
-- update to latest upstream version
-
-* Sat Sep 05 2009 Iain Arnell <iarnell at gmail.com> 0.999040-1
-- update to latest upstream version
-
-* Tue Aug 25 2009 Iain Arnell <iarnell at gmail.com> 0.999033-1
-- update to latest upstream version
-
-* Sat Aug 08 2009 Iain Arnell <iarnell at gmail.com> 0.999032-1
-- update to latest upstream version
-
-* Sun Jul 19 2009 Iain Arnell <iarnell at gmail.com> 0.999030-1
-- update to latest upstream version
-
-* Wed Jun 17 2009 Iain Arnell <iarnell at gmail.com> 0.999029-3
-- requires perl(JSON)
-- own /var/lib/mojomojo/{index,uploads}
-
-* Wed Jun 10 2009 Iain Arnell <iarnell at gmail.com> 0.999029-2
-- provide perl-MojoMojo
-- restore versioned requirement on HTML::Entities
-- adjust url to mojomojo.org
-- fix a bug in Attachment.pm
-
-* Sat May 23 2009 Iain Arnell <iarnell at gmail.com> 0.999029-1
-- Specfile autogenerated by cpanspec 1.77.
-- move things around for FHS
-- add selinux support
diff --git a/sources b/sources
deleted file mode 100644
index 178408f..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-397bdce4f6f612779563cdeb7ba72570 MojoMojo-1.10.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/mojomojo.git/commit/?h=master&id=86e615e13819264771b6c706d8cc4ff2c2a92712
More information about the scm-commits
mailing list