diff --git a/libgpod.spec b/libgpod.spec index 0996574..61687f2 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -15,6 +15,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 @@ -23,6 +24,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 @@ -81,6 +83,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 @@ -103,6 +130,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} @@ -144,9 +174,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)