Hello community,

here is the log from the commit of package spectator for openSUSE:Factory 
checked in at 2018-01-31 19:51:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spectator (Old)
 and      /work/SRC/openSUSE:Factory/.spectator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spectator"

Wed Jan 31 19:51:27 2018 rev:2 rq:571069 version:0.6+git74.9ef0de5

Changes:
--------
--- /work/SRC/openSUSE:Factory/spectator/spectator.changes      2016-01-12 
16:13:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.spectator.new/spectator.changes 2018-01-31 
19:51:28.742628502 +0100
@@ -1,0 +2,9 @@
+Tue Jan 30 12:37:10 UTC 2018 - [email protected]
+
+- Update to current git version and fix Factory build
+
+- Added library and devel subpackages
+
+- Changed version format to fit Joliet filesystem
+
+-------------------------------------------------------------------

Old:
----
  spectator-0.6~git.20151230.7a98b31.tar.xz

New:
----
  spectator-0.6+git74.9ef0de5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spectator.spec ++++++
--- /var/tmp/diff_new_pack.zhPbIc/_old  2018-01-31 19:51:29.310602091 +0100
+++ /var/tmp/diff_new_pack.zhPbIc/_new  2018-01-31 19:51:29.314601905 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spectator
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,34 +17,78 @@
 
 
 Name:           spectator
-Version:        0.6~git.20151230.7a98b31
+Version:        0.6+git74.9ef0de5
 Release:        0
-Summary:        System tray wich downloads and display info about Turris router
+Summary:        System tray that downloads and display info about the Turris 
router
 License:        GPL-3.0+
 Group:          Productivity/Networking/Other
 Url:            https://gitlab.labs.nic.cz/turris/spectator
 Source:         %{name}-%{version}.tar.xz
 BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  libqt5-qttranslations
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Network)
+BuildRequires:  pkgconfig(Qt5PrintSupport)
+BuildRequires:  pkgconfig(Qt5Widgets)
+BuildRequires:  pkgconfig(Qt5Xml)
 Requires:       openssl
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-Spectrator, systray tool for display various information about Turris router
-from CZ.nic
+Spectator, systray tool to display various informations about the
+Turris router from CZ.nic
+
+%package     -n libturris-spectator0
+Summary:        System tray that downloads and display info about the Turris 
router
+Group:          System/Libraries
+
+%description -n libturris-spectator0
+Spectator, systray tool to display various informations about the
+Turris router from CZ.nic
+
+%package     -n libturris-spectator-devel
+Summary:        Development files for libturris-spectator
+Group:          Development/Libraries/C and C++
+Requires:       libturris-spectator0 = %{version}
+
+%description -n libturris-spectator-devel
+The libturris-spectator-devel package contains libraries and header files for
+developing applications that use libturris-spectator.
 
 %prep
 %setup -q
+# old function fails with Qt 5.10
+sed -e 's/lessThan(/versionAtLeast(/' -e 's/QT_VERSION/QT_VERSION_STR/' \
+    -i spectator.pro
+# set proper destination path
+sed -e '/^target.path/s/lib/$${LIBDIR}/' -i library/library.pro
 
 %build
-%qmake5 PREFIX="%{_prefix}"
+%qmake5 PREFIX="%{_prefix}" LIBDIR="%{_lib}"
 %make_jobs
 
 %install
 %{qmake5_install}
 
+%post -n libturris-spectator0 -p /sbin/ldconfig
+
+%postun -n libturris-spectator0 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
 %doc CHANGELOG README.rst COPYING
-%{_bindir}/spectator
+%{_bindir}/turris-spectator
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%files -n libturris-spectator0
+%defattr(-,root,root)
+%{_libdir}/libturris-spectator.so.*
+
+%files -n libturris-spectator-devel
+%defattr(-,root,root)
+%{_includedir}/%{name}
+%{_libdir}/libturris-spectator.so
 
+%changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.zhPbIc/_old  2018-01-31 19:51:29.346600416 +0100
+++ /var/tmp/diff_new_pack.zhPbIc/_new  2018-01-31 19:51:29.346600416 +0100
@@ -6,7 +6,7 @@
     <param name="exclude">.git</param>
     <param name="filename">spectator</param>
     <param name="revision">master</param>
-    <param name="versionformat">0.6~git.%cd.%h</param>
+    <param name="versionformat">0.6+git@TAG_OFFSET@.%h</param>
 </service>
     <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>


Reply via email to