Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
leo
leo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leo.spec of Package leo
Name: leo Version: 5.1 Release: 1 Summary: Leonine Editor with Outlines URL: http://webpages.charter.net/edreamleo/front.html License: MIT Group: Applications/Editor Source0: http://dl.sourceforge.net/project/leo/Leo/%{version}%20final/Leo-%{version}-final.zip BuildArch: noarch BuildRequires: python BuildRequires: python-setuptools %description Leo is a power tool for people who want to organize, study and work with data, especially complex data like computer programs, books, web sites and data bases. Superficially, Leo may look like other outlining programs, code folding editors or class browsers, but it most certainly is not. %prep %setup -q -n Leo-%{version}-final #sed -i '82i from __future__ import print_function' leo/external/edb.py %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{_datadir}/applications cat << EOF > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Leo Comment=Leonine Editor with Outlines Exec=%{name} Icon=%{python_sitelib}/%{name}/Icons/leoapp32.png Terminal=false Type=Application StartupNotify=true Categories=Utility;TextEditor; EOF %clean rm -rf $RPM_BUILD_ROOT %files %doc *.TXT %{_bindir}/%{name}* %{_datadir}/applications/%{name}.desktop %{python_sitelib}/%{name}* %changelog * Thu Apr 23 2015 Huaren Zhong <huaren.zhong@gmail.com> 5.1 - Rebuild for Fedora
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