diff --git a/actions.py b/actions.py deleted file mode 100644 --- a/actions.py +++ /dev/null @@ -1,12 +0,0 @@ - -#!/usr/bin/python - - -from pisi.actionsapi import shelltools, get, autotools, pisitools - -#def build(): -# autotools.make('-j1') - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc ("COPYING", "BUGS", "README") diff --git a/component.xml b/component.xml deleted file mode 100644 --- a/component.xml +++ /dev/null @@ -1,3 +0,0 @@ - - programming.tools - diff --git a/files/fix-install-paths.patch b/files/fix-install-paths.patch deleted file mode 100644 --- a/files/fix-install-paths.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -ruNb a/Makefile b/Makefile ---- a/Makefile 2012-10-17 16:14:35.000000000 -0400 -+++ b/Makefile 2013-06-11 19:57:11.843632903 -0400 -@@ -1,6 +1,6 @@ --INSTALL_DIR=/usr/local/bin --MAN_DIR=/usr/local/man/man1 --ETC_DIR=/etc -+INSTALL_DIR=/usr/bin -+MAN_DIR=/usr/share/man/man1 -+ETC_DIR=/etc/colordiff - VERSION=$(shell egrep '^my .version' colordiff.pl |cut -f 2 -d "'") - DIST_FILES=COPYING INSTALL Makefile README \ - colordiff.pl colordiffrc colordiffrc-lightbg cdiff.sh BUGS CHANGES colordiff.1 \ -@@ -35,13 +35,23 @@ - else \ - install -d ${DESTDIR}${ETC_DIR}; \ - fi -+ if [ -f ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg ]; then \ -+ mv -f ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg \ -+ ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg.old; \ -+ else \ -+ install -d ${DESTDIR}${ETC_DIR}; \ -+ fi - cp colordiffrc ${DESTDIR}${ETC_DIR}/colordiffrc -+ cp colordiffrc-lightbg ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg - -chown root.root ${DESTDIR}${ETC_DIR}/colordiffrc -+ -chown root.root ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg - chmod 644 ${DESTDIR}${ETC_DIR}/colordiffrc -+ chmod 644 ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg - - uninstall: - rm -f ${DESTDIR}${INSTALL_DIR}/colordiff - rm -f ${DESTDIR}${ETC_DIR}/colordiffrc -+ rm -f ${DESTDIR}${ETC_DIR}/colordiffrc-lightbg - rm -f ${DESTDIR}${INSTALL_DIR}/cdiff - rm -f ${DESTDIR}${MAN_DIR}/colordiff.1 - rm -f ${DESTDIR}${MAN_DIR}/cdiff.1 diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,27 @@ +name : colordiff +version : 1.0.18 +release : 2 +source : + - https://www.colordiff.org/colordiff-1.0.18.tar.gz : 29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0 +license : GPL-2.0 +component : programming.tools +summary : Colorized diff output +description: | + Colordiff is a Perl script that is a wrapper for diff and allows for syntax highlighting in diffs. +builddeps : + - xmlto + - diffutils + - docbook-xml + - w3m +rundeps : + - diffutils +build : | + %make +install : | + install -D -m 00755 $workdir/colordiff.pl $installdir/usr/bin/colordiff + install -D -m 00755 $workdir/cdiff.sh $installdir/usr/bin/cdiff + install -D -m 00644 $workdir/colordiff.1 $installdir/usr/share/man/man1/colordiff.1 + install -D -m 00644 $workdir/cdiff.1 $installdir/usr/share/man/man1/cdiff.1 + install -D -m 00644 $workdir/colordiffrc $installdir/usr/share/doc/colordiff/colordiffrc + install -D -m 00644 $workdir/colordiffrc-gitdiff $installdir/usr/share/doc/colordiff/colordiffrc-gitdiff + install -D -m 00644 $workdir/colordiffrc-lightbg $installdir/usr/share/doc/colordiff/colordiffrc-lightbg \ No newline at end of file diff --git a/pspec.xml b/pspec.xml deleted file mode 100644 --- a/pspec.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - colordiff - http://www.colordiff.org - - Justin Krehel - justin@solusos.com - - Colorized diff output - Colordiff is a Perl script that is a wrapper for diff and allows for syntax highlighting in diffs. - GPLv2+ - http://www.colordiff.org/colordiff-1.0.13.tar.gz - - diffutils - xmlto - - - fix-install-paths.patch - - - - - colordiff - - xmlto - diffutils - - - /etc/colordiff - /usr/bin - /usr/share/doc - /usr/share/man - - - - - - 06-11-2013 - 1.0.13 - Add colordiff to repositories - Justin Krehel - justin@solusos.com - - - - - diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,36 @@ + + + colordiff + + Matthew Andersen + matthew@barelystable.com + + GPL-2.0 + programming.tools + Colorized diff output + Colordiff is a Perl script that is a wrapper for diff and allows for syntax highlighting in diffs. + + https://solus-project.com/sources/README.Solus + + + colordiff + Colorized diff output + Colordiff is a Perl script that is a wrapper for diff and allows for syntax highlighting in diffs. + + programming.tools + + /usr/bin + /usr/share/doc + /usr/share/man + + + + + 2017-10-27 + 1.0.18 + Packaging update + Matthew Andersen + matthew@barelystable.com + + + \ No newline at end of file