Accepting request 448273 from home:sebix
OBS-URL: https://build.opensuse.org/request/show/448273 OBS-URL: https://build.opensuse.org/package/show/utilities/ccze?expand=0&rev=1
This commit is contained in:
commit
9649c3edad
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
|
22
_service
Normal file
22
_service
Normal file
@ -0,0 +1,22 @@
|
||||
<services>
|
||||
<service mode="disabled" name="download_url">
|
||||
<param name="protocol">https</param>
|
||||
<param name="host">github.com</param>
|
||||
<param name="path">/madhouse/ccze/archive/ccze-0.2.1-2.tar.gz</param>
|
||||
</service>
|
||||
<service mode="localonly" name="verify_file">
|
||||
<param name="file">ccze-0.2.1-2.tar.gz</param>
|
||||
<param name="verifier">sha256</param>
|
||||
<param name="checksum">d698e7ead8351a89538abbe6e762bf5a4576b3b083cc19ed039b68eab7dbaaaa</param>
|
||||
</service>
|
||||
<service name="download_url" mode="disabled">
|
||||
<param name="protocol">http</param>
|
||||
<param name="host">http.debian.net</param>
|
||||
<param name="path">/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz</param>
|
||||
</service>
|
||||
<service mode="localonly" name="verify_file">
|
||||
<param name="file">ccze_0.2.1-3.debian.tar.xz</param>
|
||||
<param name="verifier">sha256</param>
|
||||
<param name="checksum">9bce13754ff6aeab118f202e8e916df314ac662c31cd7acc0737c7a793970de0</param>
|
||||
</service>
|
||||
</services>
|
3
ccze-0.2.1-2.tar.gz
Normal file
3
ccze-0.2.1-2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d698e7ead8351a89538abbe6e762bf5a4576b3b083cc19ed039b68eab7dbaaaa
|
||||
size 109951
|
15
ccze.changes
Normal file
15
ccze.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 30 19:21:01 UTC 2016 - sebix+novell.com@sebix.at
|
||||
|
||||
- first package
|
||||
- use license-fsf.diff to fix fsf postal address in license texts
|
||||
- use patches from debian package:
|
||||
* 288834_FTBFS_unrecognized_command_line_option_-Wmulticharacter.patch
|
||||
* doc___ccze.1.in.patch
|
||||
* fix_capitalization_typo.patch
|
||||
* fix_passing_LDFLAGS_for_ccze-cssdump.patch
|
||||
* src___ccze.c.patch
|
||||
* src___ccze-wordcolor.c_positive-numbers.patch
|
||||
* src___ccze-wordcolor.c_virus+clean.patch
|
||||
* src___mod_syslog.c.patch
|
||||
|
87
ccze.spec
Normal file
87
ccze.spec
Normal file
@ -0,0 +1,87 @@
|
||||
#
|
||||
# spec file for package ccze
|
||||
#
|
||||
# Copyright (c) 2016 Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
Name: ccze
|
||||
Version: 0.2.1.2
|
||||
Release: 0
|
||||
License: GPL-2.0+
|
||||
Summary: A robust log colorizer
|
||||
Url: https://github.com/madhouse/ccze/
|
||||
Group: Applications/Other
|
||||
Source: https://github.com/madhouse/ccze/archive/ccze-0.2.1-2.tar.gz
|
||||
Source1: http://http.debian.net/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz
|
||||
Patch0: license-fsf.diff
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: ncurses-devel >= 5.0
|
||||
BuildRequires: pcre-devel >= 3.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %name
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %name
|
||||
|
||||
%description
|
||||
CCZE is a roboust and modular log colorizer, with plugins for apm,
|
||||
exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd,
|
||||
vsftpd, xferlog and more.
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing
|
||||
applications that use %name.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %name-%name-0.2.1-2
|
||||
%setup -D -T -b 1 -q -n %name-%name-0.2.1-2
|
||||
%patch0 -p1
|
||||
%{__patch} -p1 debian/patches/288834_FTBFS_unrecognized_command_line_option_-Wmulticharacter.patch
|
||||
%{__patch} -p1 debian/patches/doc___ccze.1.in.patch
|
||||
%{__patch} -p1 debian/patches/fix_capitalization_typo.patch
|
||||
%{__patch} -p1 debian/patches/fix_passing_LDFLAGS_for_ccze-cssdump.patch
|
||||
%{__patch} -p1 debian/patches/src___ccze.c.patch
|
||||
%{__patch} -p1 debian/patches/src___ccze-wordcolor.c_positive-numbers.patch
|
||||
%{__patch} -p1 debian/patches/src___ccze-wordcolor.c_virus+clean.patch
|
||||
%{__patch} -p1 debian/patches/src___mod_syslog.c.patch
|
||||
|
||||
%build
|
||||
autoheader
|
||||
autoconf
|
||||
%configure --with-builtins=all
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
install -d %{buildroot}/%{_sysconfdir}
|
||||
src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc
|
||||
|
||||
%check
|
||||
%{__make} check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc NEWS THANKS FAQ ChangeLog ChangeLog-0.1 README
|
||||
%config(noreplace) %{_sysconfdir}/cczerc
|
||||
%{_bindir}/ccze
|
||||
%{_bindir}/ccze-cssdump
|
||||
%{_mandir}/man1/ccze.1*
|
||||
%{_mandir}/man1/ccze-cssdump.1*
|
||||
%{_mandir}/man7/ccze-plugin.7*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/ccze.h
|
||||
%license COPYING
|
3
ccze_0.2.1-3.debian.tar.xz
Normal file
3
ccze_0.2.1-3.debian.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bce13754ff6aeab118f202e8e916df314ac662c31cd7acc0737c7a793970de0
|
||||
size 8440
|
22
license-fsf.diff
Normal file
22
license-fsf.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- ccze-ccze-0.2.1-2/src/ccze.h 2014-06-23 16:20:25.000000000 +0200
|
||||
+++ ccze-ccze-0.2.1-2/src/ccze.h 2016-12-30 20:14:07.784513245 +0100
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef _CCZE_H
|
||||
--- ccze-ccze-0.2.1-2/COPYING 2016-12-30 20:15:27.163281314 +0100
|
||||
+++ ccze-ccze-0.2.1-2/COPYING 2016-12-30 20:15:46.435953169 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
Loading…
Reference in New Issue
Block a user