2024-01-05 17:52:03 +01:00
|
|
|
Name: skencil
|
|
|
|
Version: 0.6.17
|
2024-01-05 17:52:03 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 17:52:03 +01:00
|
|
|
Summary: An interactive vector drawing appliction
|
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.skencil.org
|
|
|
|
Source: http://kent.dl.sourceforge.net/sourceforge/sketch/skencil-%{version}.tar.gz
|
2024-01-05 17:52:03 +01:00
|
|
|
Patch0: skencil-0.6.17-libtcl-8.6.patch
|
2024-01-05 17:52:03 +01:00
|
|
|
License: LGPL
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
2024-01-05 17:52:03 +01:00
|
|
|
BuildRequires: libtcl-devel
|
|
|
|
BuildRequires: libtk-devel
|
2024-01-05 17:52:03 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:52:03 +01:00
|
|
|
BuildRequires: python-Pillow
|
2024-01-05 17:52:03 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Skencil is a Free Software interactive vector drawing appliction. Known to run on GNU/Linux and other UNIX-compatible systems, it is a flexible and powerful tool for illustrations, diagrams and other purposes.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:52:03 +01:00
|
|
|
%patch0 -p1
|
|
|
|
TKVER=`pkg-config --modversion tk | cut -d. -f1-2`
|
|
|
|
sed -i "s|8\.4|${TKVER}|" setup.py
|
2024-01-05 17:52:03 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./setup.py configure
|
|
|
|
BLDSHARED='gcc -shared' ./setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
--dest-dir="%{buildroot}" \
|
2024-01-05 17:52:03 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--tk-flags="`pkg-config --libs tk`"
|
2024-01-05 17:52:03 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/sk2ppm
|
|
|
|
%{_bindir}/sk2ps
|
|
|
|
%{_bindir}/skconvert
|
|
|
|
%{_bindir}/skencil
|
|
|
|
%{_bindir}/sketch
|
|
|
|
%{_bindir}/skshow
|
|
|
|
%dir %{_libdir}/skencil-%{version}
|
|
|
|
%{_libdir}/skencil-%{version}/*
|
2024-01-05 17:52:03 +01:00
|
|
|
%doc COPYING CREDITS BUGS NEWS README TODO
|
2024-01-05 17:52:03 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:52:03 +01:00
|
|
|
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-3mamba
|
|
|
|
- rebuilt with libtk 8.6 and python-Pillow-devel
|
|
|
|
|
2024-01-05 17:52:03 +01:00
|
|
|
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Sat Feb 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-1qilnx
|
|
|
|
- package created by autospec
|