|
Paul Lange |
8bfc628 |
%global debug_package %{nil}
|
|
Paul Lange |
8bfc628 |
|
|
|
7dd5222 |
Name: pinta
|
|
|
7dd5222 |
Version: 1.5
|
|
|
7dd5222 |
Release: 1%{?dist}
|
|
Paul Lange |
8bfc628 |
Summary: An easy to use drawing and image editing program
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
# the code is licensed under the MIT license while the icons are licensed as CC-BY
|
|
Paul Lange |
8bfc628 |
License: MIT and CC-BY
|
|
Paul Lange |
8bfc628 |
URL: http://pinta-project.com/
|
|
Paul Lange |
8bfc628 |
|
|
|
7dd5222 |
Source0: http://github.com/PintaProject/Pinta/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Paul Lange |
8bfc628 |
|
|
|
63bdc6a |
# Mono only available on these:
|
|
|
7dd5222 |
ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 sparcv9 alpha s390x
|
|
|
7dd5222 |
|
|
|
7dd5222 |
# Pinta doesn't build on arm with mono 2.10
|
|
|
7dd5222 |
# https://bugzilla.redhat.com/show_bug.cgi?id=992798
|
|
|
7dd5222 |
ExcludeArch: %{arm}
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
833bb5e |
Requires: hicolor-icon-theme, mono-addins
|
|
Paul Lange |
833bb5e |
BuildRequires: mono-devel, gtk-sharp2-devel, gettext, desktop-file-utils
|
|
Paul Lange |
833bb5e |
BuildRequires: intltool, mono-addins-devel
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%description
|
|
Paul Lange |
8bfc628 |
Pinta is an image drawing/editing program.
|
|
Paul Lange |
8bfc628 |
It's goal is to provide a simplified alternative to GIMP for casual users.
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%prep
|
|
Paul Lange |
8bfc628 |
%setup -q
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
347221c |
chmod -x readme.md
|
|
Paul Lange |
8bfc628 |
chmod -x license-mit.txt
|
|
Paul Lange |
8bfc628 |
chmod -x license-pdn.txt
|
|
Paul Lange |
8bfc628 |
chmod -x xdg/pinta.1
|
|
Paul Lange |
8bfc628 |
chmod -x xdg/pinta.xpm
|
|
Paul Lange |
8bfc628 |
chmod -x xdg/scalable/pinta.svg
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
347221c |
sed -i 's/\r//' readme.md
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' license-mit.txt
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' license-pdn.txt
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' pinta.in
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' xdg/pinta.xpm
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' xdg/pinta.1
|
|
Paul Lange |
8bfc628 |
sed -i 's/\r//' xdg/scalable/pinta.svg
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%build
|
|
Paul Lange |
8bfc628 |
%configure
|
|
Paul Lange |
8bfc628 |
make %{?_smp_mflags}
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%install
|
|
Paul Lange |
8bfc628 |
rm -rf %{buildroot}
|
|
Paul Lange |
44152e4 |
make install DESTDIR=%{buildroot}
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%find_lang %name
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%post
|
|
Paul Lange |
8bfc628 |
update-desktop-database &> /dev/null ||:
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%postun
|
|
Paul Lange |
8bfc628 |
update-desktop-database &> /dev/null || :
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
if [ $1 -eq 0 ] ; then
|
|
Paul Lange |
8bfc628 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Paul Lange |
8bfc628 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Paul Lange |
8bfc628 |
fi
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%posttrans
|
|
Paul Lange |
8bfc628 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%files -f %{name}.lang
|
|
Paul Lange |
c8adce0 |
%doc readme.md license-mit.txt license-pdn.txt
|
|
Paul Lange |
8bfc628 |
%{_libdir}/%{name}
|
|
Paul Lange |
8bfc628 |
%{_bindir}/%{name}
|
|
Paul Lange |
8bfc628 |
%{_datadir}/applications/%{name}.desktop
|
|
Paul Lange |
8bfc628 |
%{_datadir}/icons/hicolor/*/*/%{name}.*
|
|
Paul Lange |
8bfc628 |
%{_datadir}/man/man1/%{name}*
|
|
Paul Lange |
8bfc628 |
%{_datadir}/pixmaps/%{name}*
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
%changelog
|
|
|
7dd5222 |
* Mon Oct 27 2014 Andrea Musuruane <musuruan@gmail.com> 1.5-1
|
|
|
7dd5222 |
- Updated to v1.5
|
|
|
7dd5222 |
- Updated Source0 tag
|
|
|
7dd5222 |
- Dropped obsolete Group tags
|
|
|
7dd5222 |
- Pinta doesn't build on arm (#992798)
|
|
|
7dd5222 |
|
|
|
f7caa32 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
|
|
|
f7caa32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f7caa32 |
|
|
|
9375a89 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
|
|
|
9375a89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9375a89 |
|
|
|
018ae38 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
|
|
|
018ae38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
018ae38 |
|
|
|
28f0d2c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
28f0d2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
28f0d2c |
|
|
Paul Lange |
c8adce0 |
* Sun Oct 07 2012 Paul Lange <palango@gmx.de> - 1.4-1
|
|
Paul Lange |
c8adce0 |
- Update to 1.4
|
|
Paul Lange |
c8adce0 |
|
|
|
a0a51bb |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
a0a51bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a0a51bb |
|
|
Paul Lange |
4ba8db5 |
* Mon Apr 30 2012 Paul Lange <palango@gmx.de> - 1.3-1
|
|
Paul Lange |
4ba8db5 |
- update to 1.3
|
|
Paul Lange |
4ba8db5 |
|
|
Paul Lange |
9f14d62 |
* Wed Apr 18 2012 Paul Lange <palango@gmx.de> - 1.2-1
|
|
Paul Lange |
9f14d62 |
- update to 1.2
|
|
Paul Lange |
9f14d62 |
|
|
Paul Lange |
2617b69 |
* Sat Feb 18 2012 Paul Lange <palango@gmx.de> - 1.1-4
|
|
Paul Lange |
2617b69 |
- correct path in bin/pinta
|
|
Paul Lange |
2617b69 |
|
|
Paul Lange |
833bb5e |
* Sat Feb 11 2012 Paul Lange <palango@gmx.de> - 1.1-3
|
|
Paul Lange |
833bb5e |
- Update libdir
|
|
Paul Lange |
833bb5e |
|
|
Paul Lange |
e34e1f7 |
* Fri Feb 10 2012 Paul Lange <palango@gmx.de> - 1.1-2
|
|
Paul Lange |
e34e1f7 |
- Add intltool to BuildRequires
|
|
Paul Lange |
e34e1f7 |
|
|
Paul Lange |
347221c |
* Fri Feb 10 2012 Paul Lange <palango@gmx.de> - 1.1-1
|
|
Paul Lange |
347221c |
- Update to 1.1
|
|
Paul Lange |
347221c |
|
|
|
3748d25 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
3748d25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3748d25 |
|
|
Paul Lange |
e582f15 |
* Thu Apr 28 2011 Paul Lange <palango@gmx.de> - 1.0-1
|
|
Paul Lange |
e582f15 |
- Upload right sources
|
|
Paul Lange |
e582f15 |
|
|
|
63bdc6a |
* Tue Apr 19 2011 Dan HorĂ¡k <dan[at]danny.cz> - 0.8-2
|
|
|
63bdc6a |
- updated the supported arch list
|
|
|
63bdc6a |
|
|
Paul Lange |
96bd44a |
* Wed Apr 06 2011 Paul Lange <palango@gmx.de> - 0.8-1
|
|
Paul Lange |
96bd44a |
- Update to version 0.8
|
|
Paul Lange |
96bd44a |
|
|
Paul Lange |
4ed60d5 |
* Thu Mar 03 2011 Paul Lange <palango@gmx.de> - 0.7-1
|
|
Paul Lange |
4ed60d5 |
- Update to version 0.7
|
|
Paul Lange |
4ed60d5 |
|
|
|
13d117b |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
|
13d117b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
13d117b |
|
|
Paul Lange |
e18d974 |
* Wed Jan 12 2011 Paul Lange <palango@gmx.de> - 0.6-1
|
|
Paul Lange |
e18d974 |
- Update to version 0.6
|
|
Paul Lange |
e18d974 |
|
|
Paul Lange |
d34eb12 |
* Thu Dec 09 2010 Paul Lange <palango@gmx.de> - 0.5-6
|
|
Paul Lange |
d34eb12 |
- Upload right sources
|
|
Paul Lange |
d34eb12 |
|
|
Paul Lange |
44152e4 |
* Thu Dec 09 2010 Paul Lange <palango@gmx.de> - 0.5-5
|
|
Paul Lange |
44152e4 |
- Fix build for x86_64
|
|
Paul Lange |
44152e4 |
|
|
Paul Lange |
8bfc628 |
* Wed Dec 08 2010 Paul Lange <palango@gmx.de> - 0.5-4
|
|
Paul Lange |
8bfc628 |
- Fix issues from review
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Sun Dec 05 2010 Paul Lange <palango@gmx.de> - 0.5-3
|
|
Paul Lange |
8bfc628 |
- Fix build for x86_64
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Wed Dec 01 2010 Paul Lange <palango@gmx.de> - 0.5-2
|
|
Paul Lange |
8bfc628 |
- Fix rpmlint warnings
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Sat Nov 20 2010 Paul Lange <palango@gmx.de> - 0.5-1
|
|
Paul Lange |
8bfc628 |
- update to version 0.5
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Sun Aug 01 2010 Paul Lange <palango@gmx.de> - 0.4-3
|
|
Paul Lange |
8bfc628 |
- Fix links in /bin
|
|
Paul Lange |
8bfc628 |
- Improve patch naming and add upstream links
|
|
Paul Lange |
8bfc628 |
- Fix mimetype patch
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Thu Jul 29 2010 Paul Lange <palango@gmx.de> - 0.4-2
|
|
Paul Lange |
8bfc628 |
- Fix icon cache handling
|
|
Paul Lange |
8bfc628 |
- Add some Requires and BuildRequires
|
|
Paul Lange |
8bfc628 |
- Add docs
|
|
Paul Lange |
8bfc628 |
- Add patches from debian
|
|
Paul Lange |
8bfc628 |
|
|
Paul Lange |
8bfc628 |
* Sat May 08 2010 Paul Lange <palango@gmx.de> - 0.4-1
|
|
Paul Lange |
8bfc628 |
- Initial packaging
|