Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
perl-Text-Diff
> perl-Text-Diff.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Text-Diff.spec of Package perl-Text-Diff
# # spec file for package perl-Text-Diff (Version 1.37) # # 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-Text-Diff %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Perform Diffs on Files and Record Sets Version: 1.37 Release: 6.2.3 License: Artistic License; GPL v2 or later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-Diff Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Algorithm::Diff) BuildRequires: perl(Data::Dumper) Requires: perl = %{perl_version} Requires: perl(Algorithm::Diff) Provides: %{cpan_name} %description "diff()" provides a basic set of services akin to the GNU "diff" utility. It is not anywhere near as feature complete as GNU "diff", but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system's "diff" executable for small files, and generally slower on larger files. Relies on Algorithm::Diff for, well, the algorithm. This may not produce the same exact diff as a system's local "diff" executable, but it will be a valid diff and comprehensible by "patch". We haven't seen any differences between Algorithm::Diff's logic and GNU diff's, but we have not examined them to make sure they are indeed identical. Author: Adam Kennedy <adamk@cpan.org> Barrie Slaymaker <barries@slaysys.com> %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files # normally you only need to check for doc files %defattr(-, root, root) %doc Changes LICENSE README %changelog * Sun Dec 13 2009 chris@computersalat.de - cleanup spec * fixed header * updated desc * added LICENSE README to doc * moved changelog to .changes - fixed build-/deps * added Data::Dumper * Mon Jul 27 2009 chris@computersalat.de - update to 1.37 * Switching to a production release * Switching to a 1.xx version to indicate this * Added META.yml file - 1.36_01 Mon 13 Jul 2009 * Cleaning this up to pass tests * Adding author tests * Sat Jul 25 2009 chris@computersalat.de - spec mods * removed ^---------- * removed ^#--------- * Thu Jun 18 2009 chris@computersalat.de - spec fix for perl-macros * Thu Jun 18 2009 chris@computersalat.de - added perl-macros o autogen filelist with perl_gen_filelist * Fri Jun 12 2009 chris@computersalat.de - spec mods o updated header o some defines o auto filelist gen to make rpmlint happy * Tue Sep 18 2007 <jfunk@funktronics.ca> - Initial release 0.35