]> git.pld-linux.org Git - packages/cirkuit.git/blob - cirkuit.spec
- works without circuit_macros, the program can download and configure it
[packages/cirkuit.git] / cirkuit.spec
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
3 Name:           cirkuit
4 Version:        0.1
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications
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
12 BuildRequires:  cmake
13 BuildRequires:  kde4-kdelibs-devel
14 Requires:       ghostscript
15 Requires:       kde4-icons-oxygen
16 Requires:       m4
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)
22
23 %description
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
28 or PSTricks format.
29
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
36 exportálhatod.
37
38 %prep
39 %setup -q
40
41 %build
42 mkdir %{builddir}
43 cd %{builddir}
44 cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 cd %{builddir}
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changelog README
60 %attr(755,root,root) %{_bindir}/*
61
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
This page took 0.058658 seconds and 3 git commands to generate.