netty/netty.spec

179 lines
6.1 KiB
RPMSpec
Raw Normal View History

2011-01-18 10:02:23 +00:00
Name: netty
2013-02-25 13:10:11 +00:00
Version: 3.6.3
Release: 1%{?dist}
2011-01-18 10:02:23 +00:00
Summary: An asynchronous event-driven network application framework and tools for Java
Group: Development/Libraries
License: ASL 2.0
2012-07-12 08:11:59 +00:00
URL: https://netty.io/
2013-01-15 15:46:49 +00:00
Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.Final-dist.tar.bz2
Patch0: %{name}-port-to-jzlib-1.1.0.patch
2012-07-11 22:45:38 +00:00
BuildArch: noarch
2011-01-18 10:02:23 +00:00
2013-02-07 08:36:18 +00:00
BuildRequires: maven-local
2011-01-18 10:02:23 +00:00
BuildRequires: maven-antrun-plugin
BuildRequires: maven-assembly-plugin
BuildRequires: maven-compiler-plugin
2012-05-18 13:12:59 +00:00
BuildRequires: maven-enforcer-plugin
2011-01-18 10:02:23 +00:00
BuildRequires: maven-javadoc-plugin
2012-07-12 08:11:59 +00:00
BuildRequires: maven-plugin-bundle
2011-01-18 10:02:23 +00:00
BuildRequires: maven-resources-plugin
BuildRequires: maven-source-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: ant-contrib
2012-07-12 08:11:59 +00:00
2011-01-18 10:02:23 +00:00
BuildRequires: felix-osgi-compendium
2012-07-12 08:11:59 +00:00
BuildRequires: felix-osgi-core
2012-07-11 22:45:38 +00:00
BuildRequires: jboss-logging
2012-07-12 08:11:59 +00:00
BuildRequires: jboss-marshalling
BuildRequires: protobuf-java
BuildRequires: slf4j
BuildRequires: sonatype-oss-parent
BuildRequires: tomcat-servlet-3.0-api
2011-01-18 10:02:23 +00:00
%description
Netty is a NIO client server framework which enables quick and easy
development of network applications such as protocol servers and
clients. It greatly simplifies and streamlines network programming
such as TCP and UDP socket server.
'Quick and easy' doesn't mean that a resulting application will suffer
from a maintainability or a performance issue. Netty has been designed
carefully with the experiences earned from the implementation of a lot
of protocols such as FTP, SMTP, HTTP, and various binary and
text-based legacy protocols. As a result, Netty has succeeded to find
a way to achieve ease of development, performance, stability, and
flexibility without a compromise.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation
%description javadoc
%{summary}.
%prep
%setup -q -n %{name}-%{version}.Final
# just to be sure, but not used anyway
2012-07-12 08:11:59 +00:00
rm -rf jar doc license
2011-12-05 15:09:26 +00:00
2012-07-12 08:11:59 +00:00
%pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-jxr-plugin']]"
%pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-checkstyle-plugin']]"
%pom_remove_plugin org.eclipse.m2e:lifecycle-mapping
%pom_remove_dep javax.activation:activation
%pom_remove_plugin :animal-sniffer-maven-plugin
2012-07-12 08:08:34 +00:00
%pom_xpath_remove "pom:execution[pom:id[text()='remove-examples']]"
2012-07-12 08:11:59 +00:00
%pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-javadoc-plugin']]/pom:configuration"
sed s/jboss-logging-spi/jboss-logging/ -i pom.xml
2011-01-18 10:02:23 +00:00
# Remove bundled jzlib and use system jzlib
rm -rf src/main/java/org/jboss/netty/util/internal/jzlib
%pom_add_dep com.jcraft:jzlib
sed -i s/org.jboss.netty.util.internal.jzlib/com.jcraft.jzlib/ \
$(find src/main/java/org/jboss/netty/handler/codec -name \*.java | sort -u)
%patch0 -p1
2011-01-18 10:02:23 +00:00
%build
2013-01-15 15:46:49 +00:00
%mvn_alias : org.jboss.netty:
%mvn_file : %{name}
2012-07-12 08:11:59 +00:00
# skipping tests because we don't have easymockclassextension
2013-01-15 15:46:49 +00:00
%mvn_build -f
2011-01-18 10:02:23 +00:00
%install
2013-01-15 15:46:49 +00:00
%mvn_install
2011-01-18 10:02:23 +00:00
2013-01-15 15:46:49 +00:00
%files -f .mfiles
2011-01-18 10:02:23 +00:00
%doc LICENSE.txt NOTICE.txt
2013-01-15 15:46:49 +00:00
%files javadoc -f .mfiles-javadoc
2011-01-18 10:02:23 +00:00
%doc LICENSE.txt NOTICE.txt
%changelog
2013-02-25 13:10:11 +00:00
* Mon Feb 25 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6.3-1
- Update to upstream version 3.6.3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.6.2-2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
2013-01-16 17:44:06 +00:00
* Wed Jan 16 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6.2-1
- Update to upstream version 3.6.2
2013-01-15 15:46:49 +00:00
* Tue Jan 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6.1-1
- Update to upstream version 3.6.1
* Thu Dec 13 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.11-2
- Use system jzlib instead of bundled jzlib
- Resolves: rhbz#878391
2012-12-03 11:22:27 +00:00
* Mon Dec 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.11-1
- Update to upstream version 3.5.11
2012-11-12 16:07:50 +00:00
* Mon Nov 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.10-1
- Update to upstream version 3.5.10
2012-10-25 09:50:26 +00:00
* Thu Oct 25 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.9-1
- Update to upstream version 3.5.9
2012-10-05 01:13:18 +00:00
* Fri Oct 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.8-1
- Update to upstream version 3.5.8
2012-09-07 09:16:02 +00:00
* Fri Sep 7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.7-1
- Update to upstream version 3.5.7
2012-09-03 12:15:00 +00:00
* Mon Sep 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.6-1
- Update to upstream version 3.5.6
2012-08-23 08:14:12 +00:00
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.5-1
- Update to upstream version 3.5.5
2012-08-16 12:26:51 +00:00
* Thu Aug 15 2012 Tomas Rohovsky <trohovsk@redhat.com> - 3.5.4-1
- Update to upstream version 3.5.4
2012-07-24 12:12:42 +00:00
* Tue Jul 24 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.3-1
- Update to upstream version 3.5.3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jul 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.2-2
- Add additional depmap for org.jboss.netty:netty
- Fixes #840301
2012-07-12 08:11:59 +00:00
* Thu Jul 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.2-1
- Update to upstream version 3.5.2
- Convert patches to POM macros
- Enable jboss-logging
2012-05-18 13:12:59 +00:00
* Fri May 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.4-4
- Add enforcer-plugin to BR
* Wed Apr 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.4-3
- Remove eclipse plugin from BuildRequires
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-05 15:09:26 +00:00
* Mon Dec 5 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.4-1
- Update to latest upstream version
* Mon Jul 4 2011 Alexander Kurtakov <akurtako@redhat.com> 3.2.3-4
- Fix FTBFS.
- Adapt to current guidelines.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-18 10:02:23 +00:00
* Mon Jan 17 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.3-2
- Use maven 3 to build
- Drop ant-contrib depmap (no longer needed)
* Thu Jan 13 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.3-1
- Initial version of the package