]>
Commit | Line | Data |
---|---|---|
3e76f80b ZU |
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-latex-circuit_macros | |
20 | Requires: texlive-pdftex | |
21 | Requires: texlive-psutils | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Cirkuit is a KDE4 GUI for the Circuit macros by Dwight Aplevich, which | |
26 | is a set of macros for drawing high-quality line diagrams to include | |
27 | in TeX, LaTeX, or similar documents. Cirkuit builds a live preview of | |
28 | the source code and can export the resulting images in EPS, PDF, PNG | |
29 | or PSTricks format. | |
30 | ||
31 | %description -l hu.UTF-8 | |
32 | Cirkuit egy KDE4 felület (GUI) a Dwight Aplevich-féle circuit | |
33 | makrókhoz, amely egy makrógyűjtemény nyomdai minőségű vonaldiagramok | |
34 | rajzolásához, amelyet TeX, LaTeX vagy hasonló dokumentumokba | |
35 | illeszthetsz. Cirkuit egy előnézetet is készít a forráskódbol és a | |
36 | kimeneti képet EPS, PDF, PNG vagy PSTricks formátumba is | |
37 | exportálhatod. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | mkdir %{builddir} | |
44 | cd %{builddir} | |
45 | cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | cd %{builddir} | |
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc Changelog README | |
61 | %attr(755,root,root) %{_bindir}/* | |
62 | ||
63 | # maybe should create a kde4-icon-oxygen-svg-dirs package - I don't want to download | |
64 | # 38.1 MB rpm package and I don't want 50.2 MB of unused icons | |
65 | %dir %{_iconsdir}/oxygen | |
66 | %dir %{_iconsdir}/oxygen/scalable | |
67 | %dir %{_iconsdir}/oxygen/scalable/mimetypes | |
68 | %{_desktopdir}/kde4/cirkuit.desktop | |
69 | %{_datadir}/apps/cirkuit/ | |
70 | %{_iconsdir}/hicolor/64x64/apps/cirkuit.png | |
71 | %{_iconsdir}/hicolor/32x32/apps/cirkuit.png | |
72 | %{_iconsdir}/hicolor/48x48/apps/cirkuit.png | |
73 | %{_iconsdir}/oxygen/scalable/mimetypes/application-x-cirkuit.svgz | |
74 | %{_datadir}/mime/packages/cirkuit.xml |