]> git.pld-linux.org Git - packages/texmaker.git/blob - texmaker.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/texmaker.git] / texmaker.spec
1 Summary:        LaTeX development environment
2 Summary(pl):    ¦rodowisko do tworzenia dokumentów LaTeXa
3 Name:           texmaker
4 Version:        1.3
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        http://www.xm1math.net/texmaker/%{name}-%{version}.tar.bz2
9 # Source0-md5:  17f91175a32827e9c9f45dc7a20a0c2b
10 Source1:        %{name}.desktop
11 URL:            http://www.xm1math.net/texmaker/
12 BuildRequires:  qmake
13 BuildRequires:  qt-devel >= 4.1
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
20 %description -l pl
21 Texmaker to darmowy edytor LaTeXa, który ³±czy wiele narzêdzi
22 potrzebnych do tworzenia dokumentów LaTeXa w jednej aplikacji.
23
24 %prep
25 %setup -q
26
27 %build
28 export QTDIR="%{_prefix}"
29 qmake -unix texmaker.pro \
30         PREFIX="%{_prefix}" \
31         CXXFLAGS="%{rpmcflags}"
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_datadir}/texmaker}
37
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)
50 %doc utilities/AUTHORS
51 %attr(755,root,root) %{_bindir}/*
52 %{_datadir}/%{name}
53 %{_desktopdir}/*.desktop
54 %{_pixmapsdir}/*
This page took 0.091201 seconds and 3 git commands to generate.