Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
sk1
sk1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sk1.spec of Package sk1
# # spec file for package sk1 (Version 0.9.1pre_rev730) # # Copyright (c) 2010 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sk1 License: GPLv2 ; LGPLv2.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 %if 0%{?suse_version} BuildRequires: fdupes 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 Summary: Python-Based Vector Drawing Program Url: http://www.sk1project.org/ Source: %{name}-0.9.1pre_rev%{svnrev}.tar.bz2 Source1: %{name}.desktop #patch grabbed from newer sK1-0.9.1pre_rev905 release bnc#555676, fix crash 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description The program sK1 is an open source vector graphics editor similar to CorelDRAW, Adobe Illustrator, or Freehand. First of all sK1 is oriented for PostScript processing. It features CMYK colorspace support, CMYK support in Postscript, a Cairo-based engine, color managment, universal CDR importer (7-X3 versions), and a modern Ttk based (former Tile widgets) user interface. Authors: -------- Igor E.Novikov <igor.e.novikov@gmail.com> Bernhard Herzog <bernhard@users.sourceforge.net> %prep %setup -q -n sK1-0.9.1pre %patch1 %patch2 chmod +x setup.py #%if "%(pkg-config --variable=prefix xft)" == "/usr" #%endif %build #./setup.py configure --with-nls --prefix=%{_prefix} ./setup.py build %install ./setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --compile --optimize=2 # install icons mkdir -p $RPM_BUILD_ROOT/usr/share/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 done %if 0%{?suse_version} %suse_update_desktop_file -i -G "Scalable Graphics" %{name} %fdupes -s $RPM_BUILD_ROOT %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_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 %if 0%{?suse_version} %{_prefix}/share/applications/%{name}.desktop %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor