]> git.pld-linux.org Git - packages/dotnet-gecko-sharp.git/blob - dotnet-gecko-sharp.spec
- R: libgtkembedmoz.so
[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.UTF-8):      Gecko# - wiązanie Gtk# dla Mozilli
4 Name:           dotnet-gecko-sharp
5 Version:        0.6
6 Release:        8
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 >= 1: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 %ifarch %{x8664} ia64 ppc64 s390x sparc64
27 Requires:       libgtkembedmoz.so()(64bit)
28 %else
29 Requires:       libgtkembedmoz.so
30 %endif
31 ExcludeArch:    i386
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Gecko# - A Gtk# Mozilla binding.
36
37 %description -l pl.UTF-8
38 Gecko# - wiązanie Gtk# dla Mozilli.
39
40 %package devel
41 Summary:        Gecko# development files
42 Summary(pl.UTF-8):      Pliki programistyczne Gecko#
43 Group:          Development/Libraries
44 Requires:       %{name} = %{epoch}:%{version}-%{release}
45
46 %description devel
47 Gecko# development files.
48
49 %description devel -l pl.UTF-8
50 Pliki programistyczne Gecko#.
51
52 %prep
53 %setup -q -n gecko-sharp-%{version}
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 if ! pkg-config --exists mono; then
71         sed -i -e 's/exec mono/exec mint/' $RPM_BUILD_ROOT%{_bindir}/webshot
72 fi
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README
80 %attr(755,root,root)%{_bindir}/webshot
81 %{_libdir}/gecko-sharp
82 %{_prefix}/lib/mono/gac/gecko-sharp
83
84 %files devel
85 %defattr(644,root,root,755)
86 %{_prefix}/lib/mono/gecko-sharp
87 %{_pkgconfigdir}/gecko-sharp.pc
This page took 0.08167 seconds and 4 git commands to generate.