package init
This commit is contained in:
parent
440d621c52
commit
2dbcc282f7
29
mypaint-brushes-1.3.0-automake16.patch
Normal file
29
mypaint-brushes-1.3.0-automake16.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 5a28b3c546d2037df79374aa4aeb1c7ab4d1fdfc Mon Sep 17 00:00:00 2001
|
||||
From: Jehan <jehan@girinstud.io>
|
||||
Date: Tue, 27 Mar 2018 19:54:15 +0200
|
||||
Subject: [PATCH] autogen: add automake 1.16 support.
|
||||
|
||||
Fixes #5.
|
||||
|
||||
(cherry picked from commit 1e9109dde3bffd416ed351c3f30ecd6ffd0ca2cd)
|
||||
---
|
||||
autogen.sh | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/autogen.sh b/autogen.sh
|
||||
index 18ad577..166fc3d 100755
|
||||
--- a/autogen.sh
|
||||
+++ b/autogen.sh
|
||||
@@ -90,6 +90,9 @@ fi
|
||||
echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
|
||||
if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then
|
||||
AUTOMAKE=$AUTOMAKE
|
||||
+elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
|
||||
+ AUTOMAKE=automake-1.16
|
||||
+ ACLOCAL=aclocal-1.16
|
||||
elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then
|
||||
AUTOMAKE=automake-1.15
|
||||
ACLOCAL=aclocal-1.15
|
||||
--
|
||||
2.14.3
|
||||
|
||||
BIN
mypaint-brushes-1.3.0.tar.gz
Normal file
BIN
mypaint-brushes-1.3.0.tar.gz
Normal file
Binary file not shown.
46
mypaint-brushes.spec
Normal file
46
mypaint-brushes.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: mypaint-brushes
|
||||
Version: 1.3.0
|
||||
Release: 3
|
||||
Summary: Brushes used by MyPaint and other software using libmypaint
|
||||
License: CC0
|
||||
URL: https://github.com/Jehan/mypaint-brushes
|
||||
Source0: https://github.com/Jehan/mypaint-brushes/archive/v%{version}.tar.gz#/mypaint-brushes-%{version}.tar.gz
|
||||
Patch0001: mypaint-brushes-1.3.0-automake16.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: autoconf automake
|
||||
|
||||
%description
|
||||
This package provides brush files for use with MyPaint and other utilities.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for mypaint-brushes
|
||||
Requires: pkgconfig
|
||||
License: GPLv2+
|
||||
|
||||
%description devel
|
||||
This package contains a pkgconfig file which makes it easier to develop
|
||||
programs using these brush files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc AUTHORS NEWS README.md COPYING Licenses.dep5 Licenses.md
|
||||
%dir %{_datadir}/mypaint-data
|
||||
%dir %{_datadir}/mypaint-data/1.0
|
||||
%{_datadir}/mypaint-data/1.0/brushes
|
||||
|
||||
%files devel
|
||||
%{_datadir}/pkgconfig/mypaint-brushes-1.0.pc
|
||||
|
||||
%changelog
|
||||
* Wed Feb 26 2020 Tianfei <tianfei16@huawei.com> - 1.3.0-3
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user