Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:KITScenarist
starc
starc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File starc.spec of Package starc
# # spec file for package starc # # Copyright (c) 2021 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 lcore libcorelib1 Name: starc Version: @SERVICE@ Release: 0 Summary: Storywriting software Summary(ru): Программа для написания историй License: GPL-3.0-or-later Group: Productivity/Publishing/Other URL: https://github.com/dimkanovikov/starc Source0: %{name}-%{version}.tar.xz Source1: %{name}.mime.xml # LGPL-3.0-or-later # qBreakpad: https://github.com/buzzySmile/qBreakpad.git # git archive --format tar --prefix src/3rd_party/qbreakpad/ HEAD | xz > ../qbreakpad.tar.xz Source2: qbreakpad-2799714.tar.xz # BSD-3-Clause # breakpad: https://chromium.googlesource.com/breakpad/breakpad # git archive --format tar --prefix src/3rd_party/qbreakpad/third_party/breakpad/ HEAD | xz > ../breakpad.tar.xz Source3: breakpad.tar.xz # BSD-3-Clause # lss: https://chromium.googlesource.com/linux-syscall-support # git archive --format tar --prefix src/3rd_party/qbreakpad/third_party/lss/ HEAD | xz > ../lss.tar.xz Source4: lss.tar.xz Source5: %{name}.rpmlintrc BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libQt5Gui-private-headers-devel BuildRequires: libQt5Widgets-private-headers-devel BuildRequires: update-desktop-files BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.14 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) #uildRequires: pkgconfig(mythes) BuildRequires: pkgconfig(zlib) %description TV series support All episodes within one project with immediate access All in one Keep the characters, notes, locations and references in one app Lightning fast Works as fast as all your previous apps combined Website: https://starc.app %description -l ru Многосерийность STARC позволит хранить все серии проекта в одном файле с мгновенным доступом к каждой из них Всё в одном приложении Забудьте о записной книжке - все персонажи, локации, заметки и референсы у вас под рукой Максимально быстрый Мы запретили текстовому редактору съедать всю память компьютера и научили его работать быстро %package -n %{lcore} Summary: Library for %{name} %description -n %{lcore} %{summary}. %prep %setup -q -a2 -a3 -a4 sed -i 's/mac:/unix:/' src/corelib/corelib.pro # Build failure with GCC 13 (missing <cstdint> include) sed -i '/common\/using_std_string.h/s/$/\n#include <cstdint>/' \ src/3rd_party/qbreakpad/third_party/breakpad/src/client/linux/handler/minidump_descriptor.h %build pushd ./src %qmake5 \ QMAKE_CXXFLAGS="%{optflags} -Wno-error=return-type" %make_build popd %install install -Dm 0755 src/_build/%{name}app %{buildroot}%{_libdir}/%{name}/%{name} install -dm 0755 %{buildroot}%{_bindir}/ ln -sf %{_libdir}/%{name}/%{name} %{buildroot}%{_bindir}/ install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/mime/packages/%{name}.xml install -Dm 0644 build/linux/appdir/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png install -Dm 0755 src/_build/libcorelib.so.1.0.0 -t %{buildroot}%{_libdir}/ ln -sf libcorelib.so.1.0.0 %{buildroot}%{_libdir}/libcorelib.so.1 ln -sf libcorelib.so.1.0.0 %{buildroot}%{_libdir}/libcorelib.so.1.0 install -Dm 0755 src/_build/plugins/*.so -t %{buildroot}/%{_libdir}/%{name}/plugins/ %suse_update_desktop_file -c %{name} "Story Architect" "Storywriting software" %{name} %{name} %suse_update_desktop_file -r -C "Story Architect application is the best writers friend" %{name} Office WordProcessor ProjectManagement cat >> %{buildroot}%{_datadir}/applications/%{name}.desktop <<-EOF MimeType=application/x-starc-project; EOF %post -n %{lcore} -p /sbin/ldconfig %postun -n %{lcore} -p /sbin/ldconfig %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 %dir %{_libdir}/%{name} %{_libdir}/%{name}/%{name} %dir %{_libdir}/%{name}/plugins %{_libdir}/%{name}/plugins/*.so #%%{_libdir}/%%{name}/plugins/libcomicbookinformationplugin.so #%%{_libdir}/%%{name}/plugins/libcomicbookparametersplugin.so #%%{_libdir}/%%{name}/plugins/libcomicbooktextplugin.so #%%{_libdir}/%%{name}/plugins/libcomicbooktextstructureplugin.so #%%{_libdir}/%%{name}/plugins/libcoreplugin.so #%%{_libdir}/%%{name}/plugins/libprojectinformationplugin.so #%%{_libdir}/%%{name}/plugins/libscreenplayinformationplugin.so #%%{_libdir}/%%{name}/plugins/libscreenplayparametersplugin.so #%%{_libdir}/%%{name}/plugins/libscreenplaytextplugin.so #%%{_libdir}/%%{name}/plugins/libscreenplaytextstructureplugin.so #%%{_libdir}/%%{name}/plugins/libsimpletextplugin.so #%%{_libdir}/%%{name}/plugins/libsimpletextstructureplugin.so #%%{_libdir}/%%{name}/plugins/libtitlepageplugin.so %license LICENSE %files -n %{lcore} %{_libdir}/libcorelib.so.* %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