automatic version update by autodist [release 8.0-1mamba;Tue Apr 02 2019]

This commit is contained in:
Automatic Build System 2024-01-06 07:08:41 +01:00
parent 84d7576d31
commit 0ae28736ee

View File

@ -1,6 +1,6 @@
%define majver %(echo %version|cut -d. -f1-2)
Name: midori
Version: 0.5.11
Version: 8.0
Release: 1mamba
Summary: A lightweight web browser
Group: Graphical Desktop/Applications/Internet
@ -8,7 +8,8 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.midori-browser.org
Source: http://www.midori-browser.org/downloads/midori_%{version}_all_.tar.bz2
Source: https://github.com/midori-browser/core.git/v%{version}/core-%{version}.tar.bz2
#Source: http://www.midori-browser.org/downloads/midori_%{version}_all_.tar.bz2
Patch0: midori-0.2.4-docdir.patch
Patch1: midori-0.5.0-openmamba_homepage.patch
License: LGPL
@ -50,6 +51,7 @@ BuildRequires: vala
BuildRequires: vala-tools
BuildRequires: libzeitgeist-devel
BuildRequires: libgranite-devel
BuildRequires: libpeas-devel
Requires: ca-certificates
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -85,20 +87,20 @@ Midori is a lightweight web browser.
This package contains %{name} API documentation.
%prep
%setup -q
%setup -q -n core-%{version}
#%patch0 -p1
%patch1 -p1
#%patch1 -p1
for w in $(find . -name "wscript*"); do
sed -i 's|#!/usr/bin/python|#!%{__python}|' $w
sed -i 's|#!/usr/bin/env python|#!%{__python}|' $w
sed -i 's|#! /usr/bin/env python|#!%{__python}|' $w
sed -i 's|#!python|#!%{__python}|' $w
sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $w
sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $w
sed -i 's|#!/usr/bin/python|#!%{__python36}|' $w
sed -i 's|#!/usr/bin/env python|#!%{__python36}|' $w
sed -i 's|#! /usr/bin/env python|#!%{__python36}|' $w
sed -i 's|#!python|#!%{__python36}|' $w
sed -i 's|#!/usr/local/bin/python2.1|#!%{__python36}|' $w
sed -i 's|#!/usr/local/bin/python|#!%{__python36}|' $w
done
sed -i 's|#! /usr/bin/env python|#!%{__python}|' tools/check-style
#sed -i 's|#! /usr/bin/env python|#!%{__python36}|' tools/check-style
%build
%cmake -d build \
@ -148,52 +150,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/midori/extensions/adblock/config
%{_sysconfdir}/xdg/midori/search
#%{_sysconfdir}/xdg/midori/extensions/adblock/config
#%{_sysconfdir}/xdg/midori/search
%{_bindir}/midori
%{_libdir}/libmidori-core.so
%{_libdir}/libmidori-core.so.*
%{_libdir}/midori/libabout.so
%{_libdir}/midori/libadblock.so
%{_libdir}/midori/libaddons.so
%{_libdir}/midori/libapps.so
%{_libdir}/midori/libcolorful-tabs.so
%{_libdir}/midori/libcookie-manager.so
%{_libdir}/midori/libcookie-permissions.so
%{_libdir}/midori/libcopy-tabs.so
%{_libdir}/midori/libdelayed-load.so
%{_libdir}/midori/libdevpet.so
%{_libdir}/midori/libdomain-keys.so
%{_libdir}/midori/libexternal-download-manager.so
%{_libdir}/midori/libfeed-panel.so
%{_libdir}/midori/libflummi.so
%{_libdir}/midori/libformhistory.so
%{_libdir}/midori/libhistory-list.so
%{_libdir}/midori/libmouse-gestures.so
%{_libdir}/midori/libnojs.so
%{_libdir}/midori/libnotes.so
%{_libdir}/midori/libnsplugin-manager.so
#%{_libdir}/midori/libpage-holder.so
%{_libdir}/midori/libopen-with.so
%{_libdir}/midori/libshortcuts.so
%{_libdir}/midori/libstatus-clock.so
%{_libdir}/midori/libstatusbar-features.so
%{_libdir}/midori/libtab-panel.so
%{_libdir}/midori/libtabby.so
%{_libdir}/midori/libtabs-minimized.so
%{_libdir}/midori/libtoolbar-editor.so
%{_libdir}/midori/libtransfers.so
%{_libdir}/midori/libwebmedia-now-playing.so
%{_datadir}/appdata/midori.appdata.xml
%{_datadir}/applications/midori.desktop
%{_datadir}/applications/midori-private.desktop
%{_libdir}/midori/lib*.so
%{_libdir}/girepository-1.0/Midori-*.typelib
%dir %{_libdir}/midori
%{_libdir}/midori/*.plugin
%{_datadir}/applications/org.midori_browser.Midori.desktop
%{_datadir}/gir-1.0/Midori-*.gir
%{_datadir}/metainfo/midori.appdata.xml
%{_datadir}/icons/hicolor/*x*/*/*.png
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{_datadir}/icons/hicolor/*/status/*svg
%dir %{_datadir}/midori
%dir %{_datadir}/midori/res
%{_datadir}/midori/res/*
%doc AUTHORS COPYING
%doc COPYING
#%files devel
#%defattr(-,root,root)
@ -206,9 +177,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%dir %{_docdir}/midori
%{_docdir}/midori/*
#%{_datadir}/gtk-doc/html/midori/*
%doc ChangeLog README TODO
#%doc ChangeLog README TODO
%changelog
* Tue Apr 02 2019 Automatic Build System <autodist@mambasoft.it> 8.0-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 0.5.11-1mamba
- automatic version update by autodist