up to 4.24.2
OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=64
This commit is contained in:
commit
6aaa3a2b57
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
datovka-4.23.6.tar.xz
Normal file
3
datovka-4.23.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1be14aee689418d68f5f1cf3fc4d2440490370d8d514d6850f0ec7e0c32a76a
|
||||
size 3196460
|
1
datovka-4.23.6.tar.xz.sha256
Normal file
1
datovka-4.23.6.tar.xz.sha256
Normal file
@ -0,0 +1 @@
|
||||
e1be14aee689418d68f5f1cf3fc4d2440490370d8d514d6850f0ec7e0c32a76a
|
3
datovka-4.24.2.tar.xz
Normal file
3
datovka-4.24.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3556853c5703d6eff2784649d453d5b546b52918bd66157c79082b98df027d38
|
||||
size 3474324
|
1
datovka-4.24.2.tar.xz.sha256
Normal file
1
datovka-4.24.2.tar.xz.sha256
Normal file
@ -0,0 +1 @@
|
||||
3556853c5703d6eff2784649d453d5b546b52918bd66157c79082b98df027d38
|
58
datovka-fix-pro.patch
Normal file
58
datovka-fix-pro.patch
Normal file
@ -0,0 +1,58 @@
|
||||
---
|
||||
datovka.pro | 20 +++-----------------
|
||||
1 file changed, 3 insertions(+), 17 deletions(-)
|
||||
|
||||
--- a/datovka.pro
|
||||
+++ b/datovka.pro
|
||||
@@ -69,7 +69,6 @@ CONFIG += object_parallel_to_source
|
||||
|
||||
DEFINES += \
|
||||
ENABLE_TAGS=1 \
|
||||
- DEBUG=1 \
|
||||
VERSION=\\\"$${VERSION}\\\" \
|
||||
APP_NAME=\\\"$${APP_NAME}\\\" \
|
||||
APP_ORG_DOMAIN=\\\"cz.nic\\\" \
|
||||
@@ -123,11 +122,6 @@ unix:!macx {
|
||||
localisation.files += locale/datovka_cs.qm \
|
||||
locale/datovka_en.qm
|
||||
|
||||
- additional.path = "$${TEXT_FILES_INST_DIR}"
|
||||
- additional.files = \
|
||||
- AUTHORS \
|
||||
- COPYING
|
||||
-
|
||||
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
|
||||
PKGDATADIR=\\\"$$PKGDATADIR\\\" \
|
||||
LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \
|
||||
@@ -145,12 +139,11 @@ unix:!macx {
|
||||
icon64 \
|
||||
icon128 \
|
||||
icon256 \
|
||||
- localisation \
|
||||
- additional
|
||||
+ localisation
|
||||
}
|
||||
}
|
||||
|
||||
-QMAKE_CXXFLAGS = -g -O0
|
||||
+QMAKE_CXXFLAGS = $$(CXXFLAGS)
|
||||
isEqual(QT_MAJOR_VERSION, 5) {
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
}
|
||||
@@ -295,15 +288,8 @@ macx {
|
||||
locale/datovka_en.qm
|
||||
localisation.files += locale/qtbase_cs.qm
|
||||
|
||||
- additional.path = "Contents/Resources"
|
||||
- additional.files = \
|
||||
- AUTHORS \
|
||||
- COPYING \
|
||||
- ChangeLog
|
||||
-
|
||||
QMAKE_BUNDLE_DATA +=\
|
||||
- localisation \
|
||||
- additional
|
||||
+ localisation
|
||||
}
|
||||
|
||||
win32 {
|
802
datovka.changes
Normal file
802
datovka.changes
Normal file
@ -0,0 +1,802 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 05:42:23 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- update to 4.24.2:
|
||||
* Updated URLs to application-related web pages to point to new locations.
|
||||
* Added support for a new credit event type when credit is being charged for
|
||||
the recovering of a deleted message. This build requires libdatovka-0.7.0.
|
||||
* Added optional date-based message search restrictions.
|
||||
* Added sender and recipient data-box IDs into generated correspondence
|
||||
overviews.
|
||||
* Fixed sending e-gov requests that have been mistakenly sent as high-volume
|
||||
messages.
|
||||
* Fixed date sorting in found messages list.
|
||||
* Added new CLI commands 'export-msg', 'export-msgs', 'import-msg' and
|
||||
'import-msgs' allowing exporting and importing data from local databases.
|
||||
* Using same PDF format to export envelope and delivery info as in mobile
|
||||
application
|
||||
* Added four configurable tool bars into main window.
|
||||
* Top tool bars can be shown/hidden by the user.
|
||||
* Message list filter field in the main window is by default hidden and
|
||||
located below the message list.
|
||||
* Updated 'create new message' icon.
|
||||
* Always updating envelope for VoDZ messages when synchronising accounts.
|
||||
This should fix problems when attempting to download VoDZ messages using
|
||||
a message list that has been generated in old versions without VoDZ support.
|
||||
* Showing a warning label in create message dialogue when source text of PDF
|
||||
attachment has been modified after being attached or when not being
|
||||
attached at all.
|
||||
* Rewritten code for generating account, owner and user overviews. The code is
|
||||
now shared with the mobile application.
|
||||
* Increased default download timeout limit to 15 minutes because of VoDZ
|
||||
messages.
|
||||
* New message signature detail icon.
|
||||
* CLI interface automatically detects whether to send a normal or a VoDZ
|
||||
message.
|
||||
* Fixed occasional crashes which may have occurred on backups.
|
||||
* Users are occasionally notified about a donation possibility.
|
||||
* Added new button icons the send message dialogue. Added 'Add Text' button
|
||||
into the send message dialogue. Renamed some buttons in the create account
|
||||
and the send message dialogue.
|
||||
* The application sends basic environment and configuration stats.
|
||||
* Updated support mail to datovka@labs.nic.cz.
|
||||
* Added tool tips for create account dialogue labels.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 24 18:03:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.23.6:
|
||||
* Fixed MIME name detection of ZFO files consiting of a ZIP
|
||||
archive and which don't contain a data message nor a delivert info.
|
||||
* Fixed crashes of message detail dialogue when invalid ZFO
|
||||
content is attempted to be displayed.
|
||||
* Fixed some memory-related performance issues reported by
|
||||
Coverity.
|
||||
* Fixed blocked MEP login loop on newer macOS versions.
|
||||
* Fixed sending of ZIP archives in normal (non VoDZ) messages
|
||||
by explicitly setting their MIME type.
|
||||
* Lowered the limit for maximum attachment count to 50 files.
|
||||
* Extended the list of allowed attachment file types.
|
||||
* Showing total number of attached files in the send message
|
||||
dialogue.
|
||||
* Fixed restoration of databases without VoDZ content.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 22:08:01 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to 4.23.3:
|
||||
* Fixed drag&drop on attachment list in send message dialogue
|
||||
- 4.23.2:
|
||||
* Showing progress of attachment uploads and message sending in
|
||||
the send message dialogue
|
||||
* Fixed send message dialogue layout where the tab widget wasn't
|
||||
vertically expanding.
|
||||
* Fixed colours of some labels in the send message dialogue which
|
||||
have been illegible in dark mode.
|
||||
* Enabled sending of high-volume data messages
|
||||
- 4.23.1:
|
||||
* Fixed the CLI get-msg command when messages failed to download
|
||||
with freshly created databases.
|
||||
* Changed all references of the term 'account' in the UI into
|
||||
'data box'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 4 11:09:21 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.23.0
|
||||
* Added support for high-volume data messages. This build requires
|
||||
libdatovka-0.5.0.
|
||||
* Added support to store message and attachment data as separate files
|
||||
alongside the message database.
|
||||
* High-volume messages, attachments of those messages and delivery
|
||||
information are stored as separate files in order not to bloat the message
|
||||
database.
|
||||
* Remembering dialogue window sizes when they are changed by the user.
|
||||
* Remembering column widths in all tables.
|
||||
* Remember column index and sorting order in tables with enabled sorting.
|
||||
* Actions in tool bar in main window can be configured.
|
||||
* Extended the list of substitutable labels which can be used to generate file
|
||||
names when exporting files. Old labels have been replaced with new ones.
|
||||
Old labels are still functional but are not listed in the application.
|
||||
* Preference entries can be reset from the prefs dialogue.
|
||||
* Fixed bug in dark mode. Filter fields revert now to original colour when
|
||||
cleared.
|
||||
* Able to build Arm64 package for macOS.
|
||||
* Fixed a source of potential deadlocks. Signals from databases are emitted
|
||||
when lock are released.
|
||||
* Added support for new data-box types PFO_ARCH, PFO_AIAT and PFO_AZI.
|
||||
* Changed the layout of the about dialogue.
|
||||
- don't use bundled static QuaZip, use the system one instead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 06:39:49 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.22.1
|
||||
* Viewing number of recently unread messages in top node description when top
|
||||
node collapsed in account list. Also changed the icon for the top node.
|
||||
* Added support for new data-box type PFO_REQ.
|
||||
* User can specify which information he wants to disclose to the recipient
|
||||
about the sender.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 06:52:13 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.21.1
|
||||
* Fixed hanging send message windows when exiting the application having those
|
||||
windows open.
|
||||
* Fixed occasional application hangs when worker tasks have been collected on
|
||||
exit.
|
||||
* GUI application exits in a controlled manner when a POSIX signal is received
|
||||
on UNIX-like systems or when a system shutdown or user log-off event is
|
||||
detected on Windows.
|
||||
* CLI application handles POSIX signals and detects and handles Ctrl+C and
|
||||
Ctrl+Break key combinations in Windows command line.
|
||||
* Added date-based constraints when checking whether messages are stored in
|
||||
records management service.
|
||||
* Listed message data can be exported into a CSV file when checking whether
|
||||
messages are stored in records management service
|
||||
* Accepting backups with missing account identifier. The identifiers may be
|
||||
missing if some accounts have been created from local databases.
|
||||
* Recipient name '%R' can be used when constructing file names.
|
||||
* Reduced computational effort when switching between data messages. Digital
|
||||
signatures are not checked. Attachment data are loaded when attachments are
|
||||
required/selected.
|
||||
* Able to generate e-mails with user-specified content. ZFOs and attachments
|
||||
can be added into a single email.
|
||||
* ZFO attachments can be viewed directly in the application.
|
||||
* Automatic upload targets can be checked for all messages which aren't
|
||||
already uploaded into the records management service.
|
||||
* Fixed an error in the message download dialogue when the download loop
|
||||
hasn't been stopped when the dialogue has been rejected otherwise than using
|
||||
the Cancel button.
|
||||
* New tag database format. All stored data are converted to new format.
|
||||
* Fixed warnings about duplicated database connections.
|
||||
* Weakened some recoverable error statements.
|
||||
* Fixed inability to check the signature of downloaded psrootqca4.crl file.
|
||||
Added PostSignum Qualified CA 5 certificate.
|
||||
* Allowing modification of account settings for existing accounts with
|
||||
incomplete login credentials.
|
||||
* Fixed error when account data have not been downloaded on subsequent
|
||||
account removing and adding.
|
||||
* Checking libcrypto and libdatovka presence during qmake phase when
|
||||
compiling on UNIX-like systems (excluding OS X/macOS).
|
||||
* Improved error and warning messages in preferences database code.
|
||||
* Able to import account data from the mobile application via a backup or
|
||||
transfer archive.
|
||||
* Able to download messages from ISDS via command line when the envelope
|
||||
hasn't been downloaded yet.
|
||||
* Added a tag client for the tag server under development.
|
||||
The tag client must be enabled in the preferences.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 3 06:54:31 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.20.0
|
||||
* Fixed a mistake when adding prefixes to multi-line log entries.
|
||||
* Enhanced code for handling JSON data.
|
||||
* Rewritten JSON classes for communication with the records management service.
|
||||
* Able to create a short PDF attachment directly in the application. Only a
|
||||
single file can be created whose file name is fixed.
|
||||
* Modified communication sequence with records management server when
|
||||
automatically uploading newly downloaded messages according to matching
|
||||
identifiers. Upload hierarchy is queried only once.
|
||||
* Fixed a problem when automatic upload into records management might cause
|
||||
the application to crash.
|
||||
* Fixed a communication problem when message automatically uploaded into
|
||||
records management haven't been displayed in message listing as uploaded.
|
||||
* Using c++17 compiler flag when compiling with Qt-6.
|
||||
- Update datovka-fix-pro.patch: c++17 for qt6 is fixed above
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 06:50:56 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.19.0
|
||||
* Stored message envelope is updated when the type of a commercial message
|
||||
changes (e.g. when consuming the prepaid answer).
|
||||
* The application is downloading information about the state of the long term
|
||||
storage. This build requires libdatovka-0.2.1.
|
||||
* Messages which are going to be deleted from ISDS can be displayed using a
|
||||
user-specified colour.
|
||||
* Fixed a memory leak occurring while initialising the application.
|
||||
* Fixed compilation when using GCC 11.
|
||||
* Modified sources to compile with Qt-6.1 and Qt-6.2. Qt-6.0 still causes
|
||||
compilation issues. (Qt-6.0 should be fixed instead.)
|
||||
* Fixed a bug in a conversion function causing struct tm to Epoch time
|
||||
conversion errors when converted value fits within an interval limited by
|
||||
midnight and the time zone difference.
|
||||
* Suppressed notification dialogues when uploading into records management
|
||||
service as too many of them were generated occasionally.
|
||||
- switch to Qt6 on Tumbleweed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 06:35:45 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.18.0
|
||||
* Changes to behaviour of the tag database object. The container emits
|
||||
signals when content changes. Application code catches these signals and
|
||||
updates the displayed data.
|
||||
* Enabling foreign key functionality when opening tag database.
|
||||
* Fixed problems with non-functional move assignments causing unnecessary
|
||||
memory copying in some occasions.
|
||||
* Using a single transaction to write data of a completely downloaded message
|
||||
into the database.
|
||||
* Fixed error when deleting entries from account database when removing
|
||||
an account.
|
||||
* Optimisations in database code.
|
||||
* Manually downloaded messages are checked for their identifiers and may be
|
||||
uploaded into records management service if a records management service is
|
||||
configured and if the message content has not been already downloaded. The
|
||||
dialogues notifying the user when the upload finishes are non-modal.
|
||||
* Able to query information about the sending of PDZs.
|
||||
* Password can be shown when creating a new account without entering the PIN.
|
||||
* When there are multiple choices how to pay for a commercial message when
|
||||
sending one then the user has the possibility to select the preferred way
|
||||
of payment if it is possible.
|
||||
* This build requires libdatovka-0.2.0 because of the modified structures for
|
||||
holding time values and because of the newly added functionality.
|
||||
* Fixed wrong mime type identification then sending ISDOC attachments.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 23 09:15:53 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.17.0
|
||||
* Lists of received or sent messages of a selected account can be synchronised
|
||||
separately.
|
||||
* For better understanding rephrased the notification in cases then no public
|
||||
nor a commercial data message can de sent to target data box.
|
||||
* Downloads of multiple messages are aggregated into one dialogue when these
|
||||
download have been triggered from the main window.
|
||||
* Changes of some content of the message databases (statuses, downloaded
|
||||
attachments, message deletion) are signalled via the database containers.
|
||||
* Added support for new data-box types PFO_ZNALEC and PFO_TLUMOCNIK.
|
||||
* Added delivery time and attachment downloaded fields to found message
|
||||
entries in search message dialogue. Found entries also can be filtered and
|
||||
sorted.
|
||||
* User can download data messages directly form the search message dialogue.
|
||||
* Selected messages in the search message dialogue can be exported or can be
|
||||
attached to an e-mail.
|
||||
* Unified std namespace resolution in C++ code.
|
||||
* This build requires libdatovka-0.1.2 because of the newly added data-box
|
||||
types.
|
||||
* The action 'Save all attachments' can be called in multiple selected
|
||||
messages at once. Attachment files are renamed when they have same or
|
||||
conflicting names within a single data message. Written files are
|
||||
not renamed if they conflict between messages or already existing files
|
||||
in the directory where the files are written to.
|
||||
* Increased the verbosity of logged entries when determining automatic upload
|
||||
targets for the records management service.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 10:25:01 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 4.16.0
|
||||
* Using libdatovka instead of libisds. Libdatovka is a fork of libisds and
|
||||
contains functionality which libisds still does not implement and which is
|
||||
needed by the application.
|
||||
* Added the possibility to manage data-box users which is similar to the
|
||||
functionality offered by the ISDS web interface.
|
||||
* Fixed sorting of Czech strings in table views when using Czech
|
||||
localisation.
|
||||
* Fixed application crashes on repeated full-text data-box searches.
|
||||
* Fixed navigation in table views in backup and restoration dialogue.
|
||||
* Added support for the EV6 event.
|
||||
* Improved tab order in send message window.
|
||||
* Added PostSignum Qualified CA 4 certificate.
|
||||
* Fixed a problem with shadow synchronisation after which a blank account name
|
||||
was sent in the records management report.
|
||||
* The notification dialogue informing the user about sending a postal data
|
||||
message can be disabled.
|
||||
* Added a short timeout before the immediate download of a freshly sent
|
||||
message.
|
||||
* Fixed error in ISDS type conversion code - invalid type string values have
|
||||
been fixed. Database-related incompatible code has been removed from code
|
||||
shared with mobile application.
|
||||
* Able to add contacts without name or address into recipient list when
|
||||
creating a message.
|
||||
* Fixed an error in remembering directory path when opening and viewing ZFO
|
||||
files from file system immediately after application start.
|
||||
* Replaced the 'Mark All as Read' action with 'Mark All Received as' sub-menu
|
||||
in the 'Data Box' menu of the top menu bar.
|
||||
* Renamed 'Authenticate Message' to 'Verify Message' in the 'Message' menu
|
||||
because it reflects better the performed operation.
|
||||
* Account and message selection status is kept in a separate structure. It is
|
||||
used to simplify the code for various actions in the main window.
|
||||
* Code responsible for enabling actions in the main window has been gathered
|
||||
into one method.
|
||||
* Improved GUI responsiveness when downloading message lists with complete
|
||||
new messages.
|
||||
* Suspending the worker pool does not affect tasks run via runSingle().
|
||||
* Added user_account_name field into upload_account_status structure. Sending
|
||||
account name in order to make account identification in the records
|
||||
management service a bit easier.
|
||||
* Fixed compilation with Qt-5.15.0. Replaced most of deprecated code with
|
||||
available modern alternatives.
|
||||
* Replaced datovka.appdata.xml with datovka.metainfo.xml.
|
||||
- remove (fixed upstream)
|
||||
0001-Fixed-compilation-using-Qt-5.15.0.patch
|
||||
0001-avoid-using-deprecated-qs-rand.patch
|
||||
0001-gui-datovka-annotate-fall-through-cases.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 5 07:25:55 UTC 2020 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- add
|
||||
0001-avoid-using-deprecated-qs-rand.patch
|
||||
0001-gui-datovka-annotate-fall-through-cases.patch
|
||||
0001-Fixed-compilation-using-Qt-5.15.0.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 07:09:54 UTC 2020 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- Update to 4.15.0
|
||||
* Added support for shadow accounts (i.e. accounts without database).
|
||||
* Shadow accounts which don't cause message acceptance can be used to
|
||||
automatically download message lists.
|
||||
* Data-box contact lists can be sorted.
|
||||
* Fixed failing tests when no ISDS login credentials are supplied.
|
||||
* Using 'identification number' (IČO) instead of 'subject ID' (IČ).
|
||||
* Displaying leading zeros in identification numbers in account info page.
|
||||
* Windows application can be compiled and bundled with OpenSSL-1.1.1. Actual
|
||||
version of OpenSSL is determined by the version of the used Qt libraries.
|
||||
* Modified code about which the compiler has been giving deprecation warnings
|
||||
when compiling with Qt-5.14.
|
||||
* Implemented the upload_account_status records management service. The
|
||||
service sends brief reports about the account status containing summaries
|
||||
about the number of messages in different states in the data box. The
|
||||
summaries are generated when a records management service is used.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 12:34:08 UTC 2019 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- Update to 4.14.1
|
||||
* Able to log from command line into an account that user a MEP login
|
||||
procedure.
|
||||
* Able to verify qualified time stamps in a new format which is used in
|
||||
the testing environment since the end of August 2019 and is going to be used
|
||||
in the production environment.
|
||||
* Allowing *.pfx files for login certificates.
|
||||
* Sharing account credentials code with mobile application.
|
||||
* Fixed a problem with non-functional account deletion in Qt-5.10 and later.
|
||||
* Using username together with testing flag to internally identify accounts.
|
||||
* Added MEP (mobile key) login procedure, libisds-0.11 is required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 07:13:58 UTC 2019 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- Update to 4.13.1
|
||||
* Fixes crashes during account synchronization.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 17 10:18:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 4.13.0 bsc#1104620:
|
||||
* Account renaming now possible
|
||||
* Special format downloading now alloved to "spisova sluzba"
|
||||
- Rebase patch datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 11:38:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 4.12.0 bsc#1104620:
|
||||
* Bigger attachments allowed (50MB)
|
||||
* HiDPI icons
|
||||
* Minor fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 23 08:12:36 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Use %license macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 08:17:12 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Version update to 4.11.0:
|
||||
* Few feature enhancements in mesage composing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 17 12:06:37 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update datovka-fix-pro.patch to contain fix for Leap 42.3 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 07:02:51 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update to 4.10.3 bsc#1104620:
|
||||
* Added classes based on Qt types encapsulating various ISDS data types and
|
||||
structures. Sharing this code with mobile application.
|
||||
* Added per-account locking of communication contexts.
|
||||
* Modified database interface to accommodate new data types.
|
||||
* Explicitly specifying tab order for most windows and dialogues. It is also
|
||||
possible (on Windows and Linux) to cycle through actions in top tool bar.
|
||||
* Asking users for confirmation before deleting tags which are still assigned
|
||||
to some messages.
|
||||
* Added tooltip description of message state value in sent message list.
|
||||
* Added button to view account password when editing account credentials and
|
||||
PIN (master password) is enabled.
|
||||
* Added DigiCert Global Root G2 certificate.
|
||||
* Improved keyboard-based control of main and other dialogue windows. All
|
||||
important elements should be navigable only by keyboard (on Windows and
|
||||
Linux).
|
||||
* Fixed a problem with wrong conversion of obtained ISDS error statuses into
|
||||
readable text. This may have caused the programme to crash.
|
||||
* Fixed scaling of some icon-based control elements when using enlarged fonts
|
||||
on Windows.
|
||||
* Fixed message list sorting and filtering according to assigned tags.
|
||||
* Displaying busy cursor when switching between entries in account list.
|
||||
* New version notification can be blocked on Windows in runtime by setting
|
||||
specific registry values. It can also be blocked at compile time
|
||||
by using a configuration option when running qmake.
|
||||
* Extended resource information for the generated Windows executable.
|
||||
* Fixed project file include paths in order not to interfere with user-defined
|
||||
compiler flags.
|
||||
* Fixed problem with unpredictable construction order of global object
|
||||
instances.
|
||||
* Added missing conversion strings to some unknown message types.
|
||||
* Fixed issue causing the application to crash on macOS when switching
|
||||
between accounts and when having some text in the message filter field.
|
||||
* Fixed issue causing the application to crash on macOS when updating
|
||||
information about messages without a valid delivery time.
|
||||
* Re-enabled logging of transferred message on Windows data when setting
|
||||
debug verbosity to 3.
|
||||
* Code shared with mobile application has been placed into separate
|
||||
directory.
|
||||
- Rebase patch datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 18:09:12 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update to 4.10.1:
|
||||
* Few small fixes
|
||||
* MSI installer tweaks
|
||||
- Refresh patch datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 1 10:20:26 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.10.0:
|
||||
* Can now encrypt passwords via master password
|
||||
* Better support for screen readers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 22 13:23:32 UTC 2017 - jslaby@suse.com
|
||||
|
||||
- Update Version update to 4.9.3
|
||||
* Fixed a problem when message list was not updated after account
|
||||
synchronisation when a message was selected.
|
||||
* Fixed a bug when database location may have been saved even though the
|
||||
databases reside in default location. This problem was visible especially
|
||||
on Windows.
|
||||
|
||||
- Update Version update to 4.9.2
|
||||
* Changed tag dialogue to contain two views when editing tag assignment.
|
||||
* Using the prefix 'ODZ_' for sent and 'DDZ_' for received data messages
|
||||
when uploading them into records management service.
|
||||
* Default documentation location can be changed when running qmake using the
|
||||
TEXT_FILES_INST_DIR variable.
|
||||
* Full-text data-box search does not block the search dialogue.
|
||||
* Full-text data-box search can be interrupted and restarted again without
|
||||
closing the dialogue.
|
||||
* Separated core and GUI code. Removed models from database interface.
|
||||
* Added new CLI option '--get-msg-ids'.
|
||||
* Command-line application without GUI can be built separately. This
|
||||
executable is going to be distributed in Windows packages together with
|
||||
the GUI application.
|
||||
|
||||
- Update Version update to 4.9.1
|
||||
* Added experimental support for new data-box and user types that are going
|
||||
to be introduced into the ISDS production environment and which are
|
||||
already present in the ISDS testing environment.
|
||||
Version 0.10.7 of libisds is required to build the application.
|
||||
* Updated building scripts for the Windows application to automatically pull
|
||||
Qt dependencies into the package.
|
||||
* Fixed issue when records management data have not been erased from message
|
||||
model after the service has been deactivated.
|
||||
* Fixed issues with records management logo not being displayed in message
|
||||
list immediately after the service has been set up.
|
||||
* Alphabetically sorting nodes of records management hierarchy.
|
||||
* Sub-nodes of matching element are also displayed when filtering hierarchy
|
||||
of records management service.
|
||||
* Removed inactive mojeid-datovka code from the sources.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 12:32:51 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Remove odd backslashes from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 11:21:13 UTC 2017 - jslaby@suse.com
|
||||
|
||||
- Version update to 4.9.0:
|
||||
* Added API and support for sending messages into records management
|
||||
services.
|
||||
* Removed explicit clear buttons from filter fields.
|
||||
* Fixed problems with remembering location of saved attachment files.
|
||||
* Directory structure can be created when exporting correspondence overview.
|
||||
* Line height of account list and message table has been adjusted to be the
|
||||
same.
|
||||
* Fixed confusion between the terms of delivery (dodani) and acceptance
|
||||
(doruceni) in Czech localisation.
|
||||
* Process of exporting multiple selected messages can be aborted by clicking
|
||||
Cancel button.
|
||||
* Tags can be stored into HTML correspondence overview.
|
||||
* HTML correspondence overview now contains both delivery and acceptance
|
||||
times.
|
||||
* Fixed problems with sending messages from accounts that cannot search for
|
||||
data boxes.
|
||||
* Fixed tag ordering. Tag sorting is now locale-aware.
|
||||
- disable -Wdate-time -- unrecognized e.g. with gcc 4.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 07:31:09 UTC 2017 - jslaby@suse.com
|
||||
|
||||
- Version update to 4.8.1:
|
||||
* Fixed problem with disappearing splitters on application start.
|
||||
- add checksum to sources, so that OBS can check consistency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 13:19:38 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.8.0:
|
||||
* Added full-text data box search which is now the default method to search
|
||||
for data boxes.
|
||||
* Fixed problems with placing the main application window when starting the
|
||||
application on a smaller screen than it has been closed before.
|
||||
* Refactoring of code related to message imports and exports.
|
||||
* Reduced the amount of code in main application window.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 10:36:31 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Drop dejavu dependency as it is now using fontconfig and not hardcoded
|
||||
paths in the code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 8 13:19:45 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Fix license to be GPL-3.0+ as per COPYING file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 16:17:11 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use qmake macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 10:10:37 UTC 2017 - jslaby@suse.com
|
||||
|
||||
- Version update to 4.7.1:
|
||||
* User is notified about existent files when storing all attachments.
|
||||
* Added forward message action.
|
||||
* Fixed problem in which the main window was placed slightly off-screen when
|
||||
run for the first time.
|
||||
* When composing messages, attachment files can be rearranged using drag and
|
||||
drop actions.
|
||||
* Fixed bug. Message model is updated after tags have been edited.
|
||||
* Fixes errors in application localisation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 19 20:43:02 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.7.0:
|
||||
* openssl 1.1.0 support
|
||||
* Various small fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 08:22:08 UTC 2016 - jslaby@suse.com
|
||||
|
||||
- Version update to 4.6.1:
|
||||
* Message envelope can be exported to a PDF file along with other message
|
||||
attachments.
|
||||
* Fixed issue when the sending of a new message lasted too long. In such case
|
||||
the application could occasionally crash.
|
||||
* Patched bundled libisds to fix wrong sender identification. This fix
|
||||
affects only Windows and OS X users. Linux users should update to latest
|
||||
libisds version (0.10.4).
|
||||
* Fixed version string shown in notification dialogue.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 14 12:18:01 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.6.0:
|
||||
* Added support for tags. These can be locally assigned to the messages.
|
||||
* Message information are shown in separate window when double-clicking the
|
||||
message in message list or when hitting the Return/Enter key.
|
||||
* When composing a message, the recipient can be added to the recipient list
|
||||
by double clicking it in the recently-used recipient list.
|
||||
* Information about personal delivery are shown in message description field.
|
||||
* Fixed problem where account entry has not been updated after message
|
||||
deletion.
|
||||
* Fixed encoding issue when exporting correspondence overview in HTML.
|
||||
* Fixed a bug causing the create message button not to activate when first
|
||||
account was created.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 1 09:20:07 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to 4.5.3
|
||||
* Fixed problems with HOTP authorisation on Windows. There have
|
||||
been problems with the bundled libisds. MinGW does not handle
|
||||
POSIX extensions of printf formatting strings properly. Patch
|
||||
for libisds has been added.
|
||||
* Fixed a non-working PRAGMA statement when asking for a database
|
||||
integrity check.
|
||||
* The --version command-line argument now also prints the version
|
||||
of libraries which Datovka depends on.
|
||||
* Automatic background downloads didn't cause the deactivation of
|
||||
download buttons that could still be triggered. Triggering those
|
||||
buttons in this situation could cause the application to crash.
|
||||
* Adding new account caused the account tree to collapse. This has
|
||||
been fixed.
|
||||
- Changes for 4.5.2
|
||||
* NLS of bundled libisds (OS X, Windows) has been disabled.
|
||||
* The logging of libisds actions has been restricted on Windows
|
||||
because there are discrepancies from standard-defined behaviour
|
||||
of some functions on Windows.
|
||||
* Improved behaviour when message download fails. The error
|
||||
dialogue is only shown when an explicit message download fails.
|
||||
* A message in the notification area appears when the download
|
||||
has been triggered by downloading message list. This should
|
||||
reduce the amount of error dialogues generated.
|
||||
* Improved behaviour when downloading messages on accounts with
|
||||
restricted privileges. Received messages are not automatically
|
||||
downloaded when the user has no privileges to do that.
|
||||
- Changes for 4.5.1
|
||||
* Fixed bug in action logging causing the application to crash
|
||||
occasionally.
|
||||
* Fixed bug where message line was not deleted when deleting from
|
||||
ISDS failed.
|
||||
* New account model internals.
|
||||
- Build with optflags
|
||||
- Use macros for desktop file and icon handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 18:29:42 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.5.0:
|
||||
* various backend updates
|
||||
* various bugs fixed
|
||||
* qt 5.3 required now
|
||||
- Rebase patch:
|
||||
* datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 5 09:30:36 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.4.3:
|
||||
* Various bugfixes. See ChangeLog file
|
||||
* Fixed broken expired password swap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 12:31:58 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version update to 4.4.0:
|
||||
* Various bugfixes all around. See ChangeLog file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 5 07:11:33 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump 4.3.1:
|
||||
* Few small bugfixes see ChangeLog for details
|
||||
- Refresh patch datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 10:11:36 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 4.3.0:
|
||||
* No obvious changelog apart from mentioning bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 17:02:09 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 4.2.0:
|
||||
* Various bugfixes
|
||||
* Resending messages/etc
|
||||
- Obsoleted patch:
|
||||
* 0001-no-check-new-versions.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 12:44:21 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 4.1.2:
|
||||
* Various bugfixes
|
||||
- Add patch to not ask about new version availabilty:
|
||||
* 0001-no-check-new-versions.patch
|
||||
- Refreshed patch:
|
||||
* datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 2 13:50:12 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 4.1:
|
||||
* Complete rewrite under qt5
|
||||
* Should provide same usability, reffer to homepage for more info
|
||||
- Various cleanups
|
||||
- Add patch to fix building with respecting cflags/etc:
|
||||
* datovka-fix-pro.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 14:30:05 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 3.1:
|
||||
* Detect better file suffixes
|
||||
* work with sqlalchemy 0.9
|
||||
- Cleanup with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 10:50:44 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Require python-setuptools instead of distribute (upstreams merged)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 13:44:15 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Format spec file was run and it was not changelogged.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 25 20:26:33 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Upstream moves the tarball all around, just not track it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 15:14:51 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Forgot to own datadir.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 14:20:44 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Sort out desktop file for SLE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 14:09:36 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Fix various rpmlint warnings to make it happy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 13:02:10 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Add build_root and python stuff to theoretically build on sle.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 23 10:56:08 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Add more runtime deps to be on safe side here.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 21 11:11:02 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Fix download url as upstream decided to move it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 16:58:20 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Add py_requires macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 11:54:38 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 3.0.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 20 14:11:11 UTC 2012 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 3.0.2. Raise dslib dep. Remove dejavu hack.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 09:41:51 UTC 2012 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 2.1.1. Raise dslib dep.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 26 11:02:15 UTC 2012 - tchvatal@suse.com
|
||||
|
||||
- Bump to version 2.0.2. Depend on newer python-dslib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 07 12:31:20 UTC 2011 - tchvatal@suse.com
|
||||
|
||||
- Remove _service, clean phase, add some docs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 06 14:30:30 UTC 2011 - tchvatal@suse.com
|
||||
|
||||
- Initial commit of datovka.
|
134
datovka.spec
Normal file
134
datovka.spec
Normal file
@ -0,0 +1,134 @@
|
||||
#
|
||||
# spec file for package datovka
|
||||
#
|
||||
# Copyright (c) 2024 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/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%define qt_version 6
|
||||
%define qt_version_full 6.2.0
|
||||
%define lrelease lrelease6
|
||||
%else
|
||||
%define qt_version 5
|
||||
%define qt_version_full 5.4.1
|
||||
%define lrelease lrelease-qt5
|
||||
%endif
|
||||
Name: datovka
|
||||
Version: 4.24.2
|
||||
Release: 0
|
||||
Summary: Library to access Czech eGov system "Datove schranky"
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://www.datovka.cz
|
||||
Source0: https://datovka.nic.cz/%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://datovka.nic.cz/%{version}/%{name}-%{version}.tar.xz.sha256
|
||||
# PATCH-FIX-UPSTREAM: remove some issues with current .pro file
|
||||
Patch0: datovka-fix-pro.patch
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(Qt%{qt_version}Core) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}Gui) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}Network) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}PrintSupport) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}Sql) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}Svg) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}WebSockets) >= %{qt_version_full}
|
||||
BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{qt_version_full}
|
||||
BuildRequires: cmake(QuaZip-Qt%{qt_version})
|
||||
BuildRequires: pkgconfig(libdatovka) >= 0.6.0
|
||||
Recommends: %{name}-lang
|
||||
# Included inside with different approach
|
||||
Obsoletes: python-dslib
|
||||
%if 0%{qt_version} == 6
|
||||
BuildRequires: qt6-tools-linguist
|
||||
%else
|
||||
BuildRequires: libqt5-linguist
|
||||
%endif
|
||||
%if 0%{qt_version} == 6
|
||||
BuildRequires: cmake(Qt6Core5Compat) >= %{qt_version_full}
|
||||
Requires: qt6-sql-sqlite
|
||||
%else
|
||||
Requires: libqt5-sql-sqlite
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1330
|
||||
Requires(post): hicolor-icon-theme
|
||||
Requires(post): update-desktop-files
|
||||
Requires(postun): hicolor-icon-theme
|
||||
Requires(postun): update-desktop-files
|
||||
%endif
|
||||
|
||||
%description
|
||||
A library for accessing ISDS (Informační system datovych schranek/
|
||||
Data Box Information System) SOAP services as defined in Czech ISDS Act
|
||||
(300/2008 Coll.) and implied documents.
|
||||
|
||||
%{?lang_package}
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
sed -i \
|
||||
-e 's:lrelease:%{lrelease}:g' \
|
||||
%{name}.pro
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
%{lrelease} datovka.pro
|
||||
%if 0%{qt_version} == 6
|
||||
%{qmake6} PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
|
||||
%{qmake6_build}
|
||||
%else
|
||||
%qmake5 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
|
||||
%make_jobs
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{qt_version} == 6
|
||||
%{qmake6_install}
|
||||
%else
|
||||
%qmake5_install
|
||||
%endif
|
||||
|
||||
# fix desktop file
|
||||
sed -i \
|
||||
-e 's:Office;:Office;Network;Email;:g' \
|
||||
%{buildroot}%{_datadir}/applications/datovka.desktop
|
||||
rm -rf %{buildroot}%{_datadir}/datovka/doc
|
||||
|
||||
%if 0%{?suse_version} < 1330
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog
|
||||
%{_bindir}/datovka
|
||||
%{_datadir}/applications/datovka.desktop
|
||||
%dir %{_datadir}/metainfo
|
||||
%{_datadir}/metainfo/datovka.metainfo.xml
|
||||
%dir %{_datadir}/datovka
|
||||
%dir %{_datadir}/datovka/localisations/
|
||||
%{_datadir}/datovka/localisations/datovka_cs.qm
|
||||
%{_datadir}/datovka/localisations/datovka_en.qm
|
||||
%dir %{_datadir}/icons/hicolor/
|
||||
%{_datadir}/icons/hicolor/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user