rpms/jorbis/F-10 import.log, NONE, 1.1 jorbis.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Fri May 1 22:27:48 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/jorbis/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv743/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log jorbis.spec 
Log Message:
* Wed Apr 29 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.0.17-2
- Fix duplicate files issue

* Sun Apr 19 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.0.17-1
- Initial Fedora build



--- NEW FILE import.log ---
jorbis-0_0_17-2_fc10:F-10:jorbis-0.0.17-2.fc10.src.rpm:1241216819


--- NEW FILE jorbis.spec ---
%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}

Name:		jorbis
Summary:	Pure Java Ogg Vorbis Decoder
URL:		http://www.jcraft.com/jorbis/index.html
Source0:	http://www.jcraft.com/%{name}/%{name}-%{version}.zip
Group:		System Environment/Libraries
Version:	0.0.17
Release:	2%{?dist}
License:	LGPLv2+
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:	ant
BuildRequires:	java-devel >= 1.6
BuildRequires:	jpackage-utils

%if %{with_gcj}
BuildRequires:	java-gcj-compat-devel >= 1.0.31
Requires(post):	java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%else
BuildArch:	noarch
%endif

Requires:	java >= 1.5
Requires:	jpackage-utils


%description
JOrbis is a pure Java Ogg Vorbis decoder. JOrbis accepts Ogg Vorbis bitstreams
and decodes them to raw PCMs.

%package javadoc
Summary:	Javadocs for %{name}
Group:		Documentation
Requires:	%{name} = %{version}-%{release}
Requires:	jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.

%package player
Summary:	An ogg player using JOrbis
Group:		System Environment/Libraries
Requires:	%{name} = %{version}-%{release}

%description player
JOrbisPlayer is a simple ogg-Player.

%package comment
Summary:	JOrbisComment is a simple comment editor for Ogg Vorbis
Group:		System Environment/Libraries
Requires:	%{name} = %{version}-%{release}

%description comment
JOrbisComment is a simple comment editor for Ogg Vorbis.

This program is just provided here for setting an example, how to
use JOrbis for editing comments.

%prep
%setup -q

# Fix weird permission
chmod -x com/jcraft/jorbis/Util.java

%build
%javac `find ./ -name '*.java'`
%jar cf %{name}.jar com/jcraft/*/*.class 
%jar cf %{name}-player.jar player/*.class
%jar cf %{name}-comment.jar comment_editor/*.class

%javadoc -d doc -public `find ./ -name '*.java'`

%install
rm -rf %{buildroot}
# jars
install -dm 755 %{buildroot}%{_javadir}
install -pm 644 jorbis.jar \
	%{buildroot}%{_javadir}/%{name}-%{version}.jar
install -pm 644 %{name}-player.jar \
	%{buildroot}%{_javadir}/%{name}-player-%{version}.jar
install -pm 644 %{name}-comment.jar \
	%{buildroot}%{_javadir}/%{name}-comment-%{version}.jar
pushd %{buildroot}%{_javadir}
	for jar in *-%{version}*; do
		ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
	done
popd

# javadoc
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}

%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif


%clean
rm -rf %{buildroot}

%post
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif

%postun
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif

%post player
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif

%postun player
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif

%post comment
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif

%postun comment
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ] 
then
%{_bindir}/rebuild-gcj-db
fi
%endif


%files
%defattr(-,root,root,-)
%doc COPYING.LIB ChangeLog README
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%if %{with_gcj}
%dir %{_libdir}/gcj/%{name}
%{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
%endif


%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}

%files player
%defattr(-,root,root,-)
%doc player/JOrbisPlayer.html
%{_javadir}/%{name}-player*.jar
%if %{with_gcj}
%{_libdir}/gcj/%{name}/%{name}-player*.jar.*
%endif

%files comment
%defattr(-,root,root,-)
%doc comment_editor/README
%{_javadir}/%{name}-comment*.jar
%if %{with_gcj}
%{_libdir}/gcj/%{name}/%{name}-comment*.jar.*
%endif

%changelog
* Wed Apr 29 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.0.17-2
- Fix duplicate files issue

* Sun Apr 19 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.0.17-1
- Initial Fedora build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jorbis/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	1 May 2009 21:04:06 -0000	1.1
+++ .cvsignore	1 May 2009 22:27:18 -0000	1.2
@@ -0,0 +1 @@
+jorbis-0.0.17.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jorbis/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	1 May 2009 21:04:06 -0000	1.1
+++ sources	1 May 2009 22:27:18 -0000	1.2
@@ -0,0 +1 @@
+6141edfb16d34412a86c95a97fd4b10f  jorbis-0.0.17.zip




More information about the fedora-extras-commits mailing list