forked from pool/colordiff
This commit is contained in:
commit
c9b60dc6c9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
colordiff-1.0.6a.tar.bz2
Normal file
3
colordiff-1.0.6a.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e029b0b92b2abf4cc9f99e1baf1a600f40fa29e4b0206c9905c7cbc42e9a7e47
|
||||
size 15577
|
15
colordiff-fix-permission.diff
Normal file
15
colordiff-fix-permission.diff
Normal file
@ -0,0 +1,15 @@
|
||||
Index: colordiff-1.0.6/Makefile
|
||||
===================================================================
|
||||
--- colordiff-1.0.6.orig/Makefile
|
||||
+++ colordiff-1.0.6/Makefile
|
||||
@@ -32,9 +32,7 @@ install: etc
|
||||
if [ -f ${ETC_DIR}/colordiffrc ]; then \
|
||||
mv -f ${ETC_DIR}/colordiffrc ${ETC_DIR}/colordiffrc.old; \
|
||||
fi
|
||||
- cp colordiffrc ${ETC_DIR}/colordiffrc
|
||||
- chown root.root ${ETC_DIR}/colordiffrc
|
||||
- chmod 644 ${ETC_DIR}/colordiffrc
|
||||
+ install -m 644 colordiffrc ${ETC_DIR}/colordiffrc
|
||||
rm -f colordiff.pl.for.install
|
||||
|
||||
dist:
|
6
colordiff.changes
Normal file
6
colordiff.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 24 21:29:42 CEST 2007 - bwalle@suse.de
|
||||
|
||||
- initial SUSE package
|
||||
|
||||
-------------------------------------------------------------------
|
63
colordiff.spec
Normal file
63
colordiff.spec
Normal file
@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package colordiff (Version 1.0.6a)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: colordiff
|
||||
URL: http://colordiff.sourceforge.net/
|
||||
Version: 1.0.6a
|
||||
Release: 1
|
||||
License: GPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Group: Productivity/Text/Utilities
|
||||
Summary: Colour-highlighted 'diff' output
|
||||
Source0: http://colordiff.sourceforge.net/%{name}-%{version}.tar.bz2
|
||||
Patch0: colordiff-fix-permission.diff
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The Perl script colordiff is a wrapper for 'diff' and produces the same
|
||||
output but with pretty 'syntax' highlighting. Colour schemes can be
|
||||
customized.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Ewart <davee@sungate.co.uk>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT/etc
|
||||
make INSTALL_DIR=$RPM_BUILD_ROOT/%{_bindir} \
|
||||
MAN_DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
||||
ETC_DIR=$RPM_BUILD_ROOT/etc install
|
||||
gzip $RPM_BUILD_ROOT/%{_mandir}/man1/*.1
|
||||
sed -i -e "s@$RPM_BUILD_ROOT@@" $RPM_BUILD_ROOT/%{_bindir}/colordiff
|
||||
chmod a-x $RPM_BUILD_ROOT/%{_mandir}/man1/colordiff.*
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README TODO COPYING CHANGES BUGS colordiffrc colordiffrc-lightbg
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
/etc/colordiffrc
|
||||
|
||||
%changelog
|
||||
* Sun Jun 24 2007 - bwalle@suse.de
|
||||
- initial SUSE package
|
Loading…
Reference in New Issue
Block a user