Accepting request 30412 from devel:languages:perl

Copy from devel:languages:perl/perl-Text-Diff based on submit request 30412 from user anicka

OBS-URL: https://build.opensuse.org/request/show/30412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-Diff?expand=0&rev=1
This commit is contained in:
OBS User autobuild 2010-01-28 00:10:43 +00:00 committed by Git OBS Bridge
commit 4ef4f89a85
6 changed files with 160 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
Text-Diff-1.37.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6163858c2d2f4e4ccfd7f1e2b07ae15ccaed361878e7bc5de59f71feb8e74c48
size 23113

53
perl-Text-Diff.changes Normal file
View File

@ -0,0 +1,53 @@
-------------------------------------------------------------------
Sun Dec 13 12:11:19 UTC 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 23:13:41 CEST 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 19:45:25 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Fri Jun 19 01:09:51 CEST 2009 - chris@computersalat.de
- spec fix for perl-macros
-------------------------------------------------------------------
Fri Jun 19 01:02:19 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
-------------------------------------------------------------------
Fri Jun 12 16:41:29 CEST 2009 - chris@computersalat.de
- spec mods
o updated header
o some defines
o auto filelist gen to make rpmlint happy
-------------------------------------------------------------------
Tue Sep 18 17:23:45 UTC 2007 - <jfunk@funktronics.ca>
- Initial release 0.35

80
perl-Text-Diff.spec Normal file
View File

@ -0,0 +1,80 @@
#
# 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: 1
License: GPL/Artistic
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

0
ready Normal file
View File