Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37569739
en ru br
ALT Linux repos
S:0.51.0-alt1
5.0: 0.3.6-alt3
4.1: 0.3.6-alt2.M41.1
4.0: 0.3.6-alt0.M40.1.2
3.0: 0.1.3-alt0.1

Group :: Engineering
RPM: ktechlab

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:    ktechlab
Version: 0.50.0
Release: alt1

Summary: Development and simulation of micro-controllers and electronic circuits
License: GPL-2.0
Group:   Engineering

URL: https://github.com/ktechlab/ktechlab
Source: %name-%version.tar

BuildRequires(pre): rpm-build-kf5
BuildRequires(pre): rpm-build-ninja
BuildRequires: extra-cmake-modules gcc-c++
BuildRequires: qt5-declarative-devel
BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kdoctools-devel
BuildRequires: kf5-khtml-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-kio-devel
BuildRequires: kf5-kjs-devel
BuildRequires: kf5-kparts-devel
BuildRequires: kf5-ktexteditor-devel
BuildRequires: kf5-ktextwidgets-devel
BuildRequires: kf5-kwidgetsaddons-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-solid-devel
BuildRequires: glib2-devel
BuildRequires: libgpsim-devel
BuildRequires: readline-devel
BuildRequires: desktop-file-utils

# Ktechlab requires gputils for PIC simulation.

Requires: gputils sdcc

%description
KTechlab is a development and simulation environment for
micro-controllers and electronic circuits. KTechlab consists of several
well-integrated components: A circuit simulator, capable of simulating
logic, linear devices and some nonlinear devices. Integration with
gpsim, allowing PICs to be simulated in circuit. A schematic editor,
which provides a rich real-time feedback of the simulation. A flowchart
editor, allowing PIC programs to be constructed visually. MicroBASIC; a
BASIC-like compiler for PICs, written as a companion program to
KTechlab. An embedded Kate part, which provides a powerful editor for
PIC programs. Integrated assembler and disassembler via gpasm and
gpdasm.

%prep
%setup

%build
%K5init no_altplace
%K5cmake -GNinja
%ninja_build -C BUILD
# TODO
echo "Comment[ru]=Среда разработки микроконтроллеров и электронных компонентов" >> src/org.kde.ktechlab.desktop

%install
%ninja_install -C BUILD
%find_lang %name

%files -f %name.lang
%doc AUTHORS ChangeLog README
%doc %_K5doc/en/%name
%_bindir/%name
%_bindir/microbe
%_datadir/%name
%_K5xmlgui/%name
%_datadir/metainfo/*.xml
%_K5xdgmime/*.xml
%_K5cfg/%name.kcfg
%_datadir/katepart5/syntax/microbe.xml
%_desktopdir/kf5/*.desktop
%_iconsdir/hicolor/*/*/*.png

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin