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