Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:adra
qtResistors
qtResistors.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qtResistors.spec of Package qtResistors
# # spec file for package qtResistors # # Copyright (c) 2019 Asterios Dramis <asterios.dramis@gmail.com>. # # 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. Name: qtResistors Version: 0.1.3 Release: 0 Summary: Calculate Resistance of Resistor by the Colors on the Resistor License: GPL-3.0-only Group: Productivity/Scientific/Electronics URL: https://github.com/goetzc/qtResistors/ Source0: https://github.com/goetzc/qtResistors/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) %description qtResistors - calculate resistance of resistor by the colors on the resistor. %prep %setup -q %build %qmake5 src/qtResistors.pro %make_jobs %install install -Dpm 0755 qtResistors %{buildroot}%{_bindir}/qtResistors install -Dpm 0644 icons/qtResistors.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/qtResistors.png install -Dpm 0644 icons/qtResistors.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/qtResistors.svg # Desktop file installation %if 0%{?suse_version} > 1500 %suse_update_desktop_file -i -r qtResistors Qt Science Engineering Electronics Electricity %else %suse_update_desktop_file -i -r qtResistors Qt Education Engineering Electronics Electricity %endif %files %license LICENSE %doc README.md licenses.txt %{_bindir}/qtResistors %{_datadir}/applications/qtResistors.desktop %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/256x256 %dir %{_datadir}/icons/hicolor/256x256/apps %{_datadir}/icons/hicolor/256x256/apps/*.png %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/*.svg %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