Name: cirkuit Version: 0.2.1 Release: 1%{?dist} Summary: A frontend for TikZ and circuit_macros Group: Applications/Engineering License: GPLv2+ URL: http://wwwu.uni-klu.ac.at/magostin/cirkuit.html Source0: http://wwwu.uni-klu.ac.at/magostin/src/cirkuit-0.2.1.tar.gz Patch0: %{name}-0.2.1-desktop.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdelibs4-devel BuildRequires: poppler-qt4-devel Requires: texlive Requires: m4 Requires: ghostscript Requires: pdf2svg %description Cirkuit is a KDE4 application to generate publication-ready figures. It is a KDE frontend for the Circuit macros by Dwight Aplevich and for the TikZ language. Cirkuit builds a live preview of the source code and can export the resulting images in several formats (EPS, PDF, PNG, SVG, ...). %prep %setup -q %patch0 -p1 -b .desktop %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING README Changelog %{_kde4_bindir}/cirkuit %{_kde4_bindir}/dpic %{_kde4_datadir}/applications/kde4/cirkuit.desktop %{_kde4_datadir}/config.kcfg/cirkuit.kcfg %{_kde4_iconsdir}/hicolor/*/*/cirkuit.png %{_kde4_iconsdir}/oxygen/*/*/* %{_kde4_appsdir}/cirkuit/ %{_kde4_appsdir}/katepart/syntax/* %{_kde4_datadir}/mime/packages/cirkuit.xml %changelog * Wed Sep 30 2009 Ben Boeckel 0.2.1-1 - Initial package