]> git.pld-linux.org Git - packages/dotnet-gecko-sharp.git/blob - dotnet-gecko-sharp.spec
- drop R: mozilla-firefox (please fill proper R/BR); rel 7
[packages/dotnet-gecko-sharp.git] / dotnet-gecko-sharp.spec
1 %include        /usr/lib/rpm/macros.mono
2 Summary:        Gecko# - A Gtk# Mozilla binding
3 Summary(pl):    Gecko# - wi±zanie Gtk# dla Mozilli
4 Name:           dotnet-gecko-sharp
5 Version:        0.6
6 Release:        7
7 Epoch:          0
8 License:        GPL
9 Group:          Libraries
10 Source0:        http://www.go-mono.com/archive/1.0.6/gecko-sharp-%{version}.tar.gz
11 # Source0-md5:  9ce9bb08125f7c7eecf8bd696a3345bd
12 Patch0:         %{name}-mint.patch
13 Patch1:         %{name}-monodir.patch
14 URL:            http://www.mono-project.com/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 # just gtk-sharp
18 BuildRequires:  dotnet-gtk-sharp-devel >= 0.98
19 BuildRequires:  gtk+2-devel >= 2.0.0
20 BuildRequires:  mono-csharp >= 1.1.7
21 BuildRequires:  pkgconfig
22 BuildRequires:  sed >= 4.0
23 BuildConflicts: gecko-sharp < 0.2
24 Requires:       mono >= 1.1.7
25 Requires:       dotnet-gtk-sharp >= 0.98
26 ExcludeArch:    i386 alpha sparc sparc64
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Gecko# - A Gtk# Mozilla binding.
31
32 %description -l pl
33 Gecko# - wi±zanie Gtk# dla Mozilli.
34
35 %package devel
36 Summary:        Gecko# development files
37 Summary(pl):    Pliki programistyczne Gecko#
38 Group:          Development/Libraries
39 Requires:       %{name} = %{epoch}:%{version}-%{release}
40
41 %description devel
42 Gecko# development files.
43
44 %description devel -l pl
45 Pliki programistyczne Gecko#.
46
47 %prep
48 %setup -q -n gecko-sharp-%{version}
49 %patch0 -p1
50 %patch1 -p1
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
65 if ! pkg-config --exists mono; then
66         sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot
67 fi
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS README
75 %attr(755,root,root)%{_bindir}/webshot
76 %{_libdir}/gecko-sharp
77 %{_prefix}/lib/mono/gac/gecko-sharp
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_prefix}/lib/mono/gecko-sharp
82 %{_pkgconfigdir}/gecko-sharp.pc
This page took 0.067446 seconds and 3 git commands to generate.