8
0
Stephan Kulow
2014-01-18 07:18:57 +00:00
committed by Git OBS Bridge
parent 1d94d3fdc7
commit 388402e5b3
2 changed files with 30 additions and 36 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 18 07:18:32 UTC 2014 - coolo@suse.com
- use new perl template
-------------------------------------------------------------------
Fri Nov 18 11:08:40 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Unicode-Map8
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -15,25 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Unicode-Map8
BuildRequires: perl-Unicode-String
BuildRequires: perl-macros
Version: 0.13
Release: 6
Requires: perl-Unicode-String
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Unicode/
Release: 0
%define cpan_name Unicode-Map8
Summary: Mapping table between 8-bit chars and Unicode
Source: Unicode-Map8-%{version}.tar.gz
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Unicode-Map8/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Unicode::String) >= 2
Requires: perl(Unicode::String) >= 2
%{perl_requires}
# MANUAL BEGIN
Patch0: Unicode-Map8-%{version}-type.diff
Patch1: Unicode-Map8-%{version}-declaration.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
# MANUAL END
%description
The Unicode::Map8 class implements efficient mapping tables between
@@ -41,37 +42,25 @@ The Unicode::Map8 class implements efficient mapping tables between
are efficient both in terms of space allocated and translation speed.
The 16-bit strings are assumed to use network byte order.
Authors:
--------
Gisle Aas <gisle@aas.no>
%prep
%setup -n Unicode-Map8-%{version}
%patch0
%patch1
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make %{?_smp_mflags}
make test
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%doc README Changes rfc1345.txt
%{perl_vendorarch}/Unicode/Map8.pm
%{perl_vendorarch}/Unicode/Map8
%{perl_vendorarch}/auto/Unicode/Map8
%{_bindir}/*
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes diff_iso make_rfc1345_maps make_unicd_maps map8_bin2txt map8_txt2bin README rfc1345.txt umap
%changelog