forked from pool/perl-Text-Markdown
Copy from home:computersalat:devel:perl/perl-Text-Markdown via accept of submit request 39380 revision 2. Request was accepted with message: self accept, triggered by lnussel OBS-URL: https://build.opensuse.org/request/show/39380 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Markdown?expand=0&rev=1
89 lines
2.7 KiB
RPMSpec
89 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package perl-Text-Markdown (Version 1.0.3)
|
|
#
|
|
# Copyright (c) 2010 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Text-Markdown
|
|
%define cpan_name Text-Markdown
|
|
Summary: Convert Markdown syntax to (X)HTML
|
|
Version: 1.0.3
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/Text-Markdown/
|
|
Source: http://www.cpan.org/modules/by-module/Text/Text-Markdown-1.0.3.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl(Module::Build)
|
|
%if 0%{?suse_version} < 1120
|
|
BuildRequires: perl-macros
|
|
%endif
|
|
Requires: perl = %{perl_version}
|
|
|
|
%description
|
|
Markdown is a text-to-HTML filter; it translates an easy-to-read /
|
|
easy-to-write structured text format into HTML. Markdown's text format
|
|
is most similar to that of plain text email, and supports features such
|
|
as headers, *emphasis*, code blocks, blockquotes, and links.
|
|
|
|
Markdown's syntax is designed not as a generic markup language, but
|
|
specifically to serve as a front-end to (X)HTML. You can use span-level
|
|
HTML tags anywhere in a Markdown document, and you can use block level
|
|
HTML tags (like <div> and <table> as well).
|
|
|
|
Authors:
|
|
John Gruber
|
|
http://daringfireball.net/
|
|
|
|
PHP port and other contributions by Michel Fortin
|
|
http://michelf.com/
|
|
|
|
MultiMarkdown changes by Fletcher Penney
|
|
http://fletcher.freeshell.org/
|
|
|
|
CPAN Module Text::MultiMarkdown (based on Text::Markdown by Sebastian
|
|
Riedel) originally by Darren Kulp (http://kulp.ch/)
|
|
|
|
Support for markdown="1" by Dan Dascalescu (http://dandascalescu.com)
|
|
|
|
This module is maintained by: Tomas Doran http://www.bobtfish.net/
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes License.text README Readme.text
|
|
|
|
%changelog
|