Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-T
perl-Text-MediawikiFormat
perl-Text-MediawikiFormat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Text-MediawikiFormat.spec of Package perl-Text-MediawikiFormat
# # spec file for package perl-Text-MediawikiFormat # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Text-MediawikiFormat Version: 1.04 Release: 0 %define cpan_name Text-MediawikiFormat Summary: Translate Wiki markup into other text formats License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-MediawikiFormat/ Source0: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(HTML::Parser) BuildRequires: perl(HTML::Tagset) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::Warn) BuildRequires: perl(URI) BuildRequires: perl(URI::Escape) BuildRequires: perl(version) >= 0.74 Requires: perl(HTML::Parser) Requires: perl(HTML::Tagset) Requires: perl(Test::NoWarnings) Requires: perl(Test::Warn) Requires: perl(URI) Requires: perl(URI::Escape) Requires: perl(version) >= 0.74 %{perl_requires} %description the http://wikipedia.org manpage and its sister projects use the PHP Mediawiki to format their pages. This module attempts to duplicate the Mediawiki formatting rules. Those formatting rules can be simple and easy to use, while providing more advanced options for the power user. They are also easy to translate into other, more complicated markup languages with this module. It creates HTML by default, but could produce valid POD, DocBook, XML, or any other format imaginable. The most important function is 'Text::MediawikiFormat::format()'. It is not exported by default, but will be exported as 'wikiformat()' if any options at all are passed to the exporter, unless the name is overridden explicitly. See the "EXPORT" manpage for more information. It should be noted that this module is written as a drop in replacement for the Text::WikiMarkup manpage that expands on that modules functionality and provides a default rule set that may be used to format text like the PHP Mediawiki. It is also well to note early that if you just want a Mediawiki clone (you don't need to customize it heavily and you want integration with a back end database), you should look at the Wiki::Toolkit::Formatter::Mediawiki manpage. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc ARTISTIC Changes GPL README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor