Re: [Simple-support] contribution: RPM Package for simple-xml
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-08-18 12:49:31
|
Hi,
This looks cool, I have not built an RPM for Simple before, however I know there is a deb file. I may add this to the download so that future users can build an RPM if required.
Thanks,
Niall
--- On Sun, 14/8/11, Michael Jones <mj...@cy...> wrote:
> From: Michael Jones <mj...@cy...>
> Subject: [Simple-support] contribution: RPM Package for simple-xml
> To: sim...@li...
> Received: Sunday, 14 August, 2011, 3:40 PM
> Hi List.
>
> Firstly, I'm not subscribed, so please direct
> any replys to both myself and the mailing list.
>
> I've created an RPM package for simple-xml.
> We use it in a few of our internal applications, and needed
> a way to handle upgrades to newer versions.
>
> Here's the specfile for the package
>
>
> Name: simple-xml
> Version: 2.6
> Release: 1%{?dist}
> Summary: The Simple XML Serialization
> framework
>
> URL: http://simple.sourceforge.net
> Source: simple-xml-%{version}.tar.gz
>
> BuildRoot:
> %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u}
> -n)
> Group: Development/Libraries
> License: Apache 2.0
> BuildArch: noarch
>
> %description
> Simple is a high performance XML serialization and
> configuration framework for Java. Its goal is to provide an
> XML framework that enables rapid development of XML
> configuration and communication systems. This framework aids
> the development of XML systems with minimal effort and
> reduced errors. It offers full object serialization and
> deserialization, maintaining each reference encountered. In
> essence it is similar to C# XML serialization for the Java
> platform, but offers additional features for interception
> and manipulation
>
> %prep
> %setup -q
>
> %build
> ant
>
> %install
>
> rm -rf %{buildroot}
> mkdir -p %{buildroot}/usr/share/java/
> cp jar/simple-xml-%{version}.jar
> %{buildroot}/usr/share/java/
> ln -sf /usr/share/java/simple-xml-%{version}.jar
> %{buildroot}/usr/share/java/simple-xml.jar
>
> %files
> /usr/share/java/simple-xml-%{version}.jar
> /usr/share/java/simple-xml.jar
>
> %post
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %changelog
> * Sun Aug 14 2011 Michael Jones <mj...@ep...>
> 2.6-1
> - Initial package.
>
> Attached to this email is the src.rpm file and rpm file
> generated by the rpmbuild program.
>
> This rpm file should work on any RPM based linux
> distribution, and delivers two files
> /usr/share/java/simple-xml-2.6.jar
> and a symlink to that file at
> /usr/share/java/simple-xml.jar
>
>
> I am authorized by my employer to release this src.rpm, rpm
> and specfile under the Apache 2.0 license. No modifications
> or patches to simple-xml were needed to create the src rpm.
>
> Cheers
>
>
> -- Michael Jones
> Software Engineer
> CyberMetrix
> 2860 N National Rd #A
> Columbus, IN 47201-4746 USA
> 812-375-5868
>
>
> -----Inline Attachment Follows-----
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich
> system,
> user administration capabilities and model configuration.
> Take
> the hassle out of deploying and managing Subversion and the
>
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Simple-support mailing list
> Sim...@li...
> https://lists.sourceforge.net/lists/listinfo/simple-support
>
|