]>
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: 2 | |
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 | # no native code | |
27 | %define _enable_debug_packages 0 | |
28 | ||
29 | %description | |
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). | |
33 | ||
34 | %description -l pl.UTF-8 | |
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. | |
38 | ||
39 | %package devel | |
40 | Summary: Development files for dbus-sharp library | |
41 | Summary(pl.UTF-8): Pliki programistyczne biblioteki dbus-sharp | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
44 | Requires: mono-devel >= 1.1.13 | |
45 | ||
46 | %description devel | |
47 | Development files for dbus-sharp library. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Pliki programistyczne biblioteki dbus-sharp. | |
51 | ||
52 | %prep | |
53 | %setup -q -n %{module}-%{version} | |
54 | %patch0 -p1 | |
55 | ||
56 | %build | |
57 | %{__aclocal} | |
58 | %{__autoconf} | |
59 | %{__automake} | |
60 | %configure \ | |
61 | GMCS=/usr/bin/mcs | |
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) | |
75 | %doc AUTHORS COPYING README | |
76 | %{_prefix}/lib/mono/gac/dbus-sharp | |
77 | ||
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
80 | %{_prefix}/lib/mono/dbus-sharp-2.0 | |
81 | %{_pkgconfigdir}/dbus-sharp-2.0.pc |