Accepting request 48848 from home:dbahi:branches:devel:languages:perl

reviewed, OK, Thank you

OBS-URL: https://build.opensuse.org/request/show/48848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-MicroTemplate?expand=0&rev=1
This commit is contained in:
Christian Wittmer
2010-09-22 21:34:57 +00:00
committed by Git OBS Bridge
commit 20269953e4
5 changed files with 111 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed65ac8e23b512f09886a9ff0aceb2c2bc3ba52e04d575f0535609a9012c5871
size 23813

View File

@@ -0,0 +1,13 @@
-------------------------------------------------------------------
Tue Sep 21 01:41:15 UTC 2010 - dbahi@novell.com
- put back the perl version dependency but removed
the '(perl)' from perl(perl) >= 5.8.0
as it causes an osc build failure
-------------------------------------------------------------------
Mon Sep 20 21:51:12 UTC 2010 - dbahi@novell.com
- initial package 0.18
* created by cpanspec 1.78

View File

@@ -0,0 +1,71 @@
#
# spec file for package perl-Text-MicroTemplate (Version 0.18)
#
# 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-MicroTemplate
%define cpan_name Text-MicroTemplate
Summary: Micro template engine with Perl5 language
Version: 0.18
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-MicroTemplate/
#Source: http://www.cpan.org/authors/id/K/KA/KAZUHO/Text-MicroTemplate-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(File::Temp)
BuildRequires: perl >= 5.8.0
Requires: perl = %{perl_version}
Requires: perl >= 5.8.0
%description
Text::MicroTemplate is a standalone, fast, intelligent, extensible template
engine with following features.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
%changelog