diff --git a/mypaint-1.1.0-json-c-0.11.patch b/mypaint-1.1.0-json-c-0.11.patch new file mode 100644 index 0000000..f2aa9b9 --- /dev/null +++ b/mypaint-1.1.0-json-c-0.11.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/show_bug.cgi?id=467322 +Patch-by: Helmut Jarausch +Fixes pkgconfig name for new json-c (since 0.11) + +--- brushlib/SConscript.ORIG 2012-12-31 18:03:38.000000000 +0100 ++++ brushlib/SConscript 2013-04-26 11:47:27.008232199 +0200 +@@ -73,7 +73,7 @@ + + env.Append(CPPPATH='./') + +-pkg_deps = ['json'] ++pkg_deps = ['json-c'] + libs = ['m'] + linkflags = [] + diff --git a/mypaint.spec b/mypaint.spec index 382790b..73c6402 100644 --- a/mypaint.spec +++ b/mypaint.spec @@ -1,7 +1,7 @@ Name: mypaint Version: 1.1.0 -Release: 1mamba -Summary: MyPaint is a fast and easy open-source graphics application for digital painters +Release: 2mamba +Summary: A fast and easy open-source graphics application for digital painters Group: Graphical Desktop/Applications/Graphics Vendor: openmamba Distribution: openmamba @@ -10,6 +10,7 @@ URL: http://mypaint.intilinux.com/ Source: http://download.gna.org/mypaint/mypaint-%{version}.tar.bz2 Source1: mypaint.desktop #Source2: http://david.revoy.free.fr/forums/Mypaint/Mypaint_Deevad-brush-V2.zip +Patch0: mypaint-1.1.0-json-c-0.11.patch License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN @@ -18,6 +19,7 @@ BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: libjson-c-devel >= 0.12 BuildRequires: python-numeric %description @@ -39,7 +41,10 @@ This packages provides static libraries and headers needed for development. %prep %setup -q +%patch0 -p0 cp %{SOURCE1} desktop/ + +%build scons prefix=%{buildroot}%{_prefix} %install @@ -104,6 +109,9 @@ gtk-update-icon-cache -tf %{_datadir}/icons/hicolor %{_libdir}/pkgconfig/libmypaint.pc %changelog +* Sat Jun 28 2014 Silvan Calarco 1.1.0-2mamba +- rebuilt with libjson-c 0.12 + * Fri Jan 11 2013 Automatic Build System 1.1.0-1mamba - automatic version update by autodist