|
|
0fcbeae |
Name: nested
|
|
|
0fcbeae |
Version: 1.2.2
|
|
|
af1e75c |
Release: 23%{?dist}
|
|
|
0fcbeae |
Summary: A specialized editor focused on creating structured documents
|
|
|
0fcbeae |
Group: Applications/Publishing
|
|
|
0fcbeae |
License: GPLv2+
|
|
|
0fcbeae |
URL: http://nestededitor.sourceforge.net/
|
|
|
0fcbeae |
Source0: http://downloads.sourceforge.net/nestededitor/%{name}-%{version}.tar.gz
|
|
|
0fcbeae |
Source1: nested.desktop
|
|
|
0fcbeae |
Patch1: nested-1.2.2-shebang.patch
|
|
Alejandro Perez |
feb17dd |
Patch2: nested-1.2.2-PIL.patch
|
|
Abdel G. Martínez L |
e4382d2 |
Patch3: nested-1.2.2-mathjax.patch
|
|
|
0fcbeae |
BuildArch: noarch
|
|
|
0fcbeae |
BuildRequires: python2-devel gettext-devel desktop-file-utils
|
|
|
0fcbeae |
Requires: pygtk2 pywebkitgtk tetex-IEEEtran tex(latex)
|
|
|
efb89ac |
Requires: python2-pillow
|
|
Abdel G. Martínez L |
e4382d2 |
Requires: mathjax
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%description
|
|
|
0fcbeae |
An editor designed to help the user concentrate on writing content without been
|
|
|
0fcbeae |
distracted by format or markup. It offers a rich WYSIWYM interface where the
|
|
|
0fcbeae |
user writes plain text with a lightweight markup language.
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%prep
|
|
|
0fcbeae |
%setup -q -n %{name}-%{version}
|
|
|
0fcbeae |
%patch1 -p0 -b txt2tags
|
|
Alejandro Perez |
feb17dd |
%patch2 -p0 -b nested_gui.py
|
|
Abdel G. Martínez L |
e4382d2 |
%patch3 -p0 -b nested_gui.py
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%build
|
|
|
0fcbeae |
python setup.py build
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%install
|
|
|
0fcbeae |
rm -rf %{buildroot}
|
|
|
0fcbeae |
python setup.py install --skip-build --root=%{buildroot}
|
|
|
0fcbeae |
|
|
|
0fcbeae |
#To generate locale files nested has command complie_mo.py
|
|
|
0fcbeae |
#this generate the mo files that have to be located on /usr/share locale
|
|
|
0fcbeae |
python l10n/compile_mo.py
|
|
|
0fcbeae |
mkdir -p %{buildroot}/usr/share/locale
|
|
|
0fcbeae |
cp -p -r l10n/mo/* %{buildroot}/usr/share/locale
|
|
|
0fcbeae |
%find_lang %{name}
|
|
|
0fcbeae |
|
|
|
0fcbeae |
#add the ico file
|
|
|
0fcbeae |
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
|
0fcbeae |
cp -p nested/nested.svg %{buildroot}%{_datadir}/pixmaps
|
|
|
0fcbeae |
|
|
|
0fcbeae |
#to generate the man pages we use txt2tags.py script included on nested
|
|
|
0fcbeae |
mkdir -p %{buildroot}%{_datadir}/man/man1
|
|
|
0fcbeae |
python -B nested/txt2tags.py --target man \
|
|
|
0fcbeae |
--infile nested/examples/Manpage/Manpage.t2t \
|
|
|
0fcbeae |
--outfile nested/nested.1
|
|
|
0fcbeae |
cp -p nested/nested.1 %{buildroot}%{_datadir}/man/man1
|
|
|
0fcbeae |
|
|
|
0fcbeae |
#add the desktop file
|
|
|
0fcbeae |
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%files -f %{name}.lang
|
|
|
0fcbeae |
%doc README.txt CHANGELOG.txt LICENSE.txt
|
|
|
0fcbeae |
%{python_sitelib}/nested/
|
|
|
0fcbeae |
%{python_sitelib}/nested-%{version}-py*.egg-info
|
|
|
0fcbeae |
%{_bindir}/nested
|
|
|
0fcbeae |
%{_datadir}/pixmaps/nested.svg
|
|
|
0fcbeae |
%{_datadir}/man/man1/nested.1.*
|
|
|
0fcbeae |
%{_datadir}/applications/nested.desktop
|
|
|
0fcbeae |
|
|
|
0fcbeae |
%changelog
|
|
|
af1e75c |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-23
|
|
|
af1e75c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
af1e75c |
|
|
|
f52352e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-22
|
|
|
f52352e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f52352e |
|
|
|
efb89ac |
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.2-21
|
|
|
efb89ac |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
efb89ac |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
efb89ac |
|
|
|
84788e3 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-20
|
|
|
84788e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
84788e3 |
|
|
|
18a6566 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-19
|
|
|
18a6566 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
18a6566 |
|
|
|
31424ee |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-18
|
|
|
31424ee |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
31424ee |
|
|
|
8106eb0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-17
|
|
|
8106eb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8106eb0 |
|
|
|
da49aba |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-16
|
|
|
da49aba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
da49aba |
|
|
|
39bffe6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-15
|
|
|
39bffe6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
39bffe6 |
|
|
Abdel G. Martínez L |
e4382d2 |
* Fri Feb 28 2014 Abdel G. Martinez L. <potty@fedoraproject.org> 1.2.2-14
|
|
Abdel G. Martínez L |
e4382d2 |
- Add patch to change package mathjax for system mathjax
|
|
Abdel G. Martínez L |
e4382d2 |
- Added python-pillow and mathjax dependencies
|
|
Abdel G. Martínez L |
e4382d2 |
|
|
|
d65f6cc |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-13
|
|
|
d65f6cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d65f6cc |
|
|
Alejandro Perez |
9e5e325 |
* Sat Jul 20 2013 Alejandro Perez <aeperezt@fedoraproject.orf> 1.2.2-12
|
|
Alejandro Perez |
9e5e325 |
- fix date error
|
|
Alejandro Perez |
9e5e325 |
- removed commented download url link
|
|
Alejandro Perez |
9e5e325 |
* Sat Jul 20 2013 Alejandro Perez <aeperezt@fedoraproject.orf> 1.2.2-11
|
|
Alejandro Perez |
feb17dd |
- added patch to change Import Image to from PIL import Image
|
|
|
a7fc709 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-10
|
|
|
a7fc709 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a7fc709 |
|
|
|
fb4c289 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-9
|
|
|
fb4c289 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fb4c289 |
|
|
|
0fcbeae |
* Thu Jan 05 2012 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-8
|
|
|
0fcbeae |
- changed Sumary and description
|
|
|
0fcbeae |
* Wed Jan 04 2012 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-7
|
|
|
0fcbeae |
- added require build desktop-file-utils
|
|
|
0fcbeae |
- rename txt2tags.patch to nested-1.2.2-shebang.patch
|
|
|
0fcbeae |
* Wed Jan 04 2012 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-6
|
|
|
0fcbeae |
- change to use desktop-file-install
|
|
|
0fcbeae |
- change mv to cp use with -p option as sugested.
|
|
|
0fcbeae |
* Sun Jan 01 2012 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-5
|
|
|
0fcbeae |
- added icons for desktop
|
|
|
0fcbeae |
- added desktop file
|
|
|
0fcbeae |
- added patch to take out sheban
|
|
|
0fcbeae |
- added man paged generated by txt2tags.py script
|
|
|
0fcbeae |
* Fri Dec 30 2011 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-4
|
|
|
0fcbeae |
- fixed ending with a "."
|
|
|
0fcbeae |
- added defattr
|
|
|
0fcbeae |
* Thu Dec 29 2011 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-3
|
|
|
0fcbeae |
- Added Comments for l10 construction
|
|
|
0fcbeae |
- fixed summary errors
|
|
|
0fcbeae |
- changed license GPL2+ to GPLv2+
|
|
|
0fcbeae |
- Droped tarball_name, pyhthon require, if claused
|
|
|
0fcbeae |
- change build require to gettext-devel
|
|
|
0fcbeae |
- change textlive to tex(latex)
|
|
Alejandro Perez |
9e5e325 |
* Tue Dec 20 2011 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-2
|
|
|
0fcbeae |
- Fixed locale files location
|
|
|
0fcbeae |
- Group change and added localization files and tetex-IEEEtran lib
|
|
|
0fcbeae |
* Mon Dec 19 2011 Alejandro Perez <aeperezt@fedoraproject.org> 1.2.2-1
|
|
|
0fcbeae |
- First package build.
|