]> git.pld-linux.org Git - packages/dotnet-dbus-sharp.git/blob - dotnet-dbus-sharp.spec
1b5ece3227b58e94876fe32d71e6533c6c8e5fe4
[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.7.0
8 Release:        3
9 Epoch:          1
10 License:        MIT
11 Group:          Libraries
12 #Source0Download: https://github.com/mono/dbus-sharp/downloads
13 Source0:        http://github.com/downloads/mono/dbus-sharp/%{module}-%{version}.tar.gz
14 # Source0-md5:  1964fc341dcbaeda859c53cee295d042
15 Patch0:         dbus-monodir.patch
16 URL:            http://mono.github.com/dbus-sharp/
17 BuildRequires:  autoconf >= 2.52
18 BuildRequires:  automake
19 BuildRequires:  mono-csharp >= 1.1.13
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.268
22 BuildRequires:  rpmbuild(monoautodeps)
23 BuildRequires:  sed >= 4.0
24 Requires:       mono >= 1.1.13
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
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).
31
32 %description -l pl.UTF-8
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.
36
37 %package devel
38 Summary:        Development files for dbus-sharp library
39 Summary(pl.UTF-8):      Pliki programistyczne biblioteki dbus-sharp
40 Group:          Development/Libraries
41 Requires:       %{name} = %{epoch}:%{version}-%{release}
42 Requires:       mono-devel >= 1.1.13
43
44 %description devel
45 Development files for dbus-sharp library.
46
47 %description devel -l pl.UTF-8
48 Pliki programistyczne biblioteki dbus-sharp.
49
50 %prep
51 %setup -q -n %{module}-%{version}
52 %patch0 -p1
53
54 %build
55 %{__aclocal}
56 %{__autoconf}
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)
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-1.0
78 %{_pkgconfigdir}/dbus-sharp-1.0.pc
This page took 0.040347 seconds and 2 git commands to generate.