35b1134
Name:           wiki2beamer
35b1134
Version:        0.9.5
34f96f9
Release:        10%{?dist}
35b1134
Summary:        Converts a simple wiki-like syntax to complex LaTeX beamer code
35b1134
License:        GPLv2+ and GFDL
35b1134
35b1134
BuildArch:      noarch
eed9510
BuildRequires:  python3-devel
35b1134
URL:            http://sourceforge.net/projects/%{name}
35b1134
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip
35b1134
35b1134
%description
35b1134
Wiki2beamer converts a simple wiki-like syntax to complex LaTeX beamer code. 
35b1134
It's written in python and should run on windows and all *nix platforms. Why 
35b1134
collaborative? Because you can use it with version control systems. Afraid 
35b1134
to loose some LaTeX powers? Don't worry: you can always fall back to plain 
35b1134
LaTeX as wiki2beamer is just a preprocessor.
35b1134
35b1134
%prep
eed9510
%setup -q
35b1134
35b1134
for file in code/wiki2beamer; do
eed9510
    sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|' $file
35b1134
done
35b1134
mv doc/fdl.txt doc/LICENSE-DOCS
35b1134
35b1134
%build
35b1134
pushd code/
eed9510
%{__python3} setup.py build
35b1134
popd
35b1134
35b1134
35b1134
%install
35b1134
35b1134
pushd code/
eed9510
%{__python3} setup.py install --skip-build --root %{buildroot}
35b1134
popd
35b1134
install -m644 -D doc/man/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
eed9510
rm -r %{buildroot}/%{python3_sitelib}
35b1134
35b1134
%check
35b1134
35b1134
35b1134
%files
35b1134
%doc LICENSE README doc/LICENSE-DOCS doc/example
35b1134
%{_bindir}/*
35b1134
%{_mandir}/man1/*
35b1134
35b1134
%changelog
34f96f9
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-10
34f96f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
34f96f9
eed9510
* Sat Nov 14 2015 Sebastian Dyroff <sdyroff@fedoraproject.org> - 0.9.5-9
eed9510
- Switch to python3
eed9510
778816b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-8
778816b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
778816b
079b436
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-7
079b436
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
079b436
d5d8012
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-6
d5d8012
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d5d8012
b1c4f03
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-5
b1c4f03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b1c4f03
35b1134
* Thu Oct 04 2012 Sebastian Dyroff <sdyroff@fedoraproject.org> - 0.9.5-4
35b1134
- Email address in changelog
35b1134
- Remove the clean tag
35b1134
- Add README to doc
35b1134
35b1134
* Thu Oct 04 2012 Sebastian Dyroff <sdyroff@fedoraproject.org> - 0.9.5-3
35b1134
- Macro consistency
35b1134
35b1134
* Sat Sep 22 2012 Sebastian Dyroff <sdyroff@fedoraproject.org> - 0.9.5-2
35b1134
- Fix release tag
35b1134
- Not cleaning the buildroot(obsolete)
35b1134
- Renamed fdl.txt to LICENSE-DOCS
35b1134
35b1134
* Mon Aug 27 2012 Sebastian Dyroff <sdyroff@fedoraproject.org> - 0.9.5-1
35b1134
- Initial package