rpms/mypaint/devel .cvsignore, 1.4, 1.5 mypaint.spec, 1.9, 1.10 sources, 1.4, 1.5
Christoph Wickert
cwickert at fedoraproject.org
Fri Jan 29 19:48:27 UTC 2010
Author: cwickert
Update of /cvs/pkgs/rpms/mypaint/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25747
Modified Files:
.cvsignore mypaint.spec sources
Log Message:
* Fri Jan 29 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0-1
- Update to 0.8.0
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mypaint/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore 25 Nov 2009 01:49:22 -0000 1.4
+++ .cvsignore 29 Jan 2010 19:48:27 -0000 1.5
@@ -1 +1 @@
-mypaint-0.7.1.tar.bz2
+mypaint-0.8.0.tar.bz2
Index: mypaint.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mypaint/devel/mypaint.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- mypaint.spec 28 Nov 2009 17:31:32 -0000 1.9
+++ mypaint.spec 29 Jan 2010 19:48:27 -0000 1.10
@@ -1,8 +1,8 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: mypaint
-Version: 0.7.1
-Release: 2%{?dist}
+Version: 0.8.0
+Release: 0%{?dist}
Summary: A fast and easy graphics application for digital painters
Group: Applications/Multimedia
@@ -12,9 +12,10 @@ URL: http://mypaint.intilinux
Source0: http://download.gna.org/mypaint/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel, desktop-file-utils, gtk2-devel, pygtk2-devel
-BuildRequires: numpy, scons, swig
-Requires: gtk2, numpy, pygtk2, python
+BuildRequires: python-devel, gtk2-devel, pygtk2-devel
+BuildRequires: numpy, scons, swig, protobuf-devel
+BuildRequires: desktop-file-utils, gettext, intltool
+Requires: gtk2, numpy, pygtk2, python, protobuf-python
%description
MyPaint is a fast and easy graphics application for digital painters. It lets
@@ -28,7 +29,7 @@ minimum distractions, bringing up the in
sed -i 's|PathOption|PathVariable|g' SConstruct
sed -i 's|Options|Variables|g' SConstruct
# for 64 bit
-sed -i 's|lib/mypaint|%{_lib}/mypaint|g' SConstruct mypaint.in.py
+sed -i 's|lib/mypaint|%{_lib}/mypaint|g' SConstruct mypaint.py
# fix menu icon
sed -i 's|mypaint_48|mypaint|g' desktop/%{name}.desktop
@@ -46,6 +47,7 @@ scons prefix=$RPM_BUILD_ROOT%{_prefix} i
desktop-file-install --vendor="fedora" \
--delete-original \
--remove-key="Encoding" \
+ --add-category="RasterGraphics;GTK;" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
@@ -53,21 +55,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec
chmod 755 $RPM_BUILD_ROOT%{_libdir}/mypaint/_mypaintlib.so
-# desktop integration
-for size in 16x16 22x22 24x24 32x32 48x48; do
- (
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps
- ln -s ../../../../%{name}/desktop/$size/%{name}.png \
- $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps/%{name}.png
- )
-done
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
-ln -s ../../../../%{name}/desktop/scalable/%{name}.svg \
- $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
-
-# we don't need these
-rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/desktop/mypaint.{desktop,ico}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/desktop/{svg,mypaint_48.png}
+%find_lang %{name}
%clean
@@ -91,7 +79,7 @@ update-desktop-database &> /dev/null ||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files
+%files -f %{name}.lang
%defattr(-,root,root,-)
%doc changelog COPYING LICENSE README doc/
%{_bindir}/%{name}
@@ -102,6 +90,9 @@ gtk-update-icon-cache %{_datadir}/icons/
%{_libdir}/mypaint/_mypaintlib.so
%changelog
+* Fri Jan 29 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0-1
+- Update to 0.8.0
+
* Sat Nov 28 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.1-2
- Require numpy
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mypaint/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources 25 Nov 2009 01:49:22 -0000 1.4
+++ sources 29 Jan 2010 19:48:27 -0000 1.5
@@ -1 +1 @@
-c9e6c70cddce60330ea7aff36fe5a59f mypaint-0.7.1.tar.bz2
+a8454214112c963a41a8aa7e484617fc mypaint-0.8.0.tar.bz2
More information about the scm-commits
mailing list