]>
Commit | Line | Data |
---|---|---|
19739810 | 1 | # |
2 | %include /usr/lib/rpm/macros.mono | |
3 | # | |
8f8455bf | 4 | Summary: .NET library for using D-BUS message bus |
0e01d860 | 5 | Summary(pl.UTF-8): Biblioteka .NET do używania magistrali przesyłania komunikatów D-BUS |
19739810 | 6 | Name: dotnet-dbus-sharp |
95ca0088 | 7 | Version: 0.7.0 |
3b5ba504 | 8 | Release: 2 |
95ca0088 | 9 | Epoch: 1 |
10 | License: AFL v2.1 or GPL v2+ | |
19739810 | 11 | Group: Libraries |
91c0a600 | 12 | Source0: http://github.com/downloads/mono/dbus-sharp/dbus-sharp-%{version}.tar.gz |
95ca0088 | 13 | # Source0-md5: 1964fc341dcbaeda859c53cee295d042 |
a63bb376 | 14 | Patch0: dbus-monodir.patch |
13c39900 | 15 | URL: http://www.freedesktop.org/Software/DBusBindings |
19739810 | 16 | BuildRequires: autoconf >= 2.52 |
17 | BuildRequires: automake | |
2d6ae79d | 18 | BuildRequires: libtool |
19739810 | 19 | BuildRequires: mono-csharp >= 1.1.7 |
19739810 | 20 | BuildRequires: rpmbuild(macros) >= 1.268 |
7d1f9358 | 21 | BuildRequires: rpmbuild(monoautodeps) |
19739810 | 22 | BuildRequires: sed >= 4.0 |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | .NET library for using D-BUS. | |
27 | ||
1910ea32 JR |
28 | %description -l pl.UTF-8 |
29 | Biblioteka .NET do używania D-BUS. | |
19739810 | 30 | |
31 | %package devel | |
8f8455bf | 32 | Summary: Development .NET library for using D-BUS |
0e01d860 | 33 | Summary(pl.UTF-8): Programistyczna biblioteka .NET do używania D-BUS |
19739810 | 34 | Group: Development/Libraries |
95ca0088 | 35 | Requires: %{name} = %{epoch}:%{version}-%{release} |
19739810 | 36 | |
37 | %description devel | |
8f8455bf | 38 | Development .NET library for using D-BUS. |
19739810 | 39 | |
1910ea32 JR |
40 | %description devel -l pl.UTF-8 |
41 | Programistyczna biblioteka .NET do używania D-BUS. | |
19739810 | 42 | |
43 | %prep | |
95ca0088 | 44 | %setup -q -n dbus-sharp-%{version} |
a63bb376 | 45 | %patch0 -p1 |
19739810 | 46 | |
47 | %build | |
48 | %{__libtoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
19739810 | 51 | %{__automake} |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
95ca0088 | 66 | %doc AUTHORS README |
3b5ba504 | 67 | %{_prefix}/lib/mono/gac/dbus-sharp |
68 | %{_prefix}/lib/mono/dbus-sharp-1.0 | |
19739810 | 69 | |
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
95ca0088 | 72 | %{_pkgconfigdir}/dbus-sharp-*.pc |