packages sK1.spec
      Pages: < 1 >  DOWNLOAD      
%define minver %(echo %version|cut -d. -f4)
%define majver %(echo %version|cut -d. -f1-3)
Name:          sK1
Version:       0.9.1pre2.1383
Release:       1mamba
Summary:       An open source vector graphics editor similar to CorelDRAW, Adobe Illustrator, or Freehand
Group:         Graphical Desktop/Applications/Graphics
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           http://sk1project.org
Source:		   http://sk1.googlecode.com/files/sk1-%{majver}_rev%{minver}.tar.gz
#Source:        http://sk1project.org/downloads/sk1/sK1-%{majver}-rev%{minver}.tar.gz
Source1:       sK1-desktop
License:       GPL
BuildRoot:     %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libfreetype-devel
BuildRequires: libpython-devel
BuildRequires: libtcl85-devel
BuildRequires: libtk85-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libz-devel
BuildRequires: python
BuildRequires: python-Imaging
BuildRequires: python-lcms
## AUTOBUILDREQ-END
Requires:      python
Requires:      python-lcms
Requires:      python-Imaging

%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.
The major sK1 features:

    * CMYK colorspace support
    * CMYK support in Postscript
    * Cairo-based engine
    * Color managment
    * Universal CDR importer (7-X3 versions)
    * Modern Ttk based (former Tile widgets) user interface

%prep
%setup -q -n sk1-%{majver}

%build
%{__python} setup.py build

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
   --prefix=%{_prefix} \
   --root=%{buildroot}

#install -D src/share/resources/smallicon.gif %{buildroot}%{_datadir}/pixmaps/sK1.gif
install -D %{SOURCE1} %{buildroot}%{_datadir}/applications/sK1.desktop

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_bindir}/sk1
%{_datadir}/applications/sK1.desktop
%{_datadir}/applications/sk1.desktop
%{_datadir}/pixmaps/sk1.png
%{_datadir}/pixmaps/sk1.xpm
#%{_datadir}/pixmaps/sK1.gif
%{python_sitearch}/sk1/*
#%{python_sitearch}/%{name}-*.egg-info
%{python_sitearch}/sk1-0.9.1pre2-py2.6.egg-info
%doc README

%changelog
* Tue Aug 28 2012 Automatic Build System <autodist@...> 0.9.1pre2.1383-1mamba
- update to 0.9.1pre2.1383

* Tue Mar 10 2009 Silvan Calarco <silvan.calarco@...> 0.9.0.335-1mamba
- package created by autospec