Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-File-Inplace
perl-File-Inplace.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-File-Inplace.spec of Package perl-File-Inplace
# vim: set sw=4 ts=4 et nu: Name: perl-File-Inplace Version: 0.20 Release: 0 Summary: Edit files in-place Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHIPT/File-Inplace-%{version}.tar.gz URL: http://search.cpan.org/dist/File-Inplace Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} BuildRequires: perl-macros BuildRequires: make BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description File::Inplace is a perl module intended to ease the common task of editing a file in-place. Inspired by variations of perl's -i option, this module is intended for somewhat more structured and reusable editing than command line perl typically allows. File::Inplace endeavors to guarantee file integrity; that is, either all of the changes made will be saved to the file, or none will. It also offers functionality such as backup creation, automatic field splitting per-line, automatic chomping/unchomping, and aborting edits partially through without affecting the original file. %prep %setup -q -n "File-Inplace-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/File %{perl_vendorlib}/File/Inplace.pm %doc %{perl_man3dir}/File::Inplace.%{perl_man3ext}%{ext_man}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor