Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
retext
retext.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File retext.spec of Package retext
# # spec file for package retext # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: retext Version: 5.0.0 Release: 0 Summary: Simple editor for Markdown and reStructuredText License: GPL-3.0+ Group: Productivity/Editors/Other Url: http://sourceforge.net/p/retext/home/ReText Source: http://downloads.sourceforge.net/retext/ReText-%{version}.tar.gz Source1: %{name}.desktop Source2: http://downloads.sourceforge.net/retext/ReText-%{version}.tar.gz.asc BuildRequires: fdupes BuildRequires: python3 BuildRequires: python3-devel BuildRequires: rsvg-view BuildRequires: update-desktop-files Requires: python3-Markdown Requires: python3-Markups Requires: python3-docutils Requires: python3-pyenchant Requires: python3-qt5 Provides: ReText = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description ReText is simple text editor that supports Markdown and reStructuredText markup languages. It is written in Python using PyQt libraries. %prep %{?gpg_verify: %gpg_verify %{S:2}} %setup -q -n ReText-%{version} %build python3 setup.py build %install python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} %{__mkdir} -pv %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ %{__mkdir} -pv %{buildroot}%{_datadir}/%{name}/ %{__mkdir} -pv %{buildroot}%{_datadir}/applications/ %{__cp} -r templates %{buildroot}%{_datadir}/%{name}/ %{__cp} -r icons/*.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ ICONSIZE="16 22 32 48 64 128 256" pushd %{buildroot}%{_datadir}/icons/hicolor/ for i in $ICONSIZE; do mkdir -pv ${i}x${i}/apps/ rsvg-convert -h $i -w $i scalable/apps/%{name}.svg -o ${i}x${i}/apps/%{name}.png done popd %{__cp} -r %{S:1} %{buildroot}%{_datadir}/applications/ %suse_update_desktop_file %{name} %fdupes %{buildroot}%{_prefix} %files %defattr(-,root,root) %doc changelog.md README %{_bindir}/%{name} %{_bindir}/wpgen %{python3_sitelib}/ReText/ %{python3_sitelib}/* %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/%{name}/ %{_datadir}/wpgen/ %{_datadir}/applications/%{name}.desktop %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