]>
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 |
8 | Release: 1 | |
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 |
13c39900 | 14 | URL: http://www.freedesktop.org/Software/DBusBindings |
19739810 | 15 | BuildRequires: autoconf >= 2.52 |
16 | BuildRequires: automake | |
2d6ae79d | 17 | BuildRequires: libtool |
19739810 | 18 | BuildRequires: mono-csharp >= 1.1.7 |
19739810 | 19 | BuildRequires: rpmbuild(macros) >= 1.268 |
7d1f9358 | 20 | BuildRequires: rpmbuild(monoautodeps) |
19739810 | 21 | BuildRequires: sed >= 4.0 |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | .NET library for using D-BUS. | |
26 | ||
1910ea32 JR |
27 | %description -l pl.UTF-8 |
28 | Biblioteka .NET do używania D-BUS. | |
19739810 | 29 | |
30 | %package devel | |
8f8455bf | 31 | Summary: Development .NET library for using D-BUS |
0e01d860 | 32 | Summary(pl.UTF-8): Programistyczna biblioteka .NET do używania D-BUS |
19739810 | 33 | Group: Development/Libraries |
95ca0088 | 34 | Requires: %{name} = %{epoch}:%{version}-%{release} |
19739810 | 35 | |
36 | %description devel | |
8f8455bf | 37 | Development .NET library for using D-BUS. |
19739810 | 38 | |
1910ea32 JR |
39 | %description devel -l pl.UTF-8 |
40 | Programistyczna biblioteka .NET do używania D-BUS. | |
19739810 | 41 | |
42 | %prep | |
95ca0088 | 43 | %setup -q -n dbus-sharp-%{version} |
19739810 | 44 | |
45 | %build | |
46 | %{__libtoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
19739810 | 49 | %{__automake} |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
95ca0088 | 64 | %doc AUTHORS README |
04eacc49 | 65 | %{_libdir}/mono/gac/dbus-sharp |
66 | %{_libdir}/mono/dbus-sharp-1.0 | |
19739810 | 67 | |
68 | %files devel | |
69 | %defattr(644,root,root,755) | |
95ca0088 | 70 | %{_pkgconfigdir}/dbus-sharp-*.pc |