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