]> git.pld-linux.org Git - packages/texmaker.git/blame - texmaker.spec
- upgraded to 1.9.2 (inspired by Krzysztof Goliński), pass CXXFLAGS
[packages/texmaker.git] / texmaker.spec
CommitLineData
5dcd8cb1
TP
1#
2# TODO: - use system hunspell
3#
6b635d9f 4Summary: LaTeX development environment
b29f4beb 5Summary(pl.UTF-8): Środowisko do tworzenia dokumentów LaTeXa
6b635d9f 6Name: texmaker
0ed72c1e 7Version: 1.9.2
5dcd8cb1 8Release: 1
6b635d9f 9License: GPL
5dcd8cb1 10Group: X11/Applications/Publishing
6b635d9f 11Source0: http://www.xm1math.net/texmaker/%{name}-%{version}.tar.bz2
0ed72c1e 12# Source0-md5: 61842ccacf7d843e497aa74f7135d04a
6b635d9f 13Source1: %{name}.desktop
14URL: http://www.xm1math.net/texmaker/
5dcd8cb1
TP
15BuildRequires: qt4-build
16BuildRequires: qt4-qmake
17BuildRequires: QtGui-devel
6b635d9f 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Texmaker is a free LaTeX editor, that integrates many tools needed to
22develop documents with LaTeX, in just one application.
23
9ba10fe1
JR
24%description -l pl.UTF-8
25Texmaker to darmowy edytor LaTeXa, który łączy wiele narzędzi
26potrzebnych do tworzenia dokumentów LaTeXa w jednej aplikacji.
6b635d9f 27
28%prep
29%setup -q
30
31%build
32export QTDIR="%{_prefix}"
5dcd8cb1 33qmake-qt4 -unix texmaker.pro \
6b7c1b04 34 PREFIX="%{_prefix}" \
0ed72c1e 35 QMAKE_CXXFLAGS="%{rpmcflags}"
6b635d9f 36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_datadir}/texmaker}
6b7c1b04 41
6b635d9f 42install %{name} $RPM_BUILD_ROOT%{_bindir}
0ed72c1e
TP
43install utilities/{*.gif,*.png,psheader.txt} dictionaries/{*.aff,*.dic} locale/*.qm \
44 $RPM_BUILD_ROOT%{_datadir}/texmaker
45cd doc
46for i in *; do
47 ln -s %{_docdir}/%{name}-%{version}/doc/$i $RPM_BUILD_ROOT%{_datadir}/texmaker
5dcd8cb1 48done
0ed72c1e 49cd ..
6b635d9f 50install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
51install utilities/texmaker32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/texmaker.png
0ed72c1e 52install utilities/texmaker.svg $RPM_BUILD_ROOT%{_pixmapsdir}
6b635d9f 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
0ed72c1e 59%doc utilities/AUTHORS utilities/CHANGELOG.txt dictionaries/*.txt doc
e71d1072 60%attr(755,root,root) %{_bindir}/*
5dcd8cb1
TP
61%dir %{_datadir}/%{name}
62%{_datadir}/%{name}/en_GB.*
0ed72c1e
TP
63%lang(de) %{_datadir}/%{name}/de_DE.*
64%lang(es) %{_datadir}/%{name}/es_ES.*
5dcd8cb1 65%lang(fr) %{_datadir}/%{name}/fr_FR.*
0ed72c1e
TP
66%lang(it) %{_datadir}/%{name}/it_IT.*
67%lang(ca) %{_datadir}/%{name}/texmaker_ca.qm
68%lang(de) %{_datadir}/%{name}/texmaker_de.qm
69%lang(es) %{_datadir}/%{name}/texmaker_es.qm
70%lang(fa) %{_datadir}/%{name}/texmaker_fa.qm
5dcd8cb1 71%lang(fr) %{_datadir}/%{name}/texmaker_fr.qm
0ed72c1e
TP
72%lang(gl) %{_datadir}/%{name}/texmaker_gl.qm
73%lang(it) %{_datadir}/%{name}/texmaker_it.qm
74%lang(pt) %{_datadir}/%{name}/texmaker_pt_BR.qm
75%lang(ru) %{_datadir}/%{name}/texmaker_ru.qm
76%lang(zh_CN) %{_datadir}/%{name}/texmaker_zh_CN.qm
77%lang(zh_TW) %{_datadir}/%{name}/texmaker_zh_TW.qm
5dcd8cb1
TP
78%{_datadir}/%{name}/*.html
79%{_datadir}/%{name}/*.gif
80%{_datadir}/%{name}/*.png
81%{_datadir}/%{name}/*.txt
b3599aa8 82%{_desktopdir}/*.desktop
6b635d9f 83%{_pixmapsdir}/*
This page took 0.066803 seconds and 4 git commands to generate.