]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %include /usr/lib/rpm/macros.mono | |
3 | # | |
4 | Summary: .NET bindings for GTK+ API not included in GTK# | |
5 | Summary(pl.UTF-8): Wiązania GTK+ API nie włączonego do GTK# dla .NET | |
6 | Name: dotnet-gtk-sharp-beans | |
7 | Version: 2.14.0 | |
8 | Release: 1 | |
9 | License: LGPL v2.1 | |
10 | Group: Libraries | |
11 | Source0: gtk-sharp-beans-%{version}.tar.gz | |
12 | # Source0-md5: 7ad55e25b0338927dcb501445f847450 | |
13 | URL: http://github.com/mono/gtk-sharp-beans/ | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: dotnet-gio-sharp-devel | |
17 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.0 | |
18 | BuildRequires: gtk+2-devel >= 2:2.16.0 | |
19 | BuildRequires: mono-csharp | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: rpmbuild(monoautodeps) | |
22 | Requires: gtk+2 >= 2:2.16.0 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | This package provides bindings for .NET to GTK+ API not included in | |
27 | GTK#. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Pakiet ten dostarcza wiązania dla .NET do GTK+ API nie włączonego do | |
31 | GTK#. | |
32 | ||
33 | %package devel | |
34 | Summary: GTK#Beans development files | |
35 | Summary(pl.UTF-8): Pliki programistyczne GTK#Beans | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: dotnet-gtk-sharp2-devel >= 2.12.0 | |
39 | ||
40 | %description devel | |
41 | GTK#Beans development files. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki programistyczne GTK#Beans. | |
45 | ||
46 | %prep | |
47 | %setup -q -n mono-gtk-sharp-beans-19023b6/ | |
48 | ||
49 | %build | |
50 | mkdir config | |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__automake} | |
54 | %configure | |
55 | %{__make} -j1 | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS ChangeLog NEWS README | |
69 | %{_prefix}/lib/gtk-sharp-beans | |
70 | ||
71 | %files devel | |
72 | %defattr(644,root,root,755) | |
73 | %{_pkgconfigdir}/gtk-sharp-beans-2.0.pc |