Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:worldcitizen
NeoTool
NeoTool.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NeoTool.spec of Package NeoTool
# # spec file for package NeoTool # # Copyright (c) 2012 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: NeoTool Requires: bash Requires: dfu-util Requires: gawk Requires: util-linux Requires: xterm Requires: zenity BuildArch: noarch %if 0%{?suse_version} BuildRequires: update-desktop-files %endif Version: 1.3 Release: 0 Summary: A bash script to provide a GUI frontend for flashing Openmoko for instance License: GPL-3.0 Group: Development/Tools/Other Url: http://wiki.openmoko.org/wiki/NeoTool Source0: %{name}.sh Source1: %{name}.desktop Source2: %{name}_16x16.png Source3: %{name}_24x24.png Source4: %{name}_32x32.png Source5: %{name}_48x48.png Source6: %{name}_root-mode.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-build %description NeoTool is a bash script for your desktop system to provide a friendly GUI frontend to some common management tasks, like for example flashing Openmoko smartphones. It is aimed at being very intuitive and easy to use, and flexible enough to make it useful in a wide variety of circumstances. %prep %build %install mkdir -p %{buildroot}%{_bindir} install -m 0755 %{SOURCE0} %{buildroot}/%{_bindir}/%{name} cd %{buildroot}/%{_bindir} ln -s NeoTool neotool mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/24x24/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps mkdir -p %{buildroot}%{_datadir}/applications cp -avL %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/NeoTool.png cp -avL %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/NeoTool.png cp -avL %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/NeoTool.png cp -avL %{SOURCE5} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/NeoTool.png cp -avL %{SOURCE1} %{buildroot}%{_datadir}/applications/NeoTool.desktop cp -avL %{SOURCE6} %{buildroot}%{_datadir}/applications/NeoTool_root-mode.desktop %if 0%{?suse_version} %suse_update_desktop_file %{name} %suse_update_desktop_file %{name}_root-mode %endif %files %defattr(-,root,root) %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/16x16 %dir %{_datadir}/icons/hicolor/16x16/apps %dir %{_datadir}/icons/hicolor/24x24 %dir %{_datadir}/icons/hicolor/24x24/apps %dir %{_datadir}/icons/hicolor/32x32 %dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/icons/hicolor/48x48 %dir %{_datadir}/icons/hicolor/48x48/apps %{_bindir}/NeoTool %{_bindir}/neotool %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %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