Группа :: Разработка/Perl
Пакет: perl-Module-Path
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Devel/FindPerl.pm) perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(File/Spec/Functions.pm) perl(FindBin.pm) perl(Test/More.pm)
# END SourceDeps(oneline)
%define module_version 0.19
%define module_name Module-Path
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.19
Release: alt1
Summary: get the full path to a locally installed module
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source: http://www.cpan.org/authors/id/N/NE/NEILB/Module-Path-%{version}.tar.gz
BuildArch: noarch
%description
%summary
%package scripts
Summary: %module_name scripts
Group: Development/Perl
Requires: %{?epoch:%epoch:}%name = %version-%release
%description scripts
scripts for %module_name
%prep
%setup -n %module_name-%module_version
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc LICENSE Changes README
%perl_vendor_privlib/M*
%files scripts
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Devel/FindPerl.pm) perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(File/Spec/Functions.pm) perl(FindBin.pm) perl(Test/More.pm)
# END SourceDeps(oneline)
%define module_version 0.19
%define module_name Module-Path
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.19
Release: alt1
Summary: get the full path to a locally installed module
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source: http://www.cpan.org/authors/id/N/NE/NEILB/Module-Path-%{version}.tar.gz
BuildArch: noarch
%description
%summary
%package scripts
Summary: %module_name scripts
Group: Development/Perl
Requires: %{?epoch:%epoch:}%name = %version-%release
%description scripts
scripts for %module_name
%prep
%setup -n %module_name-%module_version
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc LICENSE Changes README
%perl_vendor_privlib/M*
%files scripts
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь