Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
nested
nested.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nested.spec of Package nested
# # spec file for package nested # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Izaac Zavaleta # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nested Version: 1.2.2 Release: 0 Summary: Specialized editor for structured documents License: GPL-2.0+ and Apache-2.0 Group: Productivity/Editors/Other Url: http://nestededitor.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/nestededitor/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildRequires: fdupes BuildRequires: python-devel BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1210 BuildRequires: python-distribute %endif Requires: netpbm Requires: python-gtk Requires: python-webkitgtk Requires: texlive Requires: texlive-latex %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Nested is a specialized editor focused on creating structured documents such as reports, publications, presentations, books, etc. It is designed to help the user concentrate on writing content without been distracted by format or markup. It offers a rich WYSIWYM interface where the user writes plain text with a lightweight markup language. %prep %setup -q %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p %{buildroot}%{_datadir}/applications/ cp %{SOURCE1} %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps/ python l10n/compile_mo.py mkdir -p %{buildroot}%{_datadir}/locale mv l10n/mo/* %{buildroot}%{_datadir}/locale mkdir -p %{buildroot}%{_mandir}/man1 python -B %{_builddir}/%{name}-%{version}/nested/txt2tags.py --target man \ --infile %{_builddir}/%{name}-%{version}/nested/examples/Manpage/Manpage.t2t \ --outfile %{_builddir}/%{name}-%{version}/nested/nested.1 cp -p %{_builddir}/%{name}-%{version}/nested/nested.1 %{buildroot}%{_mandir}/man1 %if 0%{?suse_version} < 1210 cp %{buildroot}%{python_sitelib}/nested/nested.png %{buildroot}%{_datadir}/pixmaps/ %else mv %{buildroot}%{python_sitelib}/nested/nested.png %{buildroot}%{_datadir}/pixmaps/ %endif %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop %fdupes %{buildroot}%{python_sitelib}/nested/ %find_lang %{name} %files -f %name.lang %defattr(-,root,root,-) %doc CHANGELOG.txt LICENSE.txt %{_bindir}/nested %{_datadir}/applications/nested.desktop %{_datadir}/pixmaps/nested.png %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo %{python_sitelib}/* %{_mandir}/man1/%{name}.1.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor