Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b604b51820 |
1 changed files with 39 additions and 37 deletions
|
|
@ -1,50 +1,48 @@
|
|||
%global commit a59fd76dd730432c76b12ee6347ea66567107ab9
|
||||
%global commitdate 20170219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit a59fd76dd730432c76b12ee6347ea66567107ab9
|
||||
%global snapshotdate 20170219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: webkit2-sharp
|
||||
Version: 0
|
||||
Release: 0.6%{?commitdate:.%{commitdate}git%{shortcommit}}%{?dist}
|
||||
Summary: C# bindings for WebKit 2 with GTK+ 3
|
||||
Name: webkit2-sharp
|
||||
Version: 0
|
||||
Release: 0.7%{?snapshotdate:.%{snapshotdate}git%{shortcommit}}%{?dist}
|
||||
Summary: C# bindings for WebKit 2 with GTK+ 3
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/hbons/%{name}
|
||||
License: MIT
|
||||
URL: https://github.com/hbons/%{name}
|
||||
%{?shortcommit:
|
||||
Source0: %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz}
|
||||
Source0: %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz}
|
||||
%{!?shortcommit:
|
||||
Source0: %url/archive/%{commit}/%{name}-%{version}.tar.gz}
|
||||
Source0: %url/archive/%{commit}/%{name}-%{version}.tar.gz}
|
||||
|
||||
Patch0: %{name}-a59fd76-fix_libdir.patch
|
||||
Patch0: %{name}-a59fd76-fix_libdir.patch
|
||||
|
||||
Requires: webkit2gtk3
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: pkgconfig(mono)
|
||||
BuildRequires: pkgconfig(gtk-sharp-3.0)
|
||||
BuildRequires: pkgconfig(gapi-3.0)
|
||||
BuildRequires: pkgconfig(monodoc)
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: gettext
|
||||
Requires: webkit2gtk3
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: pkgconfig(mono)
|
||||
BuildRequires: pkgconfig(gtk-sharp-3.0)
|
||||
BuildRequires: pkgconfig(gapi-3.0)
|
||||
BuildRequires: pkgconfig(monodoc)
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: gettext
|
||||
|
||||
ExclusiveArch: %mono_arches
|
||||
ExclusiveArch: %mono_arches
|
||||
|
||||
#https://fedoraproject.org/wiki/Packaging:Mono#Empty_debuginfo
|
||||
%global debug_package %{nil}
|
||||
|
||||
|
||||
%description
|
||||
C# bindings for WebKit 2 with GTK+ 3
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for WebKit2-sharp
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
Summary: Development files for WebKit2-sharp
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Development files for WebKit2-sharp
|
||||
|
|
@ -56,6 +54,7 @@ Development files for WebKit2-sharp
|
|||
%{!?shortcommit:
|
||||
%autosetup -n %{name}-%{version}}
|
||||
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
|
|
@ -64,14 +63,12 @@ sed -i 's/\r$//' COPYING
|
|||
# No parallel make, race condition with monodoc
|
||||
make
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
|
|
@ -80,11 +77,16 @@ find %{buildroot} -name '*.la' -delete
|
|||
%{_datadir}/gapi-3.0/webkit2-sharp-api.xml
|
||||
%{_libdir}/libwebkit2sharpglue-2.10.9.so
|
||||
|
||||
|
||||
%files devel
|
||||
%{_libdir}/pkgconfig/webkit2-sharp-4.0.pc
|
||||
%{_prefix}/lib/monodoc/sources/webkit2-sharp*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 28 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.7.20170219gita59fd76
|
||||
- Remove ldconfig
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.20170219gita59fd76
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue