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