]>
Commit | Line | Data |
---|---|---|
46d5242f | 1 | # |
46d5242f MB |
2 | # |
3 | Summary: .NET language bindings for GIO | |
4 | Summary(pl.UTF-8): Wiązania GIO dla .NET | |
5 | Name: dotnet-gio-sharp | |
d3884385 | 6 | Version: 0.3 |
7 | Release: 1 | |
46d5242f MB |
8 | License: MIT |
9 | Group: Libraries | |
10 | Source0: gio-sharp-%{version}.tar.gz | |
d3884385 | 11 | # Source0-md5: f423ce799499583b715b1e9d6a8980f5 |
46d5242f MB |
12 | URL: http://github.com/mono/gio-sharp/ |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: dotnet-gtk-sharp2-devel | |
16 | BuildRequires: glib2-devel >= 1:2.22.0 | |
17 | BuildRequires: mono-csharp | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: rpmbuild(monoautodeps) | |
20 | Requires: glib2 >= 1:2.22.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This package provides bindings for .NET to GIO library. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Pakiet ten dostarcza wiązania dla .NET do biblioteki z GIO. | |
28 | ||
29 | %package devel | |
30 | Summary: GIO# development files | |
31 | Summary(pl.UTF-8): Pliki programistyczne GIO# | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: dotnet-gtk-sharp2-devel | |
35 | ||
36 | %description devel | |
37 | GIO# development files. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki programistyczne GIO#. | |
41 | ||
42 | %prep | |
d3884385 | 43 | %setup -q -n mono-gio-sharp-31b4926 |
46d5242f MB |
44 | |
45 | %build | |
46 | NOCONFIGURE=true ./autogen-2.22.sh | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__automake} | |
50 | %configure | |
51 | %{__make} -j1 | |
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) | |
64 | %doc AUTHORS ChangeLog NEWS README | |
65 | %{_prefix}/lib/gio-sharp | |
66 | ||
67 | %files devel | |
68 | %defattr(644,root,root,755) | |
69 | %{_datadir}/gapi-2.0/gio-api.xml | |
70 | %{_pkgconfigdir}/gio-sharp-2.0.pc |