# # spec file for package perl-Text-WikiFormat # # Copyright (c) 2014 SUSE LINUX Products 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-WikiFormat Version: 0.81 Release: 0 %define real_name Text-WikiFormat Summary: A module for translating Wiki formatted text into other formats License: Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/perldoc?Text::WikiFormat Source: %{real_name}-%{version}.tar.gz BuildRequires: perl-macros BuildRequires: perl(URI) Requires: perl(URI) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} %description The original Wiki web site had a very simple interface to edit and to add pages. Its formatting rules are simple and easy to use. They are also easy to translate into other, more complicated markup languages with this module. It creates HTML by default, but can produce valid POD, DocBook, XML, or any other format imaginable. The most important function is format(). It is not exported by default. %prep %setup -q -n %{real_name}-%{version} %build perl Makefile.PL make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean rm -rf %{buildroot} %files -f %{name}.files %defattr(-, root, root) %doc Changes README MANIFEST %changelog