OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-UTF8simple?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
ed4397d9ea
commit
576241956f
49
perl-Unicode-UTF8simple.spec
Normal file
49
perl-Unicode-UTF8simple.spec
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
%define modname Unicode-UTF8simple
|
||||||
|
Name: perl-%{modname}
|
||||||
|
Version: 1.06
|
||||||
|
Release: 1
|
||||||
|
Summary: Conversions to/from UTF8 from/to charactersets
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
BuildRequires: perl
|
||||||
|
License: GPL/Artistic
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Source: %{modname}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This utf-8 converter is written in plain perl and works with hopefully any perl
|
||||||
|
5 version. It was mainly written because more recent modules such as Encode do
|
||||||
|
not work under older Perl 5.0 installations.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Guido Socher <guido at linuxfocus dot org>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc README test.pl
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{perl_vendorlib}/Unicode/UTF8simple.pm
|
||||||
|
%{perl_vendorarch}/auto/Unicode/UTF8simple
|
||||||
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Wed Jun 21 2006 - James Oakley <jfunk@funktronics.ca> - 1.06-1
|
||||||
|
- Initial release
|
Reference in New Issue
Block a user