public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/plexus-i18n] epel10: Update to current packaging guidelines
@ 2026-07-15  9:37 Mikolaj Izdebski
  0 siblings, 0 replies; only message in thread
From: Mikolaj Izdebski @ 2026-07-15  9:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/plexus-i18n
Branch : epel10
Commit : fb58ccfe9ac6a0d1578b5f8bdaeb5ea13378714f
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date   : 2014-05-21T19:04:17+02:00
Stats  : +16/-78 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/plexus-i18n/c/fb58ccfe9ac6a0d1578b5f8bdaeb5ea13378714f?branch=epel10

Log:
Update to current packaging guidelines

---
diff --git a/plexus-i18n.spec b/plexus-i18n.spec
index 253869e..a48964f 100644
--- a/plexus-i18n.spec
+++ b/plexus-i18n.spec
@@ -1,70 +1,27 @@
-# Copyright (c) 2000-2007, 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.
-#
-
 %define parent plexus
 %define subname i18n
 
 Name:           plexus-i18n
 Version:        1.0
-Release:        0.5.b10.2%{?dist}
+Release:        0.5.b10.3%{?dist}
 Summary:        Plexus I18N Component
 License:        ASL 2.0
 Group:          Development/Java
-URL:           http://plexus.codehaus.org/plexus-components/plexus-i18n
-Source0:        plexus-i18n-1.0-beta-10-src.tar.bz2
+URL:            http://plexus.codehaus.org/plexus-components/plexus-i18n
+BuildArch:      noarch
+
 # svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-i18n-1.0-beta-10/
 # tar cjf plexus-i18n-1.0-beta-10-src.tar.bz2 plexus-i18n-1.0-beta-10/
+Source0:        plexus-i18n-1.0-beta-10-src.tar.bz2
 
 Patch0:         %{name}-migration-to-component-metadata.patch
 Patch1:         %{name}-plexus-container-default-missing.patch
 
-BuildArch:      noarch
-BuildRequires:  jpackage-utils >= 0:1.7.2
-BuildRequires:  ant >= 0:1.6
-BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  maven-local
-BuildRequires:  maven-compiler-plugin
-BuildRequires:  maven-install-plugin
-BuildRequires:  maven-jar-plugin
-BuildRequires:  maven-javadoc-plugin
-BuildRequires:  maven-resources-plugin
-BuildRequires:  maven-surefire-maven-plugin
-BuildRequires:  maven-surefire-provider-junit
-BuildRequires:  maven-doxia-sitetools
-BuildRequires:  plexus-containers-component-metadata
-BuildRequires:  classworlds >= 0:1.1
-BuildRequires:  plexus-containers-container-default
-BuildRequires:  plexus-utils
-Requires:  classworlds >= 0:1.1
-Requires:  plexus-containers-container-default
-Requires:  plexus-utils
+BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-components:pom:)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-container-default)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
 
 %description
 The Plexus project seeks to create end-to-end developer tools for 
@@ -74,50 +31,31 @@ reusable components for hibernate, form processing, jndi, i18n,
 velocity, etc. Plexus also includes an application server which 
 is like a J2EE application server, without all the baggage.
 
-
 %package javadoc
 Summary:        Javadoc for %{name}
-Group:          Development/Documentation
 
 %description javadoc
 Javadoc for %{name}.
 
-
 %prep
 %setup -q -n plexus-i18n-1.0-beta-10
 %patch0 -p1
 %patch1 -p1
 
 %build
-mvn-rpmbuild -e install javadoc:aggregate
+%mvn_build
 
 %install
-# jars
-install -Dpm 644 target/%{name}-%{version}-beta-10.jar \
-     %{buildroot}/%{_javadir}/%{parent}/%{subname}.jar
-
-# poms
-install -Dpm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP.%{name}.pom
-%add_maven_depmap JPP.%{name}.pom %{parent}/%{subname}.jar
+%mvn_install
 
-# javadoc
-install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}
-cp -pr target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
+%files -f .mfiles
 
-%pre javadoc
-# workaround for rpm bug, can be removed in F-19
-[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
-rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
-
-%files
-%{_javadir}/%{parent}/%{subname}.jar
-%{_mavenpomdir}/JPP.%{name}.pom
-%{_mavendepmapfragdir}/%{name}
-
-%files javadoc
-%doc %{_javadocdir}/%{name}
+%files javadoc -f .mfiles-javadoc
 
 %changelog
+* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.5.b10.3
+- Update to current packaging guidelines
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.5.b10.2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-15  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15  9:37 [rpms/plexus-i18n] epel10: Update to current packaging guidelines Mikolaj Izdebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox