Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
mylibrary
mylibrary.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mylibrary.spec of Package mylibrary
# # spec file for package mylibrary # # Copyright (c) 2023 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 ru.mail.bobilev_yury.MyLibrary Name: mylibrary Version: @SERVICE@ Release: 0 Summary: Home librarian License: GPL-3.0-or-later Group: Productivity/Office/Management URL: https://github.com/ProfessorNavigator/mylibrary Source: %{name}-%{version}.tar.xz BuildRequires: fdupes %if 0%{?suse_version} >= 1550 BuildRequires: gcc-c++ >= 10.2.1 %else BuildRequires: gcc10-c++ %endif BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(ddjvuapi) %if 0%{?suse_version} >= 1550 BuildRequires: pkgconfig(gmpxx) %else BuildRequires: gmp-devel %endif BuildRequires: pkgconfig(gtkmm-4.0) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libgcrypt) BuildRequires: pkgconfig(libzip) BuildRequires: pkgconfig(poppler-cpp) BuildRequires: update-desktop-files Recommends: %{name}-lang %description MyLibrary is a simple program for managing .fb2, .epub, .pdf and djvu e-book file collections. It can also works with same formats packed in zip archives itself or packed in zip archives with .fbd files (epub, djvu and pdf books). MyLibrary creates own database and does not change files content, names or location. %lang_package %prep %autosetup # ?invalid-desktopfile?, non-executable-script: #!/usr/bin/env xdg-open # https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html sed -i '/Version/s/1.5/1.0/' %{_name}.desktop # script-without-shebang: ru.mail.bobilev_yury.MyLibrary.desktop find -type f -perm /111 -iname '*mylibrary*' -exec chmod 0644 {} + %build %if 0%{?sle_version} >= 150500 export CXX=g++-10 %endif %meson \ --buildtype=release %meson_build %install %meson_install install -Dm 0644 COPYING -t %{buildroot}%{_datadir}/licenses/%{name}/ ln -sfn ../licenses/%{name}/COPYING %{buildroot}%{_datadir}/MyLibrary/COPYING %fdupes -s %{buildroot}%{_datadir} %find_lang %{name} --all-name %files %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %{_datadir}/MyLibrary %license COPYING %files lang -f %{name}.lang %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