Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lmich
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) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sk1 License: LGPL v2.1 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 511 Version: 0.9.0.rev%{svnrev} Release: 3 Summary: Python-Based Vector Drawing Program Url: http://www.sk1project.org/ Source: sK1-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 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 at gmail.com> %prep %setup -q -n sK1-0.9.0 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.5.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 %if 0%{?mandriva_version} %{py_platsitedir}/%{name} %{_bindir}/%{name} %{py_platsitedir}/%{oname}-%{version}-py%{pyver}.egg-info %{_iconsdir}/hicolor/*/apps/%{name}.png # %{_datadir}/applications/mandriva-%{name}.desktop %endif %changelog * Sun Sep 07 2008 lmichnovic@gmail.com - update to svn rev 511 - fix for python 2.5 64 bit arch compatibility obsoletes *python.patch, *font_sys.patch * Mon Aug 18 2008 lmichnovic@suse.cz - initial version 0.9.0 svn revision 335
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