]> git.pld-linux.org Git - packages/texmaker.git/blob - texmaker.spec
- cosmetics
[packages/texmaker.git] / texmaker.spec
1 # $Revision: 1.2 $
2 Summary:        LaTeX development environment
3 Summary(pl):    ¦rodowisko do tworzenia dokumentów LaTeXa
4 Name:           texmaker
5 Version:        1.12
6 Release:        1
7 License:        GPL
8 Group:          Applications/Publishing
9 Source0:        http://www.xm1math.net/texmaker/%{name}-%{version}.tar.bz2
10 # Source0-md5:  af243a0506a296216b51aad80b244c63
11 Source1:        %{name}.desktop
12 URL:            http://www.xm1math.net/texmaker/
13 BuildRequires:  qmake
14 BuildRequires:  qt-devel >= 3.2
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Texmaker is a free LaTeX editor, that integrates many tools needed to
19 develop documents with LaTeX, in just one application.
20
21 %description -l pl
22 Texmaker to darmowy edytor LaTeXa, który ³±czy wiele narzêdzi
23 potrzebnych do tworzenia dokumentów LaTeXa w jednej aplikacji.
24
25 %prep
26 %setup -q
27
28 %build
29 export QTDIR="%{_prefix}"
30 qmake -unix texmaker.pro \
31         PREFIX="%{_prefix}" \
32         CXXFLAGS="%{rpmcflags}" 
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_datadir}/texmaker}
38
39 install %{name} $RPM_BUILD_ROOT%{_bindir}
40 install utilities/{*.png,*.gif,usermanual.html,style.css} $RPM_BUILD_ROOT%{_datadir}/texmaker
41 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
42 install utilities/texmaker32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/texmaker.png
43 # are SVG icons supported?
44 #install utilities/texmaker.svg $RPM_BUILD_ROOT%{_pixmapsdir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*
52 %doc utilities/AUTHORS
53 %{_datadir}/%{name}
54 %{_desktopdir}/*
55 %{_pixmapsdir}/*
This page took 0.062156 seconds and 4 git commands to generate.