67 lines
1.9 KiB
RPMSpec
67 lines
1.9 KiB
RPMSpec
Name: skencil
|
|
Version: 0.6.17
|
|
Release: 3mamba
|
|
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
|
|
Patch0: skencil-0.6.17-libtcl-8.6.patch
|
|
License: LGPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libtcl-devel
|
|
BuildRequires: libtk-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python-Pillow
|
|
|
|
%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
|
|
%patch0 -p1
|
|
TKVER=`pkg-config --modversion tk | cut -d. -f1-2`
|
|
sed -i "s|8\.4|${TKVER}|" setup.py
|
|
|
|
%build
|
|
./setup.py configure
|
|
BLDSHARED='gcc -shared' ./setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
--dest-dir="%{buildroot}" \
|
|
--prefix=%{_prefix} \
|
|
--tk-flags="`pkg-config --libs tk`"
|
|
|
|
%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}/*
|
|
%doc COPYING CREDITS BUGS NEWS README TODO
|
|
|
|
%changelog
|
|
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.17-3mamba
|
|
- rebuilt with libtk 8.6 and python-Pillow-devel
|
|
|
|
* 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
|