packages: libgpod/libgpod.spec - dotnet packaging, rfc for corrections
glen
glen at pld-linux.org
Fri Oct 15 07:18:01 CEST 2010
Author: glen Date: Fri Oct 15 05:18:01 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- dotnet packaging, rfc for corrections
---- Files affected:
packages/libgpod:
libgpod.spec (1.45 -> 1.46)
---- Diffs:
================================================================
Index: packages/libgpod/libgpod.spec
diff -u packages/libgpod/libgpod.spec:1.45 packages/libgpod/libgpod.spec:1.46
--- packages/libgpod/libgpod.spec:1.45 Thu Oct 14 22:18:50 2010
+++ packages/libgpod/libgpod.spec Fri Oct 15 07:17:56 2010
@@ -1,11 +1,12 @@
# $Revision$, $Date$
# TODO
# check: http://fred.uwcs.co.uk/diff (from http://www.fredemmott.co.uk/blog_121)
-# TODO
-# - mono bindings:
-#%{_pkgconfigdir}/libgpod-sharp.pc
-#MONO_MIN_VERSION=1.9.1
-#GTK_SHARP_MIN_VERSION=2.12
+# some warning at doc build:
+#warning: failed to load external entity "../../docs/reference/xml/*.xml"
+#unable to parse ../../docs/reference/xml/*.xml
+#make[3]: [gpod_doc.i] Error 6 (ignored)
+# - mountdir perms?: %dir %{_localstatedir}/run/%{name}
+# - dotnet pkg executable bits for .exe?
Summary: Shared library to access the contents of an iPod
Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do zawartości iPodów
Name: libgpod
@@ -21,6 +22,7 @@
BuildRequires: automake
BuildRequires: dbus-glib-devel >= 0.30
BuildRequires: docbook-dtd412-xml
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.12
BuildRequires: gettext-devel
BuildRequires: gtk+2-devel >= 2.0
BuildRequires: gtk-doc >= 1.0
@@ -28,6 +30,7 @@
BuildRequires: hal-devel >= 0.5.7.1
BuildRequires: intltool >= 0.35
BuildRequires: libtool
+BuildRequires: mono-devel >= 1.9.1
BuildRequires: pkgconfig
BuildRequires: python-devel >= 2.1.1
BuildRequires: python-eyeD3 >= 0.6.6
@@ -118,6 +121,29 @@
%description -n python-gpod -l pl.UTF-8
Biblioteki umożliwiające korzystanie z libgpod z poziomu Pythona.
+%package -n dotnet-%{name}-sharp
+Summary: C#/.NET library to access iPod content
+Group: Development/Languages
+Requires: %{name} = %{version}-%{release}
+
+%description -n dotnet-%{name}-sharp
+C#/.NET library to access iPod content. Provides bindings to the
+libgpod library.
+
+%package -n dotnet-%{name}-sharp-devel
+Summary: C#/.NET library to access iPod content
+Summary: Development files for libgpod-sharp
+Group: Development/Languages
+Requires: dotnet-%{name}-sharp = %{version}-%{release}
+Requires: pkgconfig
+
+%description -n dotnet-%{name}-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 dotnet-libgpod-sharp.
+
%prep
%setup -q
%patch0 -p1
@@ -133,7 +159,7 @@
%{__automake}
%configure \
--with-html-dir=%{_gtkdocdir} \
- --with-temp-mount-dir=/tmp \
+ --with-temp-mount-dir=%{_localstatedir}/run/%{name} \
--with-python=yes
%{__make}
@@ -161,6 +187,7 @@
%attr(755,root,root) %{_bindir}/ipod-read-sysinfo-extended
%attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgpod.so.4
+%dir %{_localstatedir}/run/%{name}
%files -n hal-libgpod
%defattr(644,root,root,755)
@@ -189,12 +216,28 @@
%{py_sitedir}/gpod/*.py[co]
%attr(755,root,root) %{py_sitedir}/gpod/_gpod.so
+%files -n dotnet-%{name}-sharp
+%defattr(644,root,root,755)
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/%{name}-sharp-test.exe
+%{_libdir}/%{name}/%{name}-sharp-test.exe.mdb
+%{_libdir}/%{name}/%{name}-sharp.dll
+%{_libdir}/%{name}/%{name}-sharp.dll.config
+%{_libdir}/%{name}/%{name}-sharp.dll.mdb
+
+%files -n dotnet-%{name}-sharp-devel
+%defattr(644,root,root,755)
+%{_pkgconfigdir}/%{name}-sharp.pc
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2010/10/15 05:17:56 glen
+- dotnet packaging, rfc for corrections
+
Revision 1.45 2010/10/14 20:18:50 glen
- 0.8.0, mono bindings need packaging
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libgpod/libgpod.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list