From 53443a022e26a0a0d5b4f39abe91554225f79af1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 17 Jan 2009 03:33:20 +0000 Subject: [PATCH 01/11] Initialize branch F-9 for xtvd --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From c99d6bdcc9f06b60673d66b5a1233ba72c9731a0 Mon Sep 17 00:00:00 2001 From: Sandro Mathys Date: Mon, 26 Jan 2009 13:29:37 +0000 Subject: [PATCH 02/11] - initial commit --- .cvsignore | 1 + import.log | 1 + sources | 1 + xtvd.spec | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 import.log create mode 100644 xtvd.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0416d44 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xtvd-2.0.1.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..4340975 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xtvd-2_0_1-2_fc11:HEAD:xtvd-2.0.1-2.fc11.src.rpm:1232976445 diff --git a/sources b/sources index e69de29..6582073 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bec29595844698245bf2f28660b35377 xtvd-2.0.1.tar.bz2 diff --git a/xtvd.spec b/xtvd.spec new file mode 100644 index 0000000..f287afe --- /dev/null +++ b/xtvd.spec @@ -0,0 +1,129 @@ +Name: xtvd +Version: 2.0.1 +Release: 2%{?dist} +Summary: A client java library for easy access to the tv data from schedulesdirect.org +Group: Development/Libraries +License: GPL+ +URL: http://xtvdclient.sourceforge.net/ +#svn co https://xtvdclient.svn.sourceforge.net/svnroot/xtvdclient/tags/2.0.1 xtvd-2.0.1 +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 +BuildRequires: jdom + +%description +A client java library for easy access to the tv data from schedulesdirect.org. + + +%package lib +Summary: A client java library for easy access to the tv data from schedulesdirect.org +Group: Development/Libraries +Requires: java >= 1:1.6.0 +Requires: jpackage-utils + +%description lib +A client java library for easy access to the tv data from schedulesdirect.org. + + +%package gui +Summary: This client is only a small demonstration for the usage of the library +Group: Applications/Multimedia +Requires: java >= 1:1.6.0 +Requires: jpackage-utils +Requires: %{name}-lib = %{version}-%{release} + +%description gui +This client is only a small demonstration for the usage of the library. +It's an enhanced verison of the old XTVD WEBSERVICE CLIENT by Tribune +Media Services, Inc. + + +%package lib-javadoc +Summary: Javadocs for xtvd-lib +Group: Documentation +Requires: %{name}-lib = %{version}-%{release} +Requires: jpackage-utils + +%description lib-javadoc +xtvd-lib development documentation. + + +%prep +%setup -q # -n %{name}-%{version} + +%build +# lib +pushd %{name}-lib +rm -rf target +mkdir target +javac -d target `find -name '*.java'` + +jar -cf ../%{name}-lib-%{version}.jar -C target . + +# lib-javadoc +javadoc -d doc `find src -name '*.java'` + +popd + + +# gui +pushd %{name}-gui +rm -rf target +mkdir target +javac -d target -cp ../%{name}-lib-%{version}.jar:`build-classpath jdom` `find -name '*.java'` +jar -cf ../%{name}-gui-%{version}.jar -C target . +popd + + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_javadir} + +# lib +install -m644 %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib-%{version}.jar +ln -s %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib.jar + +# gui +install -m644 %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui-%{version}.jar +ln -s %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui.jar + +# lib-javadoc +install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +cp -rp %{name}-lib/doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files lib +%defattr(-,root,root,-) +%doc %{name}-lib/LICENSE +%{_javadir}/%{name}-lib.jar +%{_javadir}/%{name}-lib-%{version}.jar + +%files gui +%defattr(-,root,root,-) +%doc %{name}-gui/LICENSE +%{_javadir}/%{name}-gui.jar +%{_javadir}/%{name}-gui-%{version}.jar + +%files lib-javadoc +%defattr(-,root,root,-) +%dir %{_javadocdir}/%{name}-%{version} +%{_javadocdir}/%{name} +%{_javadocdir}/%{name}-%{version}/* + +%changelog +* Thu Dec 18 2008 Sandro Mathys - 2.0.1-2 +- For the javac call, the classpath is no longer hardcoded with the + absolute paths to the javadir (currently that's only jdom). Instead, + build-classpath is used. + +* Tue Dec 16 2008 Sandro Mathys - 2.0.1-1 +- initial build From c37007855ac206e817da9ccfe6c125def3e2224b Mon Sep 17 00:00:00 2001 From: Sandro Mathys Date: Mon, 26 Jan 2009 13:31:54 +0000 Subject: [PATCH 03/11] - initial commit --- .cvsignore | 1 + import.log | 1 + sources | 1 + xtvd.spec | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 import.log create mode 100644 xtvd.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0416d44 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xtvd-2.0.1.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..17d06e6 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xtvd-2_0_1-2_fc11:F-9:xtvd-2.0.1-2.fc11.src.rpm:1232976669 diff --git a/sources b/sources index e69de29..6582073 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bec29595844698245bf2f28660b35377 xtvd-2.0.1.tar.bz2 diff --git a/xtvd.spec b/xtvd.spec new file mode 100644 index 0000000..f287afe --- /dev/null +++ b/xtvd.spec @@ -0,0 +1,129 @@ +Name: xtvd +Version: 2.0.1 +Release: 2%{?dist} +Summary: A client java library for easy access to the tv data from schedulesdirect.org +Group: Development/Libraries +License: GPL+ +URL: http://xtvdclient.sourceforge.net/ +#svn co https://xtvdclient.svn.sourceforge.net/svnroot/xtvdclient/tags/2.0.1 xtvd-2.0.1 +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 +BuildRequires: jdom + +%description +A client java library for easy access to the tv data from schedulesdirect.org. + + +%package lib +Summary: A client java library for easy access to the tv data from schedulesdirect.org +Group: Development/Libraries +Requires: java >= 1:1.6.0 +Requires: jpackage-utils + +%description lib +A client java library for easy access to the tv data from schedulesdirect.org. + + +%package gui +Summary: This client is only a small demonstration for the usage of the library +Group: Applications/Multimedia +Requires: java >= 1:1.6.0 +Requires: jpackage-utils +Requires: %{name}-lib = %{version}-%{release} + +%description gui +This client is only a small demonstration for the usage of the library. +It's an enhanced verison of the old XTVD WEBSERVICE CLIENT by Tribune +Media Services, Inc. + + +%package lib-javadoc +Summary: Javadocs for xtvd-lib +Group: Documentation +Requires: %{name}-lib = %{version}-%{release} +Requires: jpackage-utils + +%description lib-javadoc +xtvd-lib development documentation. + + +%prep +%setup -q # -n %{name}-%{version} + +%build +# lib +pushd %{name}-lib +rm -rf target +mkdir target +javac -d target `find -name '*.java'` + +jar -cf ../%{name}-lib-%{version}.jar -C target . + +# lib-javadoc +javadoc -d doc `find src -name '*.java'` + +popd + + +# gui +pushd %{name}-gui +rm -rf target +mkdir target +javac -d target -cp ../%{name}-lib-%{version}.jar:`build-classpath jdom` `find -name '*.java'` +jar -cf ../%{name}-gui-%{version}.jar -C target . +popd + + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_javadir} + +# lib +install -m644 %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib-%{version}.jar +ln -s %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib.jar + +# gui +install -m644 %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui-%{version}.jar +ln -s %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui.jar + +# lib-javadoc +install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +cp -rp %{name}-lib/doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files lib +%defattr(-,root,root,-) +%doc %{name}-lib/LICENSE +%{_javadir}/%{name}-lib.jar +%{_javadir}/%{name}-lib-%{version}.jar + +%files gui +%defattr(-,root,root,-) +%doc %{name}-gui/LICENSE +%{_javadir}/%{name}-gui.jar +%{_javadir}/%{name}-gui-%{version}.jar + +%files lib-javadoc +%defattr(-,root,root,-) +%dir %{_javadocdir}/%{name}-%{version} +%{_javadocdir}/%{name} +%{_javadocdir}/%{name}-%{version}/* + +%changelog +* Thu Dec 18 2008 Sandro Mathys - 2.0.1-2 +- For the javac call, the classpath is no longer hardcoded with the + absolute paths to the javadir (currently that's only jdom). Instead, + build-classpath is used. + +* Tue Dec 16 2008 Sandro Mathys - 2.0.1-1 +- initial build From ab820547b0ef936dc77292139bbd11ecb4f7df0d Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 26 Feb 2009 12:10:48 +0000 Subject: [PATCH 04/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- xtvd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xtvd.spec b/xtvd.spec index f287afe..2c1f180 100644 --- a/xtvd.spec +++ b/xtvd.spec @@ -1,6 +1,6 @@ Name: xtvd Version: 2.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A client java library for easy access to the tv data from schedulesdirect.org Group: Development/Libraries License: GPL+ @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadocdir}/%{name}-%{version}/* %changelog +* Thu Feb 26 2009 Fedora Release Engineering - 2.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Thu Dec 18 2008 Sandro Mathys - 2.0.1-2 - For the javac call, the classpath is no longer hardcoded with the absolute paths to the javadir (currently that's only jdom). Instead, From ae9dbe57882df9829a4aefd365e0eca1e36d7474 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 27 Jul 2009 08:47:27 +0000 Subject: [PATCH 05/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- xtvd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xtvd.spec b/xtvd.spec index 2c1f180..215381e 100644 --- a/xtvd.spec +++ b/xtvd.spec @@ -1,6 +1,6 @@ Name: xtvd Version: 2.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A client java library for easy access to the tv data from schedulesdirect.org Group: Development/Libraries License: GPL+ @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadocdir}/%{name}-%{version}/* %changelog +* Mon Jul 27 2009 Fedora Release Engineering - 2.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Thu Feb 26 2009 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From 0db21d2c45900be128da8187cba3305c9239641b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:41:07 +0000 Subject: [PATCH 06/11] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c0b650..aeb3d88 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := xtvd SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From e46da5dac9c39addafd6334101e6932ceb0e50f9 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:39:36 +0000 Subject: [PATCH 07/11] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c0b650..aeb3d88 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := xtvd SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 8dee2032ed2618ab3bad47f4f8d6826af76526dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 16:15:00 +0000 Subject: [PATCH 08/11] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index aeb3d88..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xtvd -# $Id$ -NAME := xtvd -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index 4340975..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -xtvd-2_0_1-2_fc11:HEAD:xtvd-2.0.1-2.fc11.src.rpm:1232976445 From dc0b5b4318f6714606b1d120ad63746cd15fb4b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 16:15:00 +0000 Subject: [PATCH 09/11] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index aeb3d88..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xtvd -# $Id$ -NAME := xtvd -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9 diff --git a/import.log b/import.log deleted file mode 100644 index 17d06e6..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -xtvd-2_0_1-2_fc11:F-9:xtvd-2.0.1-2.fc11.src.rpm:1232976669 From 4119fa8836d0a06abeda2ef741b63f9db449b360 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 01:04:41 -0600 Subject: [PATCH 10/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- xtvd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xtvd.spec b/xtvd.spec index 215381e..5bd7e61 100644 --- a/xtvd.spec +++ b/xtvd.spec @@ -1,6 +1,6 @@ Name: xtvd Version: 2.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A client java library for easy access to the tv data from schedulesdirect.org Group: Development/Libraries License: GPL+ @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadocdir}/%{name}-%{version}/* %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 2.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Mon Jul 27 2009 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 6cbbbedfa76f27ff18d24efbfb0972483ffd753d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 25 Jul 2011 18:28:18 -0400 Subject: [PATCH 11/11] Retire xtvd. --- dead.package | 1 + sources | 1 - xtvd.spec | 138 --------------------------------------------------- 3 files changed, 1 insertion(+), 139 deletions(-) create mode 100644 dead.package delete mode 100644 sources delete mode 100644 xtvd.spec diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6c90bdc --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package was retired on 2011-07-25 due to it being unable to build this package for multiple releases (FTBFS). diff --git a/sources b/sources deleted file mode 100644 index 6582073..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -bec29595844698245bf2f28660b35377 xtvd-2.0.1.tar.bz2 diff --git a/xtvd.spec b/xtvd.spec deleted file mode 100644 index 5bd7e61..0000000 --- a/xtvd.spec +++ /dev/null @@ -1,138 +0,0 @@ -Name: xtvd -Version: 2.0.1 -Release: 5%{?dist} -Summary: A client java library for easy access to the tv data from schedulesdirect.org -Group: Development/Libraries -License: GPL+ -URL: http://xtvdclient.sourceforge.net/ -#svn co https://xtvdclient.svn.sourceforge.net/svnroot/xtvdclient/tags/2.0.1 xtvd-2.0.1 -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 -BuildRequires: jdom - -%description -A client java library for easy access to the tv data from schedulesdirect.org. - - -%package lib -Summary: A client java library for easy access to the tv data from schedulesdirect.org -Group: Development/Libraries -Requires: java >= 1:1.6.0 -Requires: jpackage-utils - -%description lib -A client java library for easy access to the tv data from schedulesdirect.org. - - -%package gui -Summary: This client is only a small demonstration for the usage of the library -Group: Applications/Multimedia -Requires: java >= 1:1.6.0 -Requires: jpackage-utils -Requires: %{name}-lib = %{version}-%{release} - -%description gui -This client is only a small demonstration for the usage of the library. -It's an enhanced verison of the old XTVD WEBSERVICE CLIENT by Tribune -Media Services, Inc. - - -%package lib-javadoc -Summary: Javadocs for xtvd-lib -Group: Documentation -Requires: %{name}-lib = %{version}-%{release} -Requires: jpackage-utils - -%description lib-javadoc -xtvd-lib development documentation. - - -%prep -%setup -q # -n %{name}-%{version} - -%build -# lib -pushd %{name}-lib -rm -rf target -mkdir target -javac -d target `find -name '*.java'` - -jar -cf ../%{name}-lib-%{version}.jar -C target . - -# lib-javadoc -javadoc -d doc `find src -name '*.java'` - -popd - - -# gui -pushd %{name}-gui -rm -rf target -mkdir target -javac -d target -cp ../%{name}-lib-%{version}.jar:`build-classpath jdom` `find -name '*.java'` -jar -cf ../%{name}-gui-%{version}.jar -C target . -popd - - -%install -rm -rf $RPM_BUILD_ROOT - -install -d $RPM_BUILD_ROOT%{_javadir} - -# lib -install -m644 %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib-%{version}.jar -ln -s %{name}-lib-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-lib.jar - -# gui -install -m644 %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui-%{version}.jar -ln -s %{name}-gui-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-gui.jar - -# lib-javadoc -install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -cp -rp %{name}-lib/doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files lib -%defattr(-,root,root,-) -%doc %{name}-lib/LICENSE -%{_javadir}/%{name}-lib.jar -%{_javadir}/%{name}-lib-%{version}.jar - -%files gui -%defattr(-,root,root,-) -%doc %{name}-gui/LICENSE -%{_javadir}/%{name}-gui.jar -%{_javadir}/%{name}-gui-%{version}.jar - -%files lib-javadoc -%defattr(-,root,root,-) -%dir %{_javadocdir}/%{name}-%{version} -%{_javadocdir}/%{name} -%{_javadocdir}/%{name}-%{version}/* - -%changelog -* Tue Feb 08 2011 Fedora Release Engineering - 2.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Jul 27 2009 Fedora Release Engineering - 2.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering - 2.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Dec 18 2008 Sandro Mathys - 2.0.1-2 -- For the javac call, the classpath is no longer hardcoded with the - absolute paths to the javadir (currently that's only jdom). Instead, - build-classpath is used. - -* Tue Dec 16 2008 Sandro Mathys - 2.0.1-1 -- initial build