rpms/TVAnytimeAPI/F-9 TVAnytimeAPI.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sandro Mathys red at fedoraproject.org
Mon Jan 26 13:53:23 UTC 2009


Author: red

Update of /cvs/pkgs/rpms/TVAnytimeAPI/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31146/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	TVAnytimeAPI.spec import.log 
Log Message:
* Mon Jan 26 2009 Sandro Mathys <red at fedoraproject.org> - 2.0.1-2
- initial commit




--- NEW FILE TVAnytimeAPI.spec ---
Name:           TVAnytimeAPI
Version:        1.3
Release:        3%{?dist}
Summary:        A java API for parsing, manipulating and creating TV-Anytime metadata
Group:          Development/Libraries
License:        LGPLv2+
URL:            http://tvanytimeapi.sourceforge.net/
#Source0:         http://downloads.sourceforge.net/%{name}/%{name}_July05_release.zip
# Modified the source archive because of legal problems (mainly the xml/subdir)
Source0:        %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:     java-devel >= 1:1.6.0
BuildRequires:     jpackage-utils
Requires:          java >= 1:1.6.0
Requires:          jpackage-utils

%description
A java API for parsing, manipulating and creating TV-Anytime metadata.
TV-Anytime is an open standard for metadata describing TV and radio
programmes that is designed to support Personal Video Recoders (PVRs),
programme guides and related technologies.


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

%description javadoc
TVAnytimeAPI development documentation.


%prep
%setup -q # -n %{name}-%{version}

%{__sed} -i 's/\r//' examples/APICodeExamples.java
%{__sed} -i 's/\r//' examples/CreateProgInfoTable.java


%build
pushd java
javac -d ../lib/ `find -name '*.java'`
popd
pushd lib
jar -cvf0 TVAnytimeAPI.jar bbc
popd
javadoc -author -version -overview java/overview.html -public -d doc `find java -name '*.java'`


%install
rm -rf $RPM_BUILD_ROOT

# jar
install -d $RPM_BUILD_ROOT%{_javadir}
install -m644 lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

# javadoc
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -rp doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING examples
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar

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


%changelog
* Thu Jan 15 2009 Sandro Mathys <red at fedoraproject.org> - 1.3-3
- License was wrong.

* Fri Jan 09 2009 Sandro Mathys <red at fedoraproject.org> - 1.3-2
- Removed the xml/ subdir for legal problems.
- Also removed lib/* and docs because I was already modifying the source archive anyway.
- Added examples/ to the docs

* Tue Dec 16 2008 Sandro Mathys <red at fedoraproject.org> - 1.3-1
- initial build


--- NEW FILE import.log ---
TVAnytimeAPI-1_3-3_fc11:F-9:TVAnytimeAPI-1.3-3.fc11.src.rpm:1232977938


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/TVAnytimeAPI/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Jan 2009 03:31:49 -0000	1.1
+++ .cvsignore	26 Jan 2009 13:52:53 -0000	1.2
@@ -0,0 +1 @@
+TVAnytimeAPI-1.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/TVAnytimeAPI/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jan 2009 03:31:49 -0000	1.1
+++ sources	26 Jan 2009 13:52:53 -0000	1.2
@@ -0,0 +1 @@
+8e1af36a53356571259ece8f89691d4b  TVAnytimeAPI-1.3.tar.bz2




More information about the scm-commits mailing list