1 Summary: Cirkuit is a KDE4 GUI for the Circuit macros
2 Summary(hu.UTF-8): Cirkuit egy KDE4 felület a Circuit makrókhoz
8 Source0: http://wwwu.uni-klu.ac.at/magostin/src/%{name}-%{version}.tar.gz
9 # Source0-md5: 17190f98f03f73c2527026bdbd065552
10 %define builddir build
11 URL: http://wwwu.uni-klu.ac.at/magostin/cirkuit.html
13 BuildRequires: kde4-kdelibs-devel
15 Requires: kde4-icons-oxygen
17 Requires: texlive-dvips
18 Requires: texlive-latex
19 Requires: texlive-pdftex
20 Requires: texlive-psutils
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Cirkuit is a KDE4 GUI for the Circuit macros by Dwight Aplevich, which
25 is a set of macros for drawing high-quality line diagrams to include
26 in TeX, LaTeX, or similar documents. Cirkuit builds a live preview of
27 the source code and can export the resulting images in EPS, PDF, PNG
30 %description -l hu.UTF-8
31 Cirkuit egy KDE4 felület (GUI) a Dwight Aplevich-féle circuit
32 makrókhoz, amely egy makrógyűjtemény nyomdai minőségű vonaldiagramok
33 rajzolásához, amelyet TeX, LaTeX vagy hasonló dokumentumokba
34 illeszthetsz. Cirkuit egy előnézetet is készít a forráskódbol és a
35 kimeneti képet EPS, PDF, PNG vagy PSTricks formátumba is
44 cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
48 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*
62 # maybe should create a kde4-icon-oxygen-svg-dirs package - I don't want to download
63 # 38.1 MB rpm package and I don't want 50.2 MB of unused icons
64 %dir %{_iconsdir}/oxygen
65 %dir %{_iconsdir}/oxygen/scalable
66 %dir %{_iconsdir}/oxygen/scalable/mimetypes
67 %{_desktopdir}/kde4/cirkuit.desktop
68 %{_datadir}/apps/cirkuit/
69 %{_iconsdir}/hicolor/64x64/apps/cirkuit.png
70 %{_iconsdir}/hicolor/32x32/apps/cirkuit.png
71 %{_iconsdir}/hicolor/48x48/apps/cirkuit.png
72 %{_iconsdir}/oxygen/scalable/mimetypes/application-x-cirkuit.svgz
73 %{_datadir}/mime/packages/cirkuit.xml