- versioned mono dependencies
[packages/dotnet-ndesk-dbus-glib-sharp.git] / dotnet-ndesk-dbus-glib-sharp.spec
CommitLineData
f1559d91 1%include /usr/lib/rpm/macros.mono
2624ff4d 2%define module ndesk-dbus-glib
9e1f7ab8 3
e01f51bd
JB
4Summary: .NET library for using D-Bus message bus (GLib integration)
5Summary(pl.UTF-8): Biblioteka .NET do używania magistrali przesyłania komunikatów D-Bus z GLib
074397fb 6Name: dotnet-ndesk-dbus-glib-sharp
f1559d91 7Version: 0.4.1
c3989687 8Release: 3
f1559d91 9License: MIT
10Group: Libraries
e01f51bd 11Source0: http://www.ndesk.org/archive/ndesk-dbus/%{module}-%{version}.tar.gz
f1559d91 12# Source0-md5: 7faf8770b214956fa9de009def550826
d7202f57 13Patch0: %{name}-monodir.patch
f1559d91 14URL: http://www.ndesk.org/DBusSharp
90d7a1fb 15BuildRequires: autoconf >= 2.50
d7202f57 16BuildRequires: automake
90d7a1fb
JB
17BuildRequires: mono-csharp >= 1.1.13
18BuildRequires: dotnet-ndesk-dbus-sharp-devel >= 0.4
19BuildRequires: pkgconfig
f1559d91 20BuildRequires: rpmbuild(macros) >= 1.268
90d7a1fb 21BuildRequires: rpmbuild(monoautodeps)
e01f51bd 22Requires: dotnet-ndesk-dbus-sharp >= 0.4
90d7a1fb 23# DllImport, not detected by monoautodeps
afd6e8fb 24%ifarch %{x8664} ia64 ppc64 s390x
90d7a1fb
JB
25Requires: libglib-2.0.so.0()(64bit)
26%else
27Requires: libglib-2.0.so.0
28%endif
e01f51bd 29Requires: mono >= 1.1.13
074397fb 30Obsoletes: ndesk-dbus-glib
800d3035 31ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9
afd6e8fb 32ExcludeArch: i386
f1559d91 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
e01f51bd 36.NET library for using D-Bus with GLib.
90d7a1fb
JB
37
38This code provides GLib main loop integration for Managed D-Bus.
f1559d91 39
40%description -l pl.UTF-8
e01f51bd 41Biblioteka .NET do używania D-Bus wraz z GLib.
f1559d91 42
90d7a1fb
JB
43Ten kod udostępnia integrację głównej pętli GLib z Managed D-Bus.
44
45%package devel
e01f51bd
JB
46Summary: Development files for ndesk D-Bus GLib .NET library
47Summary(pl.UTF-8): Pliki programistyczne biblioteki .NET ndesk D-Bus GLib
90d7a1fb
JB
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: dotnet-ndesk-dbus-sharp-devel >= 0.4
e01f51bd 51Requires: mono-devel >= 1.1.13
90d7a1fb
JB
52
53%description devel
e01f51bd 54Development files for ndesk D-Bus GLib .NET library.
90d7a1fb
JB
55
56%description devel -l pl.UTF-8
e01f51bd 57Pliki programistyczne biblioteki .NET ndesk D-Bus GLib.
90d7a1fb 58
f1559d91 59%prep
9e1f7ab8 60%setup -q -n %{module}-%{version}
d7202f57 61%patch0 -p1
f1559d91 62
63%build
d7202f57 64%{__aclocal}
65%{__automake}
66%{__autoconf}
f1559d91 67%configure
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
90d7a1fb
JB
81%doc AUTHORS COPYING README
82%{_prefix}/lib/mono/gac/NDesk.DBus.GLib
83# .mdb to -debug?
84
85%files devel
86%defattr(644,root,root,755)
d7202f57 87%{_prefix}/lib/mono/ndesk-dbus-glib-1.0
f1559d91 88%{_pkgconfigdir}/ndesk-dbus-glib-1.0.pc
This page took 0.101054 seconds and 4 git commands to generate.