Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
sk1
sk1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sk1.spec of Package sk1
# # spec file for package sk1 (Version 0.9.0.revMACRO) # # Copyright (c) 2008 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: GPL v2 only; LGPL v2.0 or later Group: Productivity/Graphics/Vector Editors BuildRequires: cairo-devel freetype2-devel python-devel python-imaging BuildRequires: 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 498 Version: 0.9.0.rev%{svnrev} Release: 1 Summary: Python-Based Vector Drawing Program Url: http://www.sk1project.org/ Source: %{name}-0.9.0-rev%{svnrev}.tar.bz2 Source1: %{name}.desktop Patch1: %{name}-font_sys.patch Patch2: %{name}-python_fix.patch 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.0 %patch1 -p1 -b .font_sys %patch2 chmod +x setup.py #%if "%(xft-config --prefix)" == "/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 %{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.0-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 * Wed Sep 10 2008 ro@suse.de - fix build * Thu Aug 21 2008 lmichnovic@suse.cz - fix for python compatibility on 64bit arch (*python_fix.patch) - using fdupes * Wed Aug 20 2008 lmichnovic@suse.cz - initial version 0.9.0 svn revision 498 - BuildRequires: tk-devel >= 8.5 - needed explicit Requires: python-lcms python-imaging - added mandriva patch sk1-font_sys.patch
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