]>
Commit | Line | Data |
---|---|---|
7ca6f00d | 1 | %include /usr/lib/rpm/macros.mono |
171b3c41 | 2 | Summary: Gecko# - A Gtk# Mozilla binding |
9bfc8f1d | 3 | Summary(pl.UTF-8): Gecko# - wiązanie Gtk# dla Mozilli |
978005c7 | 4 | Name: dotnet-gecko-sharp |
0f2962bb | 5 | Version: 0.6 |
4f02cff8 | 6 | Release: 8 |
25b697a7 | 7 | Epoch: 0 |
8 | License: GPL | |
9 | Group: Libraries | |
56b44593 | 10 | Source0: http://www.go-mono.com/archive/1.0.6/gecko-sharp-%{version}.tar.gz |
0f2962bb | 11 | # Source0-md5: 9ce9bb08125f7c7eecf8bd696a3345bd |
98bbf101 | 12 | Patch0: %{name}-mint.patch |
36d93816 | 13 | Patch1: %{name}-monodir.patch |
652453ae | 14 | URL: http://www.mono-project.com/ |
25b697a7 | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
56b44593 | 17 | # just gtk-sharp |
652453ae | 18 | BuildRequires: dotnet-gtk-sharp-devel >= 0.98 |
4f02cff8 | 19 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
36d93816 | 20 | BuildRequires: mono-csharp >= 1.1.7 |
abb37e75 | 21 | BuildRequires: pkgconfig |
56b44593 | 22 | BuildRequires: sed >= 4.0 |
56c9a047 | 23 | BuildConflicts: gecko-sharp < 0.2 |
36d93816 | 24 | Requires: mono >= 1.1.7 |
abb37e75 | 25 | Requires: dotnet-gtk-sharp >= 0.98 |
4f02cff8 | 26 | ExcludeArch: i386 |
25b697a7 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
171b3c41 | 30 | Gecko# - A Gtk# Mozilla binding. |
25b697a7 | 31 | |
76b1f91b JR |
32 | %description -l pl.UTF-8 |
33 | Gecko# - wiązanie Gtk# dla Mozilli. | |
25b697a7 | 34 | |
35 | %package devel | |
171b3c41 | 36 | Summary: Gecko# development files |
9bfc8f1d | 37 | Summary(pl.UTF-8): Pliki programistyczne Gecko# |
25b697a7 | 38 | Group: Development/Libraries |
abb37e75 | 39 | Requires: %{name} = %{epoch}:%{version}-%{release} |
25b697a7 | 40 | |
41 | %description devel | |
171b3c41 | 42 | Gecko# development files. |
25b697a7 | 43 | |
76b1f91b | 44 | %description devel -l pl.UTF-8 |
171b3c41 | 45 | Pliki programistyczne Gecko#. |
25b697a7 | 46 | |
47 | %prep | |
56c9a047 | 48 | %setup -q -n gecko-sharp-%{version} |
98bbf101 | 49 | %patch0 -p1 |
36d93816 | 50 | %patch1 -p1 |
25b697a7 | 51 | |
52 | %build | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__automake} | |
56 | %configure | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
56b44593 JB |
65 | if ! pkg-config --exists mono; then |
66 | sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot | |
67 | fi | |
68 | ||
25b697a7 | 69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog NEWS README | |
6266c1cf | 75 | %attr(755,root,root)%{_bindir}/webshot |
abb37e75 | 76 | %{_libdir}/gecko-sharp |
36d93816 | 77 | %{_prefix}/lib/mono/gac/gecko-sharp |
25b697a7 | 78 | |
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
36d93816 | 81 | %{_prefix}/lib/mono/gecko-sharp |
56b44593 | 82 | %{_pkgconfigdir}/gecko-sharp.pc |