Hello community, here is the log from the commit of package sk1 for openSUSE:Factory checked in at 2013-03-11 12:06:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sk1 (Old) and /work/SRC/openSUSE:Factory/.sk1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sk1", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/sk1/sk1.changes 2011-09-23 12:46:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sk1.new/sk1.changes 2013-03-11 12:06:51.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Mar 6 18:30:03 UTC 2013 - [email protected] + +- Add license files as %doc + +------------------------------------------------------------------- +Sat Mar 2 08:14:20 UTC 2013 - [email protected] + +- update license to new format + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sk1.spec ++++++ --- /var/tmp/diff_new_pack.aIRftE/_old 2013-03-11 12:06:53.000000000 +0100 +++ /var/tmp/diff_new_pack.aIRftE/_new 2013-03-11 12:06:53.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package sk1 (Version 0.9.1pre_rev730) +# spec file for package sk1 # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,28 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: sk1 -License: GPL-2.0 ; LGPL-2.0+ -Group: Productivity/Graphics/Vector Editors -BuildRequires: cairo-devel freetype2-devel python-devel python-imaging -BuildRequires: liblcms-devel tk-devel >= 8.5 -BuildRequires: xorg-x11-devel xorg-x11-libXext-devel +BuildRequires: freetype2-devel +BuildRequires: liblcms-devel +BuildRequires: python-devel +BuildRequires: python-imaging +BuildRequires: tk-devel >= 8.5 +BuildRequires: xorg-x11-devel +BuildRequires: xorg-x11-libXext-devel +BuildRequires: pkgconfig(cairo) %if 0%{?suse_version} -BuildRequires: fdupes update-desktop-files +BuildRequires: fdupes +BuildRequires: update-desktop-files Requires: python-lcms %endif -Requires: python-imaging -Provides: sketch -Provides: skencil -Obsoletes: skencil -AutoReqProv: on %define svnrev 730 Version: 0.9.1pre_rev%{svnrev} -Release: 11 +Release: 0 Summary: Python-Based Vector Drawing Program +License: GPL-2.0 and LGPL-2.0+ +Group: Productivity/Graphics/Vector Editors Url: http://www.sk1project.org/ Source: %{name}-0.9.1pre_rev%{svnrev}.tar.bz2 Source1: %{name}.desktop @@ -44,6 +43,10 @@ Patch1: %{name}-svg_crash.diff #patch grabbed from newer sK1-0.9.1pre_rev905 release bnc#555677, fix focus of dialogue window Patch2: %{name}-dialog_open.diff +Requires: python-imaging +Provides: skencil +Provides: sketch +Obsoletes: skencil BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires @@ -55,13 +58,6 @@ CDR importer (7-X3 versions), and a modern Ttk based (former Tile widgets) user interface. - - -Authors: --------- - Igor E.Novikov <[email protected]> - Bernhard Herzog <[email protected]> - %prep %setup -q -n sK1-0.9.1pre %patch1 @@ -75,32 +71,30 @@ ./setup.py build %install -./setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --compile --optimize=2 +./setup.py install --prefix=%{_prefix} --root=%{buildroot} --compile --optimize=2 # install icons -mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps for i in 16 32 48 64; do \ -install -m 0644 src/share/icons/CrystalSVG/icon_sk1_$i.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/${i}x${i}/apps/%{name}.png +install -m 0644 src/share/icons/CrystalSVG/icon_sk1_$i.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png done %if 0%{?suse_version} %suse_update_desktop_file -i -G "Scalable Graphics" %{name} -%fdupes -s $RPM_BUILD_ROOT +%fdupes -s %{buildroot} %endif -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) +%doc src/COPYRIGHTS src/GNU_GPL_v2 src/GNU_LGPL_v2 %{_bindir}/%{name} %py_sitedir/%{name} %attr(755,root,root) %py_sitedir/%{name}/__init__.py %py_sitedir/sK1-0.9.1pre-py2.?.egg-info -/usr/share/icons//hicolor/*/apps/%{name}.png -%dir /usr/share/icons/hicolor -%dir /usr/share/icons/hicolor/* -%dir /usr/share/icons/hicolor/*/apps +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%dir %{_datadir}/icons/hicolor +%dir %{_datadir}/icons/hicolor/* +%dir %{_datadir}/icons/hicolor/*/apps %if 0%{?suse_version} -%{_prefix}/share/applications/%{name}.desktop +%{_datadir}/applications/%{name}.desktop %endif %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
