File perl-Module-Refresh.spec of Package perl-Module-Refresh

#
# spec file for package perl-Module-Refresh
#
# Copyright (c) 2011 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-Module-Refresh
%define        real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary:        Refresh %INC files when updated on disk    t
Url:            http://search.cpan.org/perldoc?Module::Refresh
Group:          Development/Libraries/Perl
License:        Artistic
Version:        0.13
Release:        1
Source:         %{real_name}-%{version}.tar.bz2
BuildRequires:  perl-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%description
This module is a generalization of the functionality provided by
Apache::StatINC and Apache::Reload. It's designed to make it easy to do simple
iterative development when working in a persistent environment.

It does not require mod_perl.

Author:
-------
    Jesse Vincent <jesse@bestpractical.com>, 
    Autrijus Tang <autrijus@autrijui.org>


%prep
%setup -q -n %{real_name}-%{version}

%build
perl Makefile.PL 
make %{?jobs:-j%jobs}

%check
make test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
rm -rf %{buildroot}

%files -f %{name}.files 
%defattr(-, root, root)
%doc Changes MANIFEST

%changelog
openSUSE Build Service is sponsored by