Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:CZ-NIC:datovka-devel
datovka
datovka.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File datovka.spec of Package datovka
Name: datovka Version: 4.23.7 Release: 1%{?dist} Summary: A free graphical interface for Czech Databox (Datové schránky) # See # https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto # for variable reference. # osc buildconfig ... License: GPLv3+ with exceptions URL: https://www.datovka.cz/ #Source0: https://secure.nic.cz/files/datove_schranky/%%{version}/datovka-%%{version}.tar.xz Source0: datovka_%{version}.orig.tar.xz %if 0%{?rhel} # gcc in Centos 7 does not understand the -Wdate-time parameter Patch0: 0002-Disable-Wdate-time-to-fix-FTBFS-with-older-gcc.patch %endif BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: libdatovka-devel >= 0.6.0 BuildRequires: openssl-devel %if "x%{?rhel}" == "x" BuildRequires: pkgconf-pkg-config %endif %if "x%{?rhel}" == "x" BuildRequires: pkgconfig %endif BuildRequires: sed BuildRequires: zlib-devel %if 0%{?fedora_version} >= 36 BuildRequires: qt6-linguist # qt6-qtbase provides SQLite driver BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtsvg-devel BuildRequires: qt6-qttools-devel Requires: qt6-qttranslations BuildRequires: qt6-qtwebsockets-devel %if 0%{?fedora_version} >= 37 # Build with external QuaZip BuildRequires: quazip-qt6-devel %else # Builtin QuaZip requires core5compat module BuildRequires: qt6-qt5compat-devel %endif %else BuildRequires: qt5-linguist # qt5-qtbase provides SQLite driver BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qttools-devel Requires: qt5-qttranslations BuildRequires: qt5-qtwebsockets-devel %if 0%{?fedora_version} >= 35 # Build with external QuaZip BuildRequires: quazip-qt5-devel %endif %endif %description GUI application allowing access to Czech Databox - an electronic communication interface endorsed by the Czech government. %prep %setup -q %if 0%{?rhel} %patch0 -p1 %endif %build %if 0%{?fedora_version} >= 36 lrelease-qt6 datovka.pro %{qmake_qt6} PREFIX=%{_prefix} DISABLE_VERSION_NOTIFICATION=1 %else lrelease-qt5 datovka.pro %{qmake_qt5} PREFIX=%{_prefix} DISABLE_VERSION_NOTIFICATION=1 %endif make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} make install INSTALL_ROOT=%{buildroot} %find_lang %{name} --with-qt desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop #%%post #/bin/touch --no-create %%{_datadir}/icons/hicolor &>/dev/null || : #%%postun #if [ $1 -eq 0 ] ; then # /bin/touch --no-create %%{_datadir}/icons/hicolor &>/dev/null # /usr/bin/gtk-update-icon-cache %%{_datadir}/icons/hicolor &>/dev/null || : #fi #%%posttrans #/usr/bin/gtk-update-icon-cache %%{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %if "x%{?rhel}" == "x" %doc %{_pkgdocdir} %endif %if 0%{?rhel} %doc %{_docdir}/%{name} %endif %{_bindir}/datovka %{_datadir}/applications/datovka.desktop %{_datadir}/metainfo/datovka.metainfo.xml %{_datadir}/icons/hicolor/*/apps/datovka.png %changelog * Thu Mar 29 2018 Karel Slany <karel.slany@nic.cz> - 4.10.2-1 - see NEWS or https://www.datovka.cz/ - moved spec file to OBS
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