From 83a3c29af809b9b9b8e0722f80643fe79c3483cfb3160408ec446b1b4f65a283 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Mon, 13 Feb 2012 13:06:13 +0000 Subject: [PATCH] osc service localrun format_spec_file OBS-URL: https://build.opensuse.org/package/show/Java:packages/avalon-logkit?expand=0&rev=4 --- avalon-logkit.spec | 193 ++++++++++----------------------------------- 1 file changed, 42 insertions(+), 151 deletions(-) diff --git a/avalon-logkit.spec b/avalon-logkit.spec index a95b415..710735f 100644 --- a/avalon-logkit.spec +++ b/avalon-logkit.spec @@ -1,63 +1,50 @@ +# +# spec file for package avalon-logkit +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2000-2005, JPackage Project # All rights reserved. # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the -# distribution. -# 3. Neither the name of the JPackage Project nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# 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/ +# %define short_name logkit %define camelcase_short_name LogKit -Name: avalon-logkit -Version: 2.1 -Release: 3 -Summary: Java logging toolkit -License: Apache-1.1 -Group: Development/Libraries/Java -URL: http://avalon.apache.org/%{short_name}/ +Name: avalon-logkit +Version: 2.1 +Release: 0 +Summary: Java logging toolkit +License: Apache-1.1 +Group: Development/Libraries/Java +Url: http://avalon.apache.org/%{short_name}/ #Source0: http://www.apache.org/dist/excalibur/%{name}/source/%{name}-%{version}-src.zip -Source0: %{name}-%{version}-src.zip -Patch0: fix-java6-compile.patch -Requires: avalon-framework >= 4.1.4 -Requires: servlet25 -Requires: jms -Requires: jdbc-stdext -BuildRequires: unzip -BuildRequires: jpackage-utils >= 1.5 -BuildRequires: ant -BuildRequires: javamail -BuildRequires: ant-junit -BuildRequires: log4j -BuildRequires: avalon-framework >= 4.1.4 -BuildRequires: servlet25 -BuildRequires: jms -BuildRequires: jdbc-stdext -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source0: %{name}-%{version}-src.zip +Patch0: fix-java6-compile.patch +Requires: avalon-framework >= 4.1.4 +Requires: servlet25 +Requires: jms +Requires: jdbc-stdext +BuildRequires: ant +BuildRequires: ant-junit +BuildRequires: avalon-framework >= 4.1.4 +BuildRequires: javamail +BuildRequires: jdbc-stdext +BuildRequires: jms +BuildRequires: jpackage-utils >= 1.5 +BuildRequires: log4j +BuildRequires: servlet25 +BuildRequires: unzip +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LogKit is a logging toolkit designed for secure performance orientated @@ -65,9 +52,9 @@ logging in applications. To get started using LogKit, it is recomended that you read the whitepaper and browse the API docs. %package javadoc -Summary: Javadoc for %{name} -Group: Development/Libraries/Java -Requires: jpackage-utils +Summary: Javadoc for %{name} +Group: Development/Libraries/Java +Requires: jpackage-utils %description javadoc API documentation for %{name}. @@ -115,99 +102,3 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} %{_javadocdir}/* %changelog -* Sun Dec 18 2011 Minh Ngo 0:2.1-3 -- Fixing the license for openSUSE packages - -* Tue Nov 9 2010 Alexander Kurtakov 0:2.1-2 -- Add missing ant-junit BR. - -* Tue Nov 9 2010 Alexander Kurtakov 0:2.1-1 -- Update to 2.1 (rhbz#599622). - -* Tue Nov 9 2010 Stanislav Ochotnicky - 0:1.2-9 -- Fix build to use tomcat6 -- Cleanups, various packaging problems fixed - -* Fri Jul 24 2009 Fedora Release Engineering - 0:1.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Mon Feb 23 2009 Fedora Release Engineering - 0:1.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.2-6 -- drop repotag -- fix license tag - -* Tue Feb 19 2008 Fedora Release Engineering - 0:1.2-5jpp.5 -- Autorebuild for GCC 4.3 - -* Fri Feb 09 2007 Permaine Cheung 0:1.2-4jpp.5%{?dist} -- Fix source URL, BuildRoot - -* Thu Feb 08 2007 Permaine Cheung 0:1.2-4jpp.4%{?dist} -- rpmlint cleanup. - -* Thu Aug 03 2006 Deepak Bhole 0:1.2-4jpp.3 -- Added missing requirements. - -* Sat Jul 22 2006 Jakub Jelinek - 0:1.2-4jpp_2fc -- Rebuilt - -* Wed Jul 19 2006 Deepak Bhole 0:1.2-4jpp_1fc -- Added conditional native compilation. -- Removed name/release/version defines as applicable. - -* Fri Aug 20 2004 Ralph Apel 0:1.2-3jpp -- Build with ant-1.6.2 - -* Fri May 09 2003 David Walluck 0:1.2-2jpp -- update for JPackage 1.5 - -* Fri Mar 21 2003 Nicolas Mailhot 1.2-1jpp -- For jpackage-utils 1.5 - -* Tue May 07 2002 Guillaume Rousse 1.0.1-4jpp -- hardcoded distribution and vendor tag -- group tag again - -* Thu May 2 2002 Guillaume Rousse 1.0.1-3jpp -- distribution tag -- group tag - -* Mon Mar 18 2002 Guillaume Rousse 1.0.1-2jpp -- generic servlet support - -* Sun Feb 03 2002 Guillaume Rousse 1.0.1-1jpp -- 1.0.1 -- versioned dir for javadoc -- no dependencies for and javadoc package -- adaptation for new servlet3 package -- drop j2ee package -- regenerated the patch -- section package - -* Wed Dec 5 2001 Guillaume Rousse 1.0-4jpp -- javadoc into javadoc package -- Requires and BuildRequires servletapi3 >= 3.2.3-2 -- regenerated the patch - -* Wed Nov 21 2001 Christian Zoffoli 1.0-3jpp -- changed extension --> jpp - -* Tue Nov 20 2001 Guillaume Rousse 1.0-2jpp -- non-free extension classes back in original archive -- removed packager tag - -* Sun Oct 28 2001 Guillaume Rousse 1.0-1jpp -- 1.0 - -* Tue Oct 9 2001 Guillaume Rousse 1.0-0.b5.2jpp -- non-free extension as additional package - -* Sat Oct 6 2001 Guillaume Rousse 1.0-0.b5.1jpp -- 1.0b5 -- first unified release -- used original tarball - -* Mon Sep 10 2001 Guillaume Rousse 1.0-0.b4.1mdk -- first Mandrake release