SHA256
8
0
forked from pool/perl-UUID
Files
perl-UUID/perl-UUID.spec

66 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-UUID (Version 0.03)
#
# 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-UUID
%define cpan_name UUID
Summary: Perl extension for using UUID interfaces as defined in e2fsprogs
Version: 0.03
Release: 1
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/UUID/
Source: http://www.cpan.org/modules/by-module/UUID/UUID-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: e2fsprogs-devel
BuildRequires: perl
BuildRequires: perl-macros
%description
With these 3 routines UUID''s can easily be generated and parsed/un-parsed.
Authors:
--------
Colin Faber <cfaber@clusterfs.com>
Peter J. Braam <braam@mountainviewdata.com>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes License
%changelog