automatic version update by autodist [release 2.0.0-1mamba;Wed Mar 25 2020]

This commit is contained in:
Automatic Build System 2024-01-06 07:28:43 +01:00
parent ac39e34cb3
commit 59d5e7af19

View File

@ -1,5 +1,5 @@
Name: mypaint
Version: 1.2.1
Version: 2.0.0
Release: 1mamba
Summary: A fast and easy open-source graphics application for digital painters
Group: Graphical Desktop/Applications/Graphics
@ -39,25 +39,30 @@ Requires: %{name} = %{version}-%{release}
MyPaint is a fast and easy open-source graphics application for digital painters. It lets you focus on the art instead of the program. You work on your canvas with minimum distractions, bringing up the interface only when you need it.
This packages provides static libraries and headers needed for development.
%debug_package
%prep
%setup -q
#%patch0 -p0
cp %{SOURCE1} desktop/
%build
scons prefix=%{_prefix} libdir=%{_libdir}
CFLAGS="%{optflags}" %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
scons prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} install
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
#unzip %{SOURCE2}
#install -D Mypaint_Deevad-brush-V2/* %{buildroot}%{_datadir}/mypaint/brushes/
install -D desktop/mypaint.desktop %{buildroot}%{_datadir}/applications/
%find_lang %{name}
%find_lang lib%{name}
cat lib%{name}.lang >> %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -73,38 +78,24 @@ gtk-update-icon-cache -tf %{_datadir}/icons/hicolor
%dir %{_datadir}/mypaint
%dir %{_datadir}/mypaint/backgrounds
%{_datadir}/mypaint/backgrounds/*
%dir %{_datadir}/mypaint/brushes
%{_datadir}/mypaint/brushes/*
%dir %{_datadir}/mypaint/gui
%{_datadir}/mypaint/gui/*
%dir %{_datadir}/mypaint/lib
%{_datadir}/mypaint/lib/*
%{_datadir}/applications/*.desktop
%{_datadir}/appdata/mypaint.appdata.xml
%{_datadir}/metainfo/mypaint.appdata.xml
%dir %{_datadir}/mypaint/pixmaps
%{_datadir}/mypaint/pixmaps/*.png
%dir %{_datadir}/mypaint/palettes
%{_datadir}/mypaint/palettes/*.gpl
%dir %{_datadir}/libmypaint
%{_datadir}/libmypaint/*
%{_datadir}/thumbnailers/mypaint-ora.thumbnailer
%{_datadir}/icons/hicolor/16x16/apps/mypaint.png
%{_datadir}/icons/hicolor/*/actions/*.png
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%{_datadir}/icons/hicolor/*/apps/mypaint.png
%{_datadir}/icons/hicolor/24x24/actions/mypaint-*.svg
%{_prefix}/lib/mypaint/_mypaintlib.so
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libmypaint
%dir %{_includedir}/libmypaint/glib
%{_includedir}/libmypaint/glib/mypaint-*.h
%{_includedir}/libmypaint/*.h
%{_prefix}/lib/libmypaint.a
%{_prefix}/lib/pkgconfig/libmypaint.pc
%{_datadir}/icons/hicolor/scalable/apps/org.mypaint.MyPaint.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.mypaint.MyPaint-symbolic.svg
%{_libdir}/python3.7/site-packages/*
%changelog
* Wed Mar 25 2020 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Sun Oct 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1