]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | %define module dbus-sharp | |
3 | ||
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 | |
6 | Name: dotnet-dbus-sharp | |
7 | Version: 0.8.1 | |
8 | Release: 1 | |
9 | Epoch: 1 | |
10 | License: MIT | |
11 | Group: Libraries | |
12 | #Source0Download: https://github.com/mono/dbus-sharp/releases | |
13 | Source0: https://github.com/mono/dbus-sharp/releases/download/v%{version}/%{module}-%{version}.tar.gz | |
14 | # Source0-md5: bb94ab3d9703342a2e936e52c87c783a | |
15 | Patch0: dbus-monodir.patch | |
16 | URL: http://mono.github.io/dbus-sharp/ | |
17 | BuildRequires: autoconf >= 2.52 | |
18 | BuildRequires: automake | |
19 | BuildRequires: mono-csharp >= 1.1.13 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: rpmbuild(macros) >= 2.015 | |
22 | BuildRequires: sed >= 4.0 | |
23 | Requires: mono >= 1.1.13 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | dbus-sharp is a fork of ndesk-dbus, which is a C# implementation of | |
28 | D-Bus. It's often referred to as "managed D-Bus" to avoid confusion | |
29 | with other existing bindings (which wrap libdbus). | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | dbus-sharp to odgałęzienie ndesk-dbus, czyli implementacji D-Bus w | |
33 | języku C#. Często jest nazywane "zarządzanym D-Bus" w odróżnieniu od | |
34 | innych istniejących wiązań, obudowujących bibliotekę libdbus. | |
35 | ||
36 | %package devel | |
37 | Summary: Development files for dbus-sharp library | |
38 | Summary(pl.UTF-8): Pliki programistyczne biblioteki dbus-sharp | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
41 | Requires: mono-devel >= 1.1.13 | |
42 | ||
43 | %description devel | |
44 | Development files for dbus-sharp library. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki programistyczne biblioteki dbus-sharp. | |
48 | ||
49 | %prep | |
50 | %setup -q -n %{module}-%{version} | |
51 | %patch0 -p1 | |
52 | ||
53 | %build | |
54 | %{__aclocal} | |
55 | %{__autoconf} | |
56 | %{__automake} | |
57 | %configure \ | |
58 | GMCS=/usr/bin/mcs | |
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) | |
72 | %doc AUTHORS COPYING README | |
73 | %{_prefix}/lib/mono/gac/dbus-sharp | |
74 | ||
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %{_prefix}/lib/mono/dbus-sharp-2.0 | |
78 | %{_pkgconfigdir}/dbus-sharp-2.0.pc |