forked from pool/perl-Text-Markdown
		
	OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Markdown?expand=0&rev=4
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
#
 | 
						|
# spec file for package perl-Text-Markdown (Version 1.000031)
 | 
						|
#
 | 
						|
# Copyright (c) 2011 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-Markdown
 | 
						|
Version:        1.000031
 | 
						|
Release:        1
 | 
						|
License:        BSD
 | 
						|
%define cpan_name Text-Markdown
 | 
						|
Summary:        Convert Markdown syntax to (X)HTML
 | 
						|
Url:            http://search.cpan.org/dist/Text-Markdown/
 | 
						|
Group:          Development/Libraries/Perl
 | 
						|
Source:         http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
 | 
						|
BuildArch:      noarch
 | 
						|
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
						|
BuildRequires:  perl
 | 
						|
BuildRequires:  perl-macros
 | 
						|
BuildRequires:  perl(inc::Module::Install)
 | 
						|
BuildRequires:  perl(JSON)
 | 
						|
BuildRequires:  perl(List::MoreUtils)
 | 
						|
BuildRequires:  perl(LWP::Simple)
 | 
						|
BuildRequires:  perl(Module::Build)
 | 
						|
BuildRequires:  perl(Parse::CPAN::Meta)
 | 
						|
BuildRequires:  perl(Test::Differences)
 | 
						|
BuildRequires:  perl(Test::Exception)
 | 
						|
BuildRequires:  perl(Text::Diff)
 | 
						|
BuildRequires:  perl(YAML::Tiny)
 | 
						|
%{perl_requires}
 | 
						|
 | 
						|
%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).
 | 
						|
 | 
						|
%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
 | 
						|
 | 
						|
%clean
 | 
						|
%{__rm} -rf %{buildroot}
 | 
						|
 | 
						|
%files -f %{name}.files
 | 
						|
%defattr(-,root,root,755)
 | 
						|
%doc Changes License.text README Readme.text Todo
 | 
						|
 | 
						|
%changelog
 |