]> git.pld-linux.org Git - packages/dotnet-gecko-sharp.git/blame - dotnet-gecko-sharp.spec
- mono is supported on alpha,sparc* now
[packages/dotnet-gecko-sharp.git] / dotnet-gecko-sharp.spec
CommitLineData
7ca6f00d 1%include /usr/lib/rpm/macros.mono
171b3c41 2Summary: Gecko# - A Gtk# Mozilla binding
9bfc8f1d 3Summary(pl.UTF-8): Gecko# - wiązanie Gtk# dla Mozilli
978005c7 4Name: dotnet-gecko-sharp
0f2962bb 5Version: 0.6
4f02cff8 6Release: 8
25b697a7 7Epoch: 0
8License: GPL
9Group: Libraries
56b44593 10Source0: http://www.go-mono.com/archive/1.0.6/gecko-sharp-%{version}.tar.gz
0f2962bb 11# Source0-md5: 9ce9bb08125f7c7eecf8bd696a3345bd
98bbf101 12Patch0: %{name}-mint.patch
36d93816 13Patch1: %{name}-monodir.patch
652453ae 14URL: http://www.mono-project.com/
25b697a7 15BuildRequires: autoconf
16BuildRequires: automake
56b44593 17# just gtk-sharp
652453ae 18BuildRequires: dotnet-gtk-sharp-devel >= 0.98
4f02cff8 19BuildRequires: gtk+2-devel >= 1:2.0.0
36d93816 20BuildRequires: mono-csharp >= 1.1.7
abb37e75 21BuildRequires: pkgconfig
56b44593 22BuildRequires: sed >= 4.0
56c9a047 23BuildConflicts: gecko-sharp < 0.2
36d93816 24Requires: mono >= 1.1.7
abb37e75 25Requires: dotnet-gtk-sharp >= 0.98
4f02cff8 26ExcludeArch: i386
25b697a7 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
171b3c41 30Gecko# - A Gtk# Mozilla binding.
25b697a7 31
76b1f91b
JR
32%description -l pl.UTF-8
33Gecko# - wiązanie Gtk# dla Mozilli.
25b697a7 34
35%package devel
171b3c41 36Summary: Gecko# development files
9bfc8f1d 37Summary(pl.UTF-8): Pliki programistyczne Gecko#
25b697a7 38Group: Development/Libraries
abb37e75 39Requires: %{name} = %{epoch}:%{version}-%{release}
25b697a7 40
41%description devel
171b3c41 42Gecko# development files.
25b697a7 43
76b1f91b 44%description devel -l pl.UTF-8
171b3c41 45Pliki 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
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
56b44593
JB
65if ! pkg-config --exists mono; then
66 sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot
67fi
68
25b697a7 69%clean
70rm -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
This page took 0.092234 seconds and 4 git commands to generate.