libmypaint/libmypaint.spec

60 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-20 22:23:58 -05:00
Name: libmypaint
2020-08-11 15:27:40 +08:00
Version: 1.6.1
Release: 1
2019-12-20 22:23:58 -05:00
Summary: Rush library used by MyPaint
License: ISC
URL: https://github.com/mypaint/libmypaint
Source0: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz
2020-08-11 15:27:40 +08:00
BuildRequires: babl-devel gcc doxygen glib2-devel gobject-introspection-devel
BuildRequires: intltool json-c-devel python3-breathe python3-sphinx
2019-12-20 22:23:58 -05:00
Conflicts: mypaint < 1.3.0
%description
This is the brush library used by MyPaint. A number of other painting programs use it too.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?isa} = %{?epoch:%{epoch}:}%{version}-%{release}, pkgconfig
%description devel
This package includes development files for %{name}.
%prep
%autosetup -p1
2020-08-11 15:27:40 +08:00
sed -i -e 's/python -c/python3 -c/g' configure
2019-12-20 22:23:58 -05:00
%build
2020-08-11 15:27:40 +08:00
%configure --enable-docs --enable-introspection=yes --disable-gegl
2019-12-20 22:23:58 -05:00
%make_build
%install
%make_install
find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete -print
%find_lang %{name}
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
%doc README.md
%{_libdir}/*.so.*
%dir %{_libdir}/girepository-1.0
2020-08-11 15:27:40 +08:00
%{_libdir}/girepository-1.0/MyPaint-1.6.typelib
2019-12-20 22:23:58 -05:00
%files devel
%doc doc/build/*
%{_libdir}/*.so
%{_includedir}/%{name}*
%{_libdir}/pkgconfig/*.pc
%dir %{_datadir}/gir-1.0
2020-08-11 15:27:40 +08:00
%{_datadir}/gir-1.0/MyPaint*-1.6.gir
2019-12-20 22:23:58 -05:00
%changelog
2020-08-11 15:27:40 +08:00
* Tue Aug 11 2020 lingsheng <lingsheng@huawei.com> - 1.6.1-1
- Update to 1.6.1
2019-12-20 22:23:58 -05:00
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.0-10
- Package init