2017-01-02 09:33:00 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package perl-Pod-AsciiDoctor
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2017 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-Pod-AsciiDoctor
|
2017-01-10 17:28:36 +00:00
|
|
|
Version: 0.1
|
2017-01-02 09:33:00 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define cpan_name Pod-AsciiDoctor
|
|
|
|
|
Summary: Convert from POD to AsciiDoc
|
2017-01-10 17:28:36 +00:00
|
|
|
License: This program is free software and you can redistribute it and/or modify it under the terms of the the Apache License (2.0). You can get a copy of the license at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
2017-01-02 09:33:00 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Url: http://search.cpan.org/dist/Pod-AsciiDoctor/
|
2017-01-10 17:28:36 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/B/BA/BALA/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
2017-01-02 09:33:00 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Convert from POD to AsciiDoc
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2017-01-10 17:28:36 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2017-01-02 09:33:00 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
2017-01-10 17:28:36 +00:00
|
|
|
%doc Changes LICENSE.md README README.adoc
|
2017-01-02 09:33:00 +00:00
|
|
|
|
|
|
|
|
%changelog
|