raphgro pushed to jlibrtp (f22). "Initial import (rhbz#1167076)."

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 3 14:11:00 UTC 2015


>From d2f5808fed6f288e750477744e173b168d2cd8c6 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg at smart.ms>
Date: Fri, 3 Apr 2015 15:57:07 +0200
Subject: Initial import (rhbz#1167076).


diff --git a/.gitignore b/.gitignore
index e69de29..a5497fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jlibrtp-20141215svn258.tar.xz
diff --git a/jlibrtp-svn-tarball.sh b/jlibrtp-svn-tarball.sh
new file mode 100644
index 0000000..67b3409
--- /dev/null
+++ b/jlibrtp-svn-tarball.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+REV=$1
+#VERSION=0.2.3
+VERSION=20141215
+NAME=jlibrtp
+
+TMP=/tmp
+URL=svn://svn.code.sf.net/p/$NAME/code/$NAME
+FOLDER=$NAME-$VERSION'svn'$REV
+
+pushd $TMP
+rm -rf $FOLDER
+svn export -r $REV $URL $FOLDER
+# FIXME test and demo do not work currently within Fedora for several reasons
+# but keep the empty folders for the build script
+rm -fr $FOLDER/test/* $FOLDER/demo/*
+tar cvJf $FOLDER.tar.xz $FOLDER
+pushd
+mv $TMP/$FOLDER.tar.xz .
+
diff --git a/jlibrtp.spec b/jlibrtp.spec
new file mode 100644
index 0000000..75a1c5f
--- /dev/null
+++ b/jlibrtp.spec
@@ -0,0 +1,85 @@
+%global date    20141215
+%global rev     258
+
+%global tarball %{name}-%{date}svn%{rev}
+
+Name:           jlibrtp
+Version:        0.2.3
+# FIXME get a current release, http://sf.net/p/jlibrtp/bugs/8
+Release:        0.4.%{date}svn%{rev}%{?dist}
+Summary:        Java library for the Real-Time Transport Protocol (RTP)
+
+License:        LGPLv2+
+URL:            http://sf.net/projects/%{name}
+
+# make source tarball: $ sh %{name}-svn-tarball.sh %{rev}
+Source0:        %{tarball}.tar.xz
+Source1:        %{name}-svn-tarball.sh
+
+BuildArch:      noarch
+
+BuildRequires:  ant
+BuildRequires:  javapackages-local
+
+Requires:       jdom
+
+
+%description
+%{name} aims to create a library that makes it easy to support
+RTP (RFC 3550,3551) in Java applications. SRTP (RFC 3771) has been
+delayed in favor of RFC 4585.
+
+
+%package javadoc
+Summary:        Javadocs for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+
+%prep
+%setup -qn%{tarball}
+# remove DOS line encodings
+sed -i "s|\r||g" build.xml
+
+%build
+ant all
+
+%install
+%mvn_artifact org.jlibrtp:jlibrtp:%{version} %{name}.jar
+%mvn_install -J api
+
+
+%files -f .mfiles
+%license src/org/%{name}/LICENSE.txt
+# FIXME demos and tests do not work in Fedora
+
+%files javadoc -f .mfiles-javadoc
+%license src/org/%{name}/LICENSE.txt
+
+
+%changelog
+* Thu Apr 02 2015 Raphael Groner <projects.rg at smart.ms> - 0.2.3-0.4.20141215svn258
+- remove reviewed redundants R: java, chmod, javadoc
+- skip distribution of demo and test subfolders
+
+* Tue Mar 31 2015 Raphael Groner <projects.rg at smart.ms> - 0.2.3-0.3.20141215svn258
+- remove file duplications
+
+* Tue Mar 31 2015 Raphael Groner <projects.rg at smart.ms> - 0.2.3-0.2.20141215svn258
+- use mfiles
+- own javadir subfolder completely
+- use version for javadoc
+- introduce license macro
+
+* Tue Mar 03 2015 Raphael Groner <projects.rg (AT) smart.ms> - 0.2.3-0.1.20141215svn258
+- rebase as a pre-release
+- merge suggestions for javapackages-local from puntogil
+- remove dos2unix
+- rev 258
+
+* Sat Dec 06 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.2-2.20141206svn255
+- remove test and demo
+
+* Sat Nov 22 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.2-1.20141122svn252
+- initial
diff --git a/sources b/sources
index e69de29..09fc486 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d3e505edae9d57a9982cd9409dea474a  jlibrtp-20141215svn258.tar.xz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jlibrtp.git/commit/?h=f22&id=d2f5808fed6f288e750477744e173b168d2cd8c6


More information about the scm-commits mailing list