]>
Commit | Line | Data |
---|---|---|
6b635d9f | 1 | Summary: LaTeX development environment |
b29f4beb | 2 | Summary(pl.UTF-8): Środowisko do tworzenia dokumentów LaTeXa |
6b635d9f | 3 | Name: texmaker |
d0643da8 | 4 | Version: 1.3 |
5 | Release: 0.1 | |
6b635d9f | 6 | License: GPL |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.xm1math.net/texmaker/%{name}-%{version}.tar.bz2 | |
d0643da8 | 9 | # Source0-md5: 17f91175a32827e9c9f45dc7a20a0c2b |
6b635d9f | 10 | Source1: %{name}.desktop |
11 | URL: http://www.xm1math.net/texmaker/ | |
12 | BuildRequires: qmake | |
d0643da8 | 13 | BuildRequires: qt-devel >= 4.1 |
6b635d9f | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | Texmaker is a free LaTeX editor, that integrates many tools needed to | |
18 | develop documents with LaTeX, in just one application. | |
19 | ||
9ba10fe1 JR |
20 | %description -l pl.UTF-8 |
21 | Texmaker to darmowy edytor LaTeXa, który łączy wiele narzędzi | |
22 | potrzebnych do tworzenia dokumentów LaTeXa w jednej aplikacji. | |
6b635d9f | 23 | |
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | export QTDIR="%{_prefix}" | |
6b7c1b04 PG |
29 | qmake -unix texmaker.pro \ |
30 | PREFIX="%{_prefix}" \ | |
6dc5ba09 | 31 | CXXFLAGS="%{rpmcflags}" |
6b635d9f | 32 | %{__make} |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_datadir}/texmaker} | |
6b7c1b04 | 37 | |
6b635d9f | 38 | install %{name} $RPM_BUILD_ROOT%{_bindir} |
39 | install utilities/{*.png,*.gif,usermanual.html,style.css} $RPM_BUILD_ROOT%{_datadir}/texmaker | |
40 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
41 | install utilities/texmaker32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/texmaker.png | |
42 | # are SVG icons supported? | |
43 | #install utilities/texmaker.svg $RPM_BUILD_ROOT%{_pixmapsdir} | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
6b635d9f | 50 | %doc utilities/AUTHORS |
e71d1072 | 51 | %attr(755,root,root) %{_bindir}/* |
6b635d9f | 52 | %{_datadir}/%{name} |
b3599aa8 | 53 | %{_desktopdir}/*.desktop |
6b635d9f | 54 | %{_pixmapsdir}/* |