rpms/TVAnytimeAPI/F-10 TVAnytimeAPI-genre-add-2005.patch, NONE, 1.1 TVAnytimeAPI.spec, 1.1, 1.2

Sandro Mathys red at fedoraproject.org
Fri Mar 13 09:39:27 UTC 2009


Author: red

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

Modified Files:
	TVAnytimeAPI.spec 
Added Files:
	TVAnytimeAPI-genre-add-2005.patch 
Log Message:
* Fri Mar 13 2009 Sandro Mathys <red at fedoraproject.org> - 1.3-4
- Added patch submitted by Tim Coote with the parts that were added to the standard implemented by TVAnytimeAPI.




TVAnytimeAPI-genre-add-2005.patch:

--- NEW FILE TVAnytimeAPI-genre-add-2005.patch ---
Index: java/bbc/rd/tvanytime/Genre.java
===================================================================
--- java/bbc/rd/tvanytime/Genre.java	(revision 1)
+++ java/bbc/rd/tvanytime/Genre.java	(working copy)
@@ -37,7 +37,6 @@
  	public static final int MAIN = 0;
  	public static final int SECONDARY = 1;
  	public static final int OTHER = 2;
- 	public static final int GENRE_CS_NUM = 8;
 
  	//Despite the setHref method there can only be one form of href (shown below).
  	//To vary the format of href would cause difficult implementations of methods.
@@ -49,8 +48,19 @@
     "urn:tva:metadata:cs:IntendedAudienceCS:2002:",
     "urn:tva:metadata:cs:ContentAlertCS:2002:",
     "urn:tva:metadata:cs:MediaTypeCS:2002:",
-    "urn:tva:metadata:cs:AtmosphereCS:2002:"
+    "urn:tva:metadata:cs:AtmosphereCS:2002:",
+    "urn:tva:metadata:cs:IntentionCS:2005:",
+    "urn:tva:metadata:cs:FormatCS:2005:",
+    "urn:tva:metadata:cs:ContentCS:2005:",
+    "urn:tva:metadata:cs:OriginationCS:2005:",
+    "urn:tva:metadata:cs:IntendedAudienceCS:2005:",
+    "urn:tva:metadata:cs:ContentAlertCS:2005:",
+    "urn:tva:metadata:cs:MediaTypeCS:2005:",
+    "urn:tva:metadata:cs:AtmosphereCS:2005:"
   };
+ 	
+ 	public static final int GENRE_CS_NUM = hrefTags.length;
+	
   // CS number for above schemes
   private static final int[] csNumbers = {1,2,3,5,4,6,7,8};
 


Index: TVAnytimeAPI.spec
===================================================================
RCS file: /cvs/pkgs/rpms/TVAnytimeAPI/F-10/TVAnytimeAPI.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TVAnytimeAPI.spec	26 Jan 2009 13:54:56 -0000	1.1
+++ TVAnytimeAPI.spec	13 Mar 2009 09:38:57 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           TVAnytimeAPI
 Version:        1.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A java API for parsing, manipulating and creating TV-Anytime metadata
 Group:          Development/Libraries
 License:        LGPLv2+
@@ -8,6 +8,7 @@
 #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
+Patch0:         TVAnytimeAPI-genre-add-2005.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -36,6 +37,8 @@
 %prep
 %setup -q # -n %{name}-%{version}
 
+%patch0 -p0
+
 %{__sed} -i 's/\r//' examples/APICodeExamples.java
 %{__sed} -i 's/\r//' examples/CreateProgInfoTable.java
 
@@ -82,6 +85,9 @@
 
 
 %changelog
+* Fri Mar 13 2009 Sandro Mathys <red at fedoraproject.org> - 1.3-4
+- Added patch submitted by Tim Coote with the parts that were added to the standard implemented by TVAnytimeAPI.
+
 * Thu Jan 15 2009 Sandro Mathys <red at fedoraproject.org> - 1.3-3
 - License was wrong.
 




More information about the fedora-extras-commits mailing list