From e0a72799314abe4dbad55958594c5829c5e1c756 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sep 06 2010 16:03:51 +0000 Subject: Add mono subpackage (#630181) --- diff --git a/libgpod.spec b/libgpod.spec index 53ebea1..402369b 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -14,6 +14,7 @@ Patch1: 0002-Revert-Fix-for-creation-of-blank-playlist-on-80GB-ip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: docbook-style-xsl BuildRequires: glib2-devel +BuildRequires: gtk-sharp2-devel BuildRequires: gtk2-devel BuildRequires: gettext BuildRequires: intltool @@ -22,6 +23,7 @@ BuildRequires: libplist-devel >= 1.0 BuildRequires: libusb1-devel BuildRequires: libxml2-devel BuildRequires: libxslt +BuildRequires: mono-devel BuildRequires: perl(XML::Parser) BuildRequires: pygobject2-devel BuildRequires: python-devel @@ -80,6 +82,31 @@ A python module to access iPod content. This module provides bindings to the libgpod library. +%package sharp +Summary: C#/.NET library to access iPod content +Group: Development/Languages +Requires: %{name} = %{version}-%{release} + +%description sharp +C#/.NET library to access iPod content. Provides bindings to the libgpod +library. + + +%package sharp-devel +Summary: Development files for libgpod-sharp +Summary: C#/.NET library to access iPod content +Group: Development/Languages +Requires: %{name}-sharp = %{version}-%{release} +Requires: pkgconfig + +%description sharp-devel +C#/.NET library to access iPod content. Provides bindings to the libgpod +library. + +This package contains the files required to develop programs that will use +libgpod-sharp. + + %prep %setup -q %patch0 -p1 @@ -102,6 +129,9 @@ make DESTDIR=%{buildroot} install # remove Makefiles from the python examples dir rm -rf bindings/python/examples/Makefile* +# remove execute perms from some libgpod-sharp files +chmod -x %{buildroot}/%{_libdir}/%{name}/*.dll.config + %clean rm -rf %{buildroot} @@ -143,9 +173,20 @@ rm -rf %{buildroot} %exclude %{python_sitearch}/gpod/*.la +%files sharp +%defattr(-, root, root, 0755) +%{_libdir}/%{name}/%{name}-sharp* + + +%files sharp-devel +%defattr(-, root, root, 0755) +%{_libdir}/pkgconfig/%{name}-sharp.pc + + %changelog * Sat Sep 04 2010 Todd Zullinger - 0.7.94-1 - Update to 0.7.94 +- Add mono subpackage (#630181) * Mon Aug 23 2010 Todd Zullinger - 0.7.93-4 - Own %%{_datadir}/gtk-doc rather than require gtk-doc (#604388)