]> git.pld-linux.org Git - packages/mypaint.git/blame - mypaint.spec
- updated to 2.0.1
[packages/mypaint.git] / mypaint.spec
CommitLineData
b14d8194 1Summary: MyPaint is a fast and easy open-source graphics application for digital painters
27faf09b 2Summary(pl.UTF-8): Szybka i łatwa w obsłudze aplikacja dla komputerowych malarzy
b14d8194 3Name: mypaint
b4a36849
JB
4Version: 2.0.1
5Release: 1
27faf09b 6License: GPL v2+
b14d8194 7Group: X11/Applications/Graphics
49945c6a
JB
8#Source0Download: https://github.com/mypaint/mypaint/releases
9Source0: https://github.com/mypaint/mypaint/releases/download/v%{version}/%{name}-%{version}.tar.xz
b4a36849 10# Source0-md5: dc9abd2e9da8477cbad55905ed07a46a
49945c6a 11URL: http://mypaint.org/
f715b9ec 12BuildRequires: gettext-tools
27faf09b
JB
13BuildRequires: glib2-devel >= 2.0
14BuildRequires: gtk+3-devel >= 3.12
49945c6a
JB
15BuildRequires: json-c-devel >= 0.11
16BuildRequires: lcms2-devel >= 2
17BuildRequires: libgomp-devel
b4a36849 18BuildRequires: libmypaint-devel >= 1.6
b14d8194 19BuildRequires: libpng-devel
27faf09b
JB
20BuildRequires: libstdc++-devel >= 6:4.7
21BuildRequires: mypaint-brushes-devel >= 2.0
def98e1f 22BuildRequires: pkgconfig
27faf09b
JB
23BuildRequires: python >= 1:2.7.4
24BuildRequires: python-numpy-devel
49945c6a 25BuildRequires: python-pygobject3-devel >= 3.0
27faf09b 26BuildRequires: python-setuptools
b14d8194 27BuildRequires: rpm-pythonprov
64dffc6a 28BuildRequires: rpmbuild(find_lang) >= 1.32
dbabdb9b 29BuildRequires: sed >= 4.0
27faf09b 30BuildRequires: swig-python >= 3
49945c6a
JB
31BuildRequires: tar >= 1:1.22
32BuildRequires: xz
c29e50d4 33Requires: desktop-file-utils
27faf09b 34Requires: gtk+3-devel >= 3.12
c29e50d4 35Requires: gtk-update-icon-cache
b14d8194 36Requires: hicolor-icon-theme
b4a36849 37Requires: libmypaint >= 1.6
27faf09b
JB
38Requires: mypaint-brushes >= 2.0
39Requires: python-numpy
49945c6a
JB
40Requires: python-pycairo >= 1.4
41Requires: python-pygobject3 >= 3
b14d8194 42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45MyPaint is a fast and easy open-source graphics application for
46digital painters. It lets you focus on the art instead of the program.
47You work on your canvas with minimum distractions, bringing up the
48interface only when you need it.
49
50%description -l pl.UTF-8
51MyPaint jest szybką i łatwą w obsłudze aplikacją dla malarzy.
52Aplikacja pozwala skupić się na własnym dziele poprzez wygodną funkcję
53ukrywania interfejsu użytkownika.
54
55%prep
56%setup -q
57
27faf09b 58%{__sed} -i -e 's/^\(linkflags\|ccflags\).*-O3.*/pass/' setup.py
dbabdb9b 59
b14d8194 60%build
27faf09b 61%py_build
b14d8194 62
63%install
64rm -rf $RPM_BUILD_ROOT
49945c6a 65
27faf09b
JB
66# see mypaint script /libpath_combined
67%py_install \
68 --install-platlib=%{_prefix}/lib/mypaint \
69 --install-purelib=%{_prefix}/lib/mypaint
dbabdb9b 70
27faf09b 71%py_postclean %{_prefix}/lib/mypaint
49945c6a
JB
72
73# duplicate of scalable?
74%{__rm} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/actions/*.svg
95a78a3a 75
49945c6a 76%{__mv} $RPM_BUILD_ROOT%{_localedir}/{nn_NO,nn}
b14d8194 77
78%find_lang %{name}
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post
c29e50d4 84%update_desktop_database
b14d8194 85%update_icon_cache hicolor
86
87%postun
c29e50d4 88%update_desktop_database
b14d8194 89%update_icon_cache hicolor
90
91%files -f %{name}.lang
92%defattr(644,root,root,755)
49945c6a 93%doc Changelog.md Licenses.dep5 Licenses.md README.md doc/*
b14d8194 94%attr(755,root,root) %{_bindir}/mypaint
49945c6a 95%attr(755,root,root) %{_bindir}/mypaint-ora-thumbnailer
27faf09b
JB
96%dir %{_prefix}/lib/mypaint
97%{_prefix}/lib/mypaint/gui
98%dir %{_prefix}/lib/mypaint/lib
99%attr(755,root,root) %{_prefix}/lib/mypaint/lib/_mypaintlib.so
100%{_prefix}/lib/mypaint/lib/*.py[co]
101%{_prefix}/lib/mypaint/lib/layer
b4a36849 102%{_prefix}/lib/mypaint/MyPaint-2.0.0a0-py*.egg-info
27faf09b
JB
103%{_datadir}/metainfo/mypaint.appdata.xml
104%{_datadir}/mypaint
49945c6a
JB
105%{_datadir}/thumbnailers/mypaint-ora.thumbnailer
106%{_desktopdir}/mypaint.desktop
49945c6a
JB
107%{_iconsdir}/hicolor/*x*/actions/mypaint-tool-*.png
108%{_iconsdir}/hicolor/scalable/actions/mypaint-*.svg
27faf09b
JB
109%{_iconsdir}/hicolor/scalable/apps/org.mypaint.MyPaint.svg
110%{_iconsdir}/hicolor/symbolic/apps/org.mypaint.MyPaint-symbolic.svg
This page took 0.101226 seconds and 4 git commands to generate.