Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37900630
en ru br
ALT Linux repos
S:0.2.0-alt3

Group :: System/Libraries
RPM: libqt-mvvm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: libqt-mvvm
Version: 0.2.0
Release: alt3

Summary: This model-view-viewmodel framework is intended for development of large Qt based applications written in C++.
License: GPLv3+
Group: System/Libraries
Url: https://github.com/gpospelov/qt-mvvm

BuildRequires: cmake
BuildRequires: rpm-macros-cmake
BuildRequires: cmake-modules
BuildRequires: gcc-c++
BuildRequires: qt5-base-devel
BuildRequires: qt5-declarative-devel
BuildRequires: qt5-tools-devel
BuildRequires: qt5-base-common
BuildRequires: doxygen

Source0: %name-%version.tar

%description
This model-view-viewmodel framework is intended for development of
large Qt based applications written in C++.
Main features of the framework are:
   Application model to store arbitrary data of GUI session.
   Serialization of application models to json.
   Undo/redo based on command pattern.
   View model to show parts of application model in Qt widgets. Depends on Qt.
   Scientific plotting based on qcustomplot.
   Automatic generation of widgets from model content.
   Property editors.
   Flexible layout of Qt's trees and tables.

%package -n libqt-mvvm-devel
Summary: Headers for libqt-mvvm framework.
Group: Development/KDE and QT
Requires: libqt-mvvm = %version-%release
Provides: libqt-mvvm-devel = %version-%release

%description -n libqt-mvvm-devel
The libqt-mvvm-devel package contains the header files needed to
develop programs that use set libqt-mvvm libraries.

%prep
%setup -q

%build
%cmake -DMVVM_DISCOVER_TESTS=OFF -DMVVM_ENABLE_FILESYSTEM=OFF -DMVVM_BUILD_EXAMPLES=OFF
%cmake_build

%install
%cmakeinstall_std

%files
%doc README.md
%_libdir/libmvvm_*.so.*

%files -n libqt-mvvm-devel
%_libdir/cmake/mvvm/*
%_libdir/libmvvm_*.so
%_includedir/*

%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