]> git.pld-linux.org Git - packages/dotnet-dbus-sharp.git/blob - dotnet-dbus-sharp.spec
102a46bbc89cd42e73f17837a102a92019e30280
[packages/dotnet-dbus-sharp.git] / dotnet-dbus-sharp.spec
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 Patch1:         dbus-sharp-pc.patch
17 URL:            http://mono.github.io/dbus-sharp/
18 BuildRequires:  autoconf >= 2.52
19 BuildRequires:  automake
20 BuildRequires:  mono-csharp >= 1.1.13
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 2.015
23 BuildRequires:  sed >= 4.0
24 Requires:       mono >= 1.1.13
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 # no native code
28 %define         _enable_debug_packages  0
29
30 %description
31 dbus-sharp is a fork of ndesk-dbus, which is a C# implementation of
32 D-Bus. It's often referred to as "managed D-Bus" to avoid confusion
33 with other existing bindings (which wrap libdbus).
34
35 %description -l pl.UTF-8
36 dbus-sharp to odgałęzienie ndesk-dbus, czyli implementacji D-Bus w
37 języku C#. Często jest nazywane "zarządzanym D-Bus" w odróżnieniu od
38 innych istniejących wiązań, obudowujących bibliotekę libdbus.
39
40 %package devel
41 Summary:        Development files for dbus-sharp library
42 Summary(pl.UTF-8):      Pliki programistyczne biblioteki dbus-sharp
43 Group:          Development/Libraries
44 Requires:       %{name} = %{epoch}:%{version}-%{release}
45 Requires:       mono-devel >= 1.1.13
46
47 %description devel
48 Development files for dbus-sharp library.
49
50 %description devel -l pl.UTF-8
51 Pliki programistyczne biblioteki dbus-sharp.
52
53 %prep
54 %setup -q -n %{module}-%{version}
55 %patch0 -p1
56 %patch1 -p1
57
58 %build
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 %configure \
63         GMCS=/usr/bin/mcs
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS COPYING README
78 %{_prefix}/lib/mono/gac/dbus-sharp
79
80 %files devel
81 %defattr(644,root,root,755)
82 %{_prefix}/lib/mono/dbus-sharp-2.0
83 %{_pkgconfigdir}/dbus-sharp-2.0.pc
This page took 0.047356 seconds and 2 git commands to generate.