/[packages]/cauldron/webkit2-sharp/current/SPECS/webkit2-sharp.spec
ViewVC logotype

Contents of /cauldron/webkit2-sharp/current/SPECS/webkit2-sharp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1629131 - (show annotations) (download)
Mon Sep 21 09:35:22 2020 UTC (3 years, 7 months ago) by tv
File size: 1992 byte(s)
rebuild for new mono
1 %global commit a59fd76dd730432c76b12ee6347ea66567107ab9
2 %global snapshotdate 20170219
3 %global shortcommit %(c=%{commit}; echo ${c:0:7})
4
5 %define rel 4
6
7 Name: webkit2-sharp
8 Version: 0
9 Release: %mkrel %{?snapshotdate:0.%{snapshotdate}git%{shortcommit}.}%{rel}
10 Summary: C# bindings for WebKit 2 with GTK+ 3
11 Group: Development/C#
12 License: MIT
13 URL: https://github.com/hbons/%{name}
14 %{?shortcommit:
15 Source0: %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz}
16 %{!?shortcommit:
17 Source0: %url/archive/%{commit}/%{name}-%{version}.tar.gz}
18
19 Patch0: %{name}-a59fd76-fix_libdir.patch
20
21 Requires: webkit2
22 BuildRequires: pkgconfig(webkit2gtk-4.0)
23 BuildRequires: pkgconfig(mono)
24 BuildRequires: pkgconfig(gtk-sharp-3.0)
25 BuildRequires: pkgconfig(gapi-3.0)
26 BuildRequires: pkgconfig(monodoc)
27 BuildRequires: xsltproc
28 BuildRequires: dos2unix
29 BuildRequires: autoconf
30 BuildRequires: automake
31 BuildRequires: intltool
32 BuildRequires: libtool
33 BuildRequires: gettext
34
35 ExclusiveArch: %mono_arches
36
37 #https://fedoraproject.org/wiki/Packaging:Mono#Empty_debuginfo
38 %global debug_package %{nil}
39
40 %description
41 C# bindings for WebKit 2 with GTK+ 3
42
43
44 %package devel
45 Summary: Development files for WebKit2-sharp
46 Requires: %{name} = %{version}-%{release}
47 Requires: pkgconfig
48
49 %description devel
50 Development files for WebKit2-sharp
51
52
53 %prep
54 %{?shortcommit:
55 %autosetup -n %{name}-%{commit}}
56 %{!?shortcommit:
57 %autosetup -n %{name}-%{version}}
58
59
60 %build
61 NOCONFIGURE=1 ./autogen.sh
62 %configure --disable-static
63 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
64 sed -i 's/\r$//' COPYING
65 # No parallel make, race condition with monodoc
66 make
67
68
69 %install
70 %make_install
71
72 find %{buildroot} -name '*.la' -delete
73
74
75 %files
76 %license COPYING
77 %doc README.md
78 %{_prefix}/lib/mono/
79 %{_datadir}/gapi-3.0/webkit2-sharp-api.xml
80 %{_libdir}/libwebkit2sharpglue-2.10.9.so
81
82
83 %files devel
84 %{_libdir}/pkgconfig/webkit2-sharp-4.0.pc
85 %{_prefix}/lib/monodoc/sources/webkit2-sharp*

  ViewVC Help
Powered by ViewVC 1.1.30