rpms/taglib-sharp/devel taglib-sharp-2.0.3.0-fix-xml.patch, NONE, 1.1 taglib-sharp-2.0.3.0-noInjectMenuItem.patch, NONE, 1.1 taglib-sharp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Sun Apr 13 00:22:34 UTC 2008


Author: spot

Update of /cvs/extras/rpms/taglib-sharp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28004/devel

Modified Files:
	.cvsignore sources 
Added Files:
	taglib-sharp-2.0.3.0-fix-xml.patch 
	taglib-sharp-2.0.3.0-noInjectMenuItem.patch taglib-sharp.spec 
Log Message:

initial commit


taglib-sharp-2.0.3.0-fix-xml.patch:

--- NEW FILE taglib-sharp-2.0.3.0-fix-xml.patch ---
diff -up taglib-sharp-2.0.3.0/src/TagLib/File.cs.BAD taglib-sharp-2.0.3.0/src/TagLib/File.cs
--- taglib-sharp-2.0.3.0/src/TagLib/File.cs.BAD	2008-04-12 16:42:53.000000000 -0400
+++ taglib-sharp-2.0.3.0/src/TagLib/File.cs	2008-04-12 16:47:44.000000000 -0400
@@ -105,8 +105,8 @@ namespace TagLib {
 		#region Delegates
 		
 		/// <summary>
-		///    This delegate is used for intervening in <see
-		///    cref="Create(string)" /> by resolving the file type
+		///    This delegate is used for intervening in
+		///    Create(string) by resolving the file type
 		///    before any standard resolution operations.
 		/// </summary>
 		/// <param name="abstraction">
@@ -127,17 +127,17 @@ namespace TagLib {
 		/// </returns>
 		/// <remarks>
 		///    <para>A <see cref="FileTypeResolver" /> is one way of
-		///    altering the behavior of <see cref="Create(string)"
-		///    />.</para>
-		///    <para>When <see cref="Create(string)" /> is called, the
+		///    altering the behavior of Create(string)
+		///    .</para>
+		///    <para>When Create(string) is called, the
 		///    registered resolvers are invoked in the reverse order in
 		///    which they were registered. The resolver may then perform
 		///    any operations necessary, including other type-finding
 		///    methods.</para>
 		///    <para>If the resolver returns a new <see cref="File" />,
-		///    it will instantly be returned, by <see
-		///    cref="Create(string)" />. If it returns <see 
-		///    langword="null" />, <see cref="Create(string)" /> will
+		///    it will instantly be returned, by
+		///    Create(string). If it returns <see 
+		///    langword="null" />, Create(string) will
 		///    continue to process. If the resolver throws an exception
 		///    it will be uncaught.</para>
 		///    <para>To register a resolver, use <see
@@ -1769,4 +1769,4 @@ namespace TagLib {
 		
 		#endregion
 	}
-}
\ No newline at end of file
+}

taglib-sharp-2.0.3.0-noInjectMenuItem.patch:

--- NEW FILE taglib-sharp-2.0.3.0-noInjectMenuItem.patch ---
diff -up taglib-sharp-2.0.3.0/docs/Makefile.am.noInjectMenuItem taglib-sharp-2.0.3.0/docs/Makefile.am
--- taglib-sharp-2.0.3.0/docs/Makefile.am.noInjectMenuItem	2008-01-03 03:14:19.000000000 -0500
+++ taglib-sharp-2.0.3.0/docs/Makefile.am	2008-04-12 17:07:37.000000000 -0400
@@ -10,7 +10,7 @@ all: XmlInjector.exe
 XmlInjector.exe: XmlInjector.cs
 	mcs -out:$@ -r:System.Xml $<
 
-monodocdir = $(DESTDIR)$(DOCDIR)
+monodocdir = $(DOCDIR)
 monodoc_DATA = \
 	taglib-sharp-docs.zip \
 	taglib-sharp-docs.tree \
@@ -36,10 +36,10 @@ taglib-sharp-docs.zip taglib-sharp-docs.
 	$(DOC_ASSEMBLER) $(srcdir)/en
 
 install-data-hook: $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml
-	$(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml InjectMenuItem
+	# $(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml InjectMenuItem
 
 uninstall-hook: $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml
-	$(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml RemoveMenuItem
+	# $(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml RemoveMenuItem
 
 clean-local:
 	if [ -d $(srcdir)/en ]; then \
diff -up taglib-sharp-2.0.3.0/docs/Makefile.in.noInjectMenuItem taglib-sharp-2.0.3.0/docs/Makefile.in
--- taglib-sharp-2.0.3.0/docs/Makefile.in.noInjectMenuItem	2008-01-10 18:44:37.000000000 -0500
+++ taglib-sharp-2.0.3.0/docs/Makefile.in	2008-04-12 17:08:07.000000000 -0400
@@ -159,7 +159,7 @@ DOC_UPDATER = @MONODOCER@ -delete -prett
 DOC_ASSEMBLER = @MDASSEMBLER@ --out taglib-sharp-docs --ecma
 ASSEMBLY = $(top_builddir)/src/$(ASSEMBLY_NAME).dll
 SLASHDOC = $(ASSEMBLY).xml
- at BUILD_DOCS_TRUE@monodocdir = $(DESTDIR)$(DOCDIR)
+ at BUILD_DOCS_TRUE@monodocdir = $(DOCDIR)
 @BUILD_DOCS_TRUE at monodoc_DATA = \
 @BUILD_DOCS_TRUE@	taglib-sharp-docs.zip \
 @BUILD_DOCS_TRUE@	taglib-sharp-docs.tree \
@@ -399,10 +399,10 @@ uninstall-am: uninstall-monodocDATA
 @BUILD_DOCS_TRUE@	$(DOC_ASSEMBLER) $(srcdir)/en
 
 @BUILD_DOCS_TRUE at install-data-hook: $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml
- at BUILD_DOCS_TRUE@	$(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml InjectMenuItem
+ at BUILD_DOCS_TRUE@	# $(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml InjectMenuItem
 
 @BUILD_DOCS_TRUE at uninstall-hook: $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml
- at BUILD_DOCS_TRUE@	$(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml RemoveMenuItem
+ at BUILD_DOCS_TRUE@	# $(MONO) $(srcdir)/XmlInjector.exe $(srcdir)/Package.en.xml RemoveMenuItem
 
 @BUILD_DOCS_TRUE at clean-local:
 @BUILD_DOCS_TRUE@	if [ -d $(srcdir)/en ]; then \


--- NEW FILE taglib-sharp.spec ---
%define debug_package %{nil}

Name:    taglib-sharp
Version: 2.0.3.0
Release: 4%{?dist}
Summary: Provides tag reading and writing for Banshee and other Mono apps

Group:   System Environment/Libraries
License: LGPLv2+
URL:     http://www.taglib-sharp.com
Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
Patch0:  taglib-sharp-2.0.3.0-fix-xml.patch
Patch1:  taglib-sharp-2.0.3.0-noInjectMenuItem.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# We only have mono on these arches:
ExclusiveArch: %ix86 x86_64 ia64 armv4l sparc alpha ppc

BuildRequires: mono-devel, monodoc-devel, gnome-sharp-devel

%description
TagLib# is a FREE and Open Source library for the .NET 2.0 and Mono frameworks 
which will let you tag your software with as much or as little detail as you 
like without slowing you down. It supports a large variety of movie and music 
formats which abstract away the work, handling all the different cases, so all 
you have to do is access file.Tag.Title, file.Tag.Lyrics, or my personal 
favorite file.Tag.Pictures. But don't think all this abstraction is gonna keep 
you from tagging's greatest gems. You can still get to a specific tag type's 
features with just a few lines of code. 

%package devel
Summary: Provides tag reading and writing for Banshee and other Mono apps
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
Development files for taglib-sharp.

%prep
%setup -q
%patch0 -p1 -b .fix-xml
# the doc install tries to write to a monodoc system file...
# ... it also thinks it needs to embed DESTDIR in an install path.
%patch1 -p1 -b .noInjectMenuItem

%build
%configure
# Not smart enough for smp_mflags
make

%install
%{__rm} -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

# Fix the .pc file to handle 64bit
sed -i 's|${exec_prefix}/lib|%{_libdir}|g' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/taglib-sharp.pc

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/mono/gac/*/
%{_libdir}/mono/taglib-sharp/

%files devel
%defattr(-,root,root,-)
%doc %{_libdir}/monodoc/sources/taglib-sharp-docs*
%{_libdir}/pkgconfig/taglib-sharp.pc

%changelog
* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0.3.0-4
- don't need to specify pkgconfig as a BR, it gets pulled in

* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0.3.0-3
- BR: monodoc-devel

* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0.3.0-2
- just fix noInjectMenuItem

* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0.3.0-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/taglib-sharp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Apr 2008 00:12:55 -0000	1.1
+++ .cvsignore	13 Apr 2008 00:21:56 -0000	1.2
@@ -0,0 +1 @@
+taglib-sharp-2.0.3.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/taglib-sharp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Apr 2008 00:12:55 -0000	1.1
+++ sources	13 Apr 2008 00:21:56 -0000	1.2
@@ -0,0 +1 @@
+aa2c344760c8f4d878957fd4600155a5  taglib-sharp-2.0.3.0.tar.gz




More information about the fedora-extras-commits mailing list