From 9649c3edad8abd5766000844242241b150880b64b79860c08649d5c87c440b3d Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Tue, 3 Jan 2017 06:17:48 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++ _service | 22 ++++++++++ ccze-0.2.1-2.tar.gz | 3 ++ ccze.changes | 15 +++++++ ccze.spec | 87 ++++++++++++++++++++++++++++++++++++++ ccze_0.2.1-3.debian.tar.xz | 3 ++ license-fsf.diff | 22 ++++++++++ 7 files changed, 175 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 ccze-0.2.1-2.tar.gz create mode 100644 ccze.changes create mode 100644 ccze.spec create mode 100644 ccze_0.2.1-3.debian.tar.xz create mode 100644 license-fsf.diff diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_service b/_service new file mode 100644 index 0000000..0659e50 --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https + github.com + /madhouse/ccze/archive/ccze-0.2.1-2.tar.gz + + + ccze-0.2.1-2.tar.gz + sha256 + d698e7ead8351a89538abbe6e762bf5a4576b3b083cc19ed039b68eab7dbaaaa + + + http + http.debian.net + /debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz + + + ccze_0.2.1-3.debian.tar.xz + sha256 + 9bce13754ff6aeab118f202e8e916df314ac662c31cd7acc0737c7a793970de0 + + \ No newline at end of file diff --git a/ccze-0.2.1-2.tar.gz b/ccze-0.2.1-2.tar.gz new file mode 100644 index 0000000..16c6a27 --- /dev/null +++ b/ccze-0.2.1-2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d698e7ead8351a89538abbe6e762bf5a4576b3b083cc19ed039b68eab7dbaaaa +size 109951 diff --git a/ccze.changes b/ccze.changes new file mode 100644 index 0000000..e5df7e8 --- /dev/null +++ b/ccze.changes @@ -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 + diff --git a/ccze.spec b/ccze.spec new file mode 100644 index 0000000..27311dd --- /dev/null +++ b/ccze.spec @@ -0,0 +1,87 @@ +# +# spec file for package ccze +# +# Copyright (c) 2016 Sebastian Wagner +# +# 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 diff --git a/ccze_0.2.1-3.debian.tar.xz b/ccze_0.2.1-3.debian.tar.xz new file mode 100644 index 0000000..a28d791 --- /dev/null +++ b/ccze_0.2.1-3.debian.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bce13754ff6aeab118f202e8e916df314ac662c31cd7acc0737c7a793970de0 +size 8440 diff --git a/license-fsf.diff b/license-fsf.diff new file mode 100644 index 0000000..4ed7ea0 --- /dev/null +++ b/license-fsf.diff @@ -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. +