osc service localrun format_spec_file

OBS-URL: https://build.opensuse.org/package/show/Java:packages/avalon-logkit?expand=0&rev=4
This commit is contained in:
Michal Vyskocil 2012-02-13 13:06:13 +00:00 committed by Git OBS Bridge
parent de48e16354
commit 83a3c29af8

View File

@ -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 # Copyright (c) 2000-2005, JPackage Project
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # All modifications and additions to the file contributed by third parties
# modification, are permitted provided that the following conditions # remain the property of their copyright owners, unless otherwise agreed
# are met: # 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
# 1. Redistributions of source code must retain the above copyright # license for the pristine package is not an Open Source License, in which
# notice, this list of conditions and the following disclaimer. # case the license is the MIT License). An "Open Source License" is a
# 2. Redistributions in binary form must reproduce the above copyright # license that conforms to the Open Source Definition (Version 1.9)
# notice, this list of conditions and the following disclaimer in the # published by the Open Source Initiative.
# 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define short_name logkit %define short_name logkit
%define camelcase_short_name LogKit %define camelcase_short_name LogKit
Name: avalon-logkit Name: avalon-logkit
Version: 2.1 Version: 2.1
Release: 3 Release: 0
Summary: Java logging toolkit Summary: Java logging toolkit
License: Apache-1.1 License: Apache-1.1
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://avalon.apache.org/%{short_name}/ Url: http://avalon.apache.org/%{short_name}/
#Source0: http://www.apache.org/dist/excalibur/%{name}/source/%{name}-%{version}-src.zip #Source0: http://www.apache.org/dist/excalibur/%{name}/source/%{name}-%{version}-src.zip
Source0: %{name}-%{version}-src.zip Source0: %{name}-%{version}-src.zip
Patch0: fix-java6-compile.patch Patch0: fix-java6-compile.patch
Requires: avalon-framework >= 4.1.4 Requires: avalon-framework >= 4.1.4
Requires: servlet25 Requires: servlet25
Requires: jms Requires: jms
Requires: jdbc-stdext Requires: jdbc-stdext
BuildRequires: unzip BuildRequires: ant
BuildRequires: jpackage-utils >= 1.5 BuildRequires: ant-junit
BuildRequires: ant BuildRequires: avalon-framework >= 4.1.4
BuildRequires: javamail BuildRequires: javamail
BuildRequires: ant-junit BuildRequires: jdbc-stdext
BuildRequires: log4j BuildRequires: jms
BuildRequires: avalon-framework >= 4.1.4 BuildRequires: jpackage-utils >= 1.5
BuildRequires: servlet25 BuildRequires: log4j
BuildRequires: jms BuildRequires: servlet25
BuildRequires: jdbc-stdext BuildRequires: unzip
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
LogKit is a logging toolkit designed for secure performance orientated 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. that you read the whitepaper and browse the API docs.
%package javadoc %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Group: Development/Libraries/Java Group: Development/Libraries/Java
Requires: jpackage-utils Requires: jpackage-utils
%description javadoc %description javadoc
API documentation for %{name}. API documentation for %{name}.
@ -115,99 +102,3 @@ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%{_javadocdir}/* %{_javadocdir}/*
%changelog %changelog
* Sun Dec 18 2011 Minh Ngo <nlminhtl@gmail> 0:2.1-3
- Fixing the license for openSUSE packages
* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-2
- Add missing ant-junit BR.
* Tue Nov 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-1
- Update to 2.1 (rhbz#599622).
* Tue Nov 9 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.2-9
- Fix build to use tomcat6
- Cleanups, various packaging problems fixed
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.2-6
- drop repotag
- fix license tag
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.2-5jpp.5
- Autorebuild for GCC 4.3
* Fri Feb 09 2007 Permaine Cheung <pcheung@redhat.com> 0:1.2-4jpp.5%{?dist}
- Fix source URL, BuildRoot
* Thu Feb 08 2007 Permaine Cheung <pcheung@redhat.com> 0:1.2-4jpp.4%{?dist}
- rpmlint cleanup.
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:1.2-4jpp.3
- Added missing requirements.
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.2-4jpp_2fc
- Rebuilt
* Wed Jul 19 2006 Deepak Bhole <dbhole@redhat.com> 0:1.2-4jpp_1fc
- Added conditional native compilation.
- Removed name/release/version defines as applicable.
* Fri Aug 20 2004 Ralph Apel <r.apel@r-apel.de> 0:1.2-3jpp
- Build with ant-1.6.2
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.2-2jpp
- update for JPackage 1.5
* Fri Mar 21 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 1.2-1jpp
- For jpackage-utils 1.5
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.1-4jpp
- hardcoded distribution and vendor tag
- group tag again
* Thu May 2 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.1-3jpp
- distribution tag
- group tag
* Mon Mar 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0.1-2jpp
- generic servlet support
* Sun Feb 03 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 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 <guillomovitch@users.sourceforge.net> 1.0-4jpp
- javadoc into javadoc package
- Requires and BuildRequires servletapi3 >= 3.2.3-2
- regenerated the patch
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.0-3jpp
- changed extension --> jpp
* Tue Nov 20 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-2jpp
- non-free extension classes back in original archive
- removed packager tag
* Sun Oct 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-1jpp
- 1.0
* Tue Oct 9 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-0.b5.2jpp
- non-free extension as additional package
* Sat Oct 6 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-0.b5.1jpp
- 1.0b5
- first unified release
- used original tarball
* Mon Sep 10 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.0-0.b4.1mdk
- first Mandrake release