Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:KITScenarist
kitscenarist
kitscenarist.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kitscenarist.spec of Package kitscenarist
# # spec file for package kitscenarist # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _name scenarist Name: kitscenarist Version: @SERVICE@ Release: 0 Summary: Screenwriting software Summary(ru): Программа для написания сценариев %if 0%{?suse_version} || 0%{?fedora} License: GPL-3.0-or-later Group: Productivity/Publishing/Other %endif %if 0%{?mageia} || 0%{?centos_version} License: GPLv3+ Group: Publishing %endif URL: https://github.com/dimkanovikov/KITScenarist Source: %{name}-%{version}.tar.xz Source1: %{name}.mime.xml BuildRequires: cmake BuildRequires: gcc-c++ %if 0%{?suse_version} BuildRequires: libQt5Core-private-headers-devel BuildRequires: libQt5Gui-private-headers-devel BuildRequires: libQt5Widgets-private-headers-devel BuildRequires: update-desktop-files %endif %if 0%{?fedora} || 0%{?centos_version} BuildRequires: qt5-qtbase-private-devel %endif BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.7.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5WebEngineWidgets) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(hunspell) BuildRequires: pkgconfig(mythes) BuildRequires: pkgconfig(zlib) BuildRequires: unzip %if 0%{?mageia} BuildRequires: python %endif %if 0%{?fedora} || 0%{?centos_version} Requires: qt5-qtsvg %endif %if 0%{?suse_version} %requires_eq libQt5Svg5 %endif %if 0%{?mageia} Requires: qtsvg5 %endif %description KIT Scenarist combines convenient script editor and organizer of the screenplay project. Script editor implements numerous opportunities to facilitate the work of the screenwriter, including: the ability to autosubstitution locations, names of characters; check the spelling on the fly; support the grouping of scenes and groups self; painless exporting to PDF and DOCX in all world languages; customizable timing counting and more. Options for the characters and locations allow to collect all the material on the project in one file, and provide a simple way to work with it. Website: http://kitscenarist.ru %description -l ru КИТ Сценарист сочетает в себе удобный текстовый редактор сценария и органайзер проекта. Текстовый редактор реализует многочисленные возможности, способствующие работе сценариста, среди которых: возможность автоподстановки локаций, имён персонажей; проверка правописания на ходу; поддержка группирования сцен, групп сцен; безболезненный экспорт в форматы PDF и RTF; настраиваемый подсчёт хронометража и многое другое. Функции для работы с персонажами и локациями позволяют собрать весь материал по проекту в одном месте, и предоставляют простой способ для работы с ним. %prep %autosetup for i in $(find build/Rpm/translations/ -name '*.desktop' | cut -d \- -f2 | cut -d \. -f1 | grep -v en) ; do sed -i "s/Name=/Name\[$i\]=/" build/Rpm/translations/%{_name}-$i.desktop echo "$(grep -h Name build/Rpm/translations/%{_name}-$i.desktop)" >> build/Rpm/translations/%{_name}-en.desktop done sed -i "s/\(Icon=\).*/\1%{_name}/;/^$/d" build/Rpm/translations/%{_name}-en.desktop sed -i '/Categories/s/=.*/=Office\;WordProcessor\;ProjectManagement\;/' build/Rpm/translations/%{_name}-en.desktop chmod 644 README.md LICENSE %build pushd ./src %if 0%{?suse_version} %qmake5 %endif %if 0%{?fedora} || 0%{?mageia} || 0%{?centos_version} %qmake_qt5 %endif %make_build popd %install #pushd ./src #%%qmake5_install #popd install -Dm 0755 build/Release/bin/%{_name}-desktop/Scenarist %{buildroot}%{_bindir}/%{_name} install -Dm 0644 build/Rpm/translations/%{_name}-en.desktop %{buildroot}%{_datadir}/applications/%{_name}.desktop install -Dm 0644 ui/logo.png %{buildroot}%{_datadir}/pixmaps/%{_name}.png install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/mime/packages/%{name}.xml %if 0%{?suse_version} %suse_update_desktop_file -r %{_name} Office WordProcessor ProjectManagement %endif %files %doc README.md %{_bindir}/%{_name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/pixmaps/%{_name}.??g %dir %{_datadir}/mime %dir %{_datadir}/mime/packages %{_datadir}/mime/packages/%{name}.xml %license LICENSE %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