0c140ea
Name:           equalx
f92b0f4
Version:        0.7.1
f92b0f4
Release:        1%{?dist}
0c140ea
Summary:        A graphical editor for writing LaTeX equations
0c140ea
0c140ea
License:        GPLv3+
0c140ea
URL:            http://equalx.sourceforge.net
9fc8899
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
0c140ea
Source1:        %{name}.desktop
0c140ea
0c140ea
BuildRequires:  desktop-file-utils
9fc8899
BuildRequires:  exempi-devel
0c140ea
BuildRequires:  qt4-devel 
f92b0f4
Requires:       ghostscript
f92b0f4
Requires:       poppler-utils
f92b0f4
Requires:       tex(pdflatex)
0c140ea
0c140ea
0c140ea
%description
f92b0f4
EqualX is an application that helps you to write equations in LaTeX
f92b0f4
and to preview them in real-time.
0c140ea
0c140ea
%prep
9fc8899
%setup -q
0c140ea
0c140ea
# fix line endings
0c140ea
sed 's|\r||g' LICENSE >LICENSE.new
0c140ea
touch -r LICENSE LICENSE.new
0c140ea
mv LICENSE.new LICENSE
0c140ea
0c140ea
0c140ea
%build
0c140ea
qmake-qt4
0c140ea
make %{?_smp_mflags}
0c140ea
0c140ea
0c140ea
%install
f92b0f4
install -D -p %{name} %{buildroot}%{_bindir}/%{name}
f92b0f4
install -D -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
f92b0f4
install -D -p -m 644 resources/icons/%{name}/%{name}.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
0c140ea
0c140ea
desktop-file-install \
0c140ea
  --dir %{buildroot}%{_datadir}/applications \
0c140ea
  %{SOURCE1}
0c140ea
0c140ea
0c140ea
%files
9fc8899
%doc LICENSE THANKS changelog
0c140ea
%{_bindir}/%{name}
f92b0f4
%{_mandir}/man1/%{name}.1*
0c140ea
%{_datadir}/applications/%{name}.desktop
9fc8899
%{_datadir}/pixmaps/%{name}.svg
0c140ea
0c140ea
0c140ea
%changelog
f92b0f4
* Thu Sep 18 2014 Martin Gieseking <martin.gieseking@uos.de> 0.7.1-1
f92b0f4
- Updated to version 0.7.1.
f92b0f4
- Added manpage now present in the tarball.
f92b0f4
0febdca
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-4
0febdca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0febdca
68d675b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
68d675b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
68d675b
ed49167
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
ed49167
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ed49167
9fc8899
* Sat Jun 22 2013 Martin Gieseking <martin.gieseking@uos.de> 0.6.0-1
9fc8899
- Updated to version 0.6.0.
9fc8899
- Dropped patches as they have been applied upstream.
9fc8899
5e79ec9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
5e79ec9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5e79ec9
6c6dc52
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
6c6dc52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6c6dc52
0c140ea
* Wed Jan 18 2012 Martin Gieseking <martin.gieseking@uos.de> 0.5.1-2
0c140ea
- added patches to fix serious warnings
0c140ea
- preserve timestamps in %%install
0c140ea
- more descriptive summary
0c140ea
0c140ea
* Tue Jan 17 2012 Martin Gieseking <martin.gieseking@uos.de> 0.5.1-1
0c140ea
- initial package
0c140ea