]>
Commit | Line | Data |
---|---|---|
7f0b7ba6 | 1 | |
7f0b7ba6 | 2 | %define module dbus-sharp |
3 | ||
f42316e5 JB |
4 | Summary: D-Bus for .NET - C# library implementing D-Bus |
5 | Summary(pl.UTF-8): D-Bus dla .NET - biblioteka C# implementująca D-Bus | |
19739810 | 6 | Name: dotnet-dbus-sharp |
95ca0088 | 7 | Version: 0.7.0 |
f42316e5 | 8 | Release: 3 |
95ca0088 | 9 | Epoch: 1 |
f42316e5 | 10 | License: MIT |
19739810 | 11 | Group: Libraries |
f42316e5 | 12 | #Source0Download: https://github.com/mono/dbus-sharp/downloads |
7f0b7ba6 | 13 | Source0: http://github.com/downloads/mono/dbus-sharp/%{module}-%{version}.tar.gz |
95ca0088 | 14 | # Source0-md5: 1964fc341dcbaeda859c53cee295d042 |
a63bb376 | 15 | Patch0: dbus-monodir.patch |
f42316e5 | 16 | URL: http://mono.github.com/dbus-sharp/ |
19739810 | 17 | BuildRequires: autoconf >= 2.52 |
18 | BuildRequires: automake | |
f42316e5 JB |
19 | BuildRequires: mono-csharp >= 1.1.13 |
20 | BuildRequires: pkgconfig | |
19739810 | 21 | BuildRequires: rpmbuild(macros) >= 1.268 |
7d1f9358 | 22 | BuildRequires: rpmbuild(monoautodeps) |
19739810 | 23 | BuildRequires: sed >= 4.0 |
f42316e5 | 24 | Requires: mono >= 1.1.13 |
19739810 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
f42316e5 JB |
28 | dbus-sharp is a fork of ndesk-dbus, which is a C# implementation of |
29 | D-Bus. It's often referred to as "managed D-Bus" to avoid confusion | |
30 | with other existing bindings (which wrap libdbus). | |
19739810 | 31 | |
1910ea32 | 32 | %description -l pl.UTF-8 |
f42316e5 JB |
33 | dbus-sharp to odgałęzienie ndesk-dbus, czyli implementacji D-Bus w |
34 | języku C#. Często jest nazywane "zarządzanym D-Bus" w odróżnieniu od | |
35 | innych istniejących wiązań, obudowujących bibliotekę libdbus. | |
19739810 | 36 | |
37 | %package devel | |
f42316e5 JB |
38 | Summary: Development files for dbus-sharp library |
39 | Summary(pl.UTF-8): Pliki programistyczne biblioteki dbus-sharp | |
19739810 | 40 | Group: Development/Libraries |
95ca0088 | 41 | Requires: %{name} = %{epoch}:%{version}-%{release} |
f42316e5 | 42 | Requires: mono-devel >= 1.1.13 |
19739810 | 43 | |
44 | %description devel | |
f42316e5 | 45 | Development files for dbus-sharp library. |
19739810 | 46 | |
1910ea32 | 47 | %description devel -l pl.UTF-8 |
f42316e5 | 48 | Pliki programistyczne biblioteki dbus-sharp. |
19739810 | 49 | |
50 | %prep | |
7f0b7ba6 | 51 | %setup -q -n %{module}-%{version} |
a63bb376 | 52 | %patch0 -p1 |
19739810 | 53 | |
54 | %build | |
19739810 | 55 | %{__aclocal} |
56 | %{__autoconf} | |
19739810 | 57 | %{__automake} |
58 | %configure | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
f42316e5 | 72 | %doc AUTHORS COPYING README |
3b5ba504 | 73 | %{_prefix}/lib/mono/gac/dbus-sharp |
19739810 | 74 | |
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
f42316e5 JB |
77 | %{_prefix}/lib/mono/dbus-sharp-1.0 |
78 | %{_pkgconfigdir}/dbus-sharp-1.0.pc |