2 %include /usr/lib/rpm/macros.mono
4 %define module ndesk-dbus
5 Summary: .NET library for using D-BUS message bus
6 Summary(pl.UTF-8): Biblioteka .NET do używania magistrali przesyłania komunikatów D-BUS
7 Name: dotnet-ndesk-dbus-sharp
12 Source0: http://www.ndesk.org/archive/dbus-sharp/%{module}-%{version}.tar.gz
13 # Source0-md5: 5157ba105c9ac491f6e900bc78d1791f
14 Patch0: %{name}-monodir.patch
15 URL: http://www.ndesk.org/DBusSharp
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: mono-csharp >= 1.1.13
19 BuildRequires: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.268
22 # should be, but autoconf rejects
24 ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is a C# implementation of D-Bus. It's often referred to as
30 "Managed D-Bus" to avoid confusion with existing bindings (which wrap
33 D-Bus is an inter-process communication framework that lets
34 applications interface with the system event bus as well as allowing
35 them to talk to one another in a peer-to-peer configuration.
37 %description -l pl.UTF-8
38 To jest implementacja C# magistrali D-Bus. Jest często nazywana
39 "Managed D-Bus" dla odróżnienia od istniejących dowiązań
40 (obudowujących libdbus).
42 D-Bus to szkielet komunikacji międzyprocesowej pozwalający aplikacjom
43 porozumiewać się z systemową szyną zdarzeń, a także między sobą w
44 konfiguracji peer-to-peer.
47 Summary: Development files for ndesk D-BUS .NET library
48 Summary(pl.UTF-8): Pliki programistyczne biblioteki .NET ndesk D-BUS
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 Development files for ndesk D-BUS .NET library.
55 %description devel -l pl.UTF-8
56 Pliki programistyczne biblioteki .NET ndesk D-BUS.
59 %setup -q -n %{module}-%{version}
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc AUTHORS COPYING README
81 %{_prefix}/lib/mono/gac/NDesk.DBus
85 %defattr(644,root,root,755)
86 %{_prefix}/lib/mono/ndesk-dbus-1.0
87 %{_pkgconfigdir}/ndesk-dbus-1.0.pc