Files
perl-AcePerl/perl-AcePerl.spec
2025-08-12 18:11:32 +02:00

88 lines
2.7 KiB
RPMSpec

#
# spec file for package perl-AcePerl (Version 1.92)
#
# 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
%bcond_with test
Name: perl-AcePerl
%define cpan_name AcePerl
Summary: AcePerl Perl module
Version: 1.92
Release: 1
License: GPL-2.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/AcePerl/
#Source: http://www.cpan.org/modules/by-module/AcePerl/AcePerl-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Cache::Cache) >= 1.03
BuildRequires: perl(Digest::MD5) >= 2
Requires: perl(Cache::Cache) >= 1.03
Requires: perl(Digest::MD5) >= 2
%description
This is version 1.86 of AcePerl, a Perl interface for the ACEDB object-
oriented database. Designed specifically for use in genome sequencing
projects, ACEDB provides powerful modeling and management services for
biological and laboratory data. For others, it is a good open source
introduction to the world of object-oriented databases
pure Perl Build:
[Yes] Interface to Ace socket server and local databases
[No] XS optimizations
[No] RPC server interface
and no Ace::Browser
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
# all tests need network :(, hence disabled by default
%if %{with test}
%check
%{__make} test
%endif
%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
# rpmlint: auto directory is included in the perl package
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorlib/auto
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog DISCLAIMER.txt install.PLS make_docs.PLS README README.ACEBROWSER
%changelog