commit dzen2 for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package dzen2 for openSUSE:Factory checked 
in at 2018-09-26 14:24:03

Comparing /work/SRC/openSUSE:Factory/dzen2 (Old)
 and  /work/SRC/openSUSE:Factory/.dzen2.new (New)


Package is "dzen2"

Wed Sep 26 14:24:03 2018 rev:7 rq:638262 version:1379930259.488ab66

Changes:

--- /work/SRC/openSUSE:Factory/dzen2/dzen2.changes  2018-03-22 
12:10:11.782750009 +0100
+++ /work/SRC/openSUSE:Factory/.dzen2.new/dzen2.changes 2018-09-26 
14:24:30.265818493 +0200
@@ -1,0 +2,27 @@
+Mon Sep 17 21:15:35 UTC 2018 - p.sei...@linuxmail.org
+
+- updated url of project
+
+---
+Mon Sep 17 21:10:44 UTC 2018 - p.sei...@linuxmail.org
+
+- generate tar.gz only on buildtime and obscpio locally
+
+---
+Mon Sep 17 18:27:12 UTC 2018 - p.sei...@linuxmail.org
+
+- another fix in _service file
+
+---
+Mon Sep 17 17:49:24 UTC 2018 - p.sei...@linuxmail.org
+
+- fixed error in _service file (obs_scm had localonly parameter)
+
+---
+Mon Sep 17 17:41:26 UTC 2018 - p.sei...@linuxmail.org
+
+- changed service to use obs_scm instead of tar_scm
+- compiled dzen2 gadgets request by
+  https://bugzilla.novell.com/show_bug.cgi?id=1105238
+
+---

Old:

  dzen-1332069163.tar.bz2

New:

  dzen2-1379930259.488ab66.obscpio
  dzen2.obsinfo



Other differences:
--
++ dzen2.spec ++
--- /var/tmp/diff_new_pack.UaLD6B/_old  2018-09-26 14:24:31.157817076 +0200
+++ /var/tmp/diff_new_pack.UaLD6B/_new  2018-09-26 14:24:31.157817076 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package 
+# spec file for package dzen2
 #
-# Copyright (c) 2012 SUSE LINUX Products 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
@@ -12,51 +12,68 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define _name dzen
 
+%define _name dzen
 Name:   dzen2
-Version: 1332069163
+Version:1379930259.488ab66
 Release: 0
-License:MIT
 Summary:A general purpose messaging and notification program 
-Url:http://sites.google.com/site/gotmor/dzen
+License:MIT
 Group:  System/GUI/Other
-Source0:%{_name}-%{version}.tar.bz2
-
+URL:http://robm.github.io/dzen/
+Source0:%{name}-%{version}.tar.gz
 ### Manpages extracted from debian package and included here
 ### URL: 
http://ftp.us.debian.org/debian/pool/main/d/dzen2/dzen2_0.8.5-4_armel.deb
 ### *.deb Exctract: ar -x dzen2_0.8.5-4_armel.deb
 Source1:%{name}_man.tar.bz2
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xft)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Dezen is a general purpose messaging, notification and menuing program for 
X11. It was designed to be scriptable in any language and integrate well with 
window managers like dwm, wmii and xmonad though it will work with any 
windowmanger.
+
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q
 
 %build
-sed -i '/^CFLAGS/ s/$/ %optflags/' config.mk
+sed -i '/^CFLAGS/ s/$/ %{optflags}/' config.mk
+sed -i '/^CFLAGS/ s/$/ %{optflags}/' gadgets/config.mk
 sed -i 's@strip@true@g' Makefile
+sed -i 's@strip@true@g' gadgets/Makefile
+
 make %{?_smp_mflags}
+cd gadgets
+make %{?_smp_mflags}
+cd -
 
 %install
-%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+%make_install PREFIX=%{_prefix}
+
 mkdir -p %{buildroot}%{_mandir}/man1
-%{__tar} -jxf %{SOURCE1} -C %{buildroot}%{_mandir}/man1
+tar -jxf %{SOURCE1} -C %{buildroot}%{_mandir}/man1
 
-#%%post
+cd gadgets
+%make_install PREFIX=%{_prefix}
 
-#%%postun
+cd -
+cd %{buildroot}%{_bindir}
+for i in {dbar,gcpubar,gdbar,textwidth};
+do
+  mv ${i} %{name}-${i};
+done
 
 %files
-%defattr(-,root,root)
-%doc CREDITS README LICENSE
+%license LICENSE
+%doc CREDITS README
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}*gz
+%{_bindir}/%{name}-dbar
+%{_bindir}/%{name}-gcpubar
+%{_bindir}/%{name}-gdbar
+%{_bindir}/%{name}-textwidth
 
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.UaLD6B/_old  2018-09-26 14:24:31.181817038 +0200
+++ /var/tmp/diff_new_pack.UaLD6B/_new  2018-09-26 

commit dzen2 for openSUSE:Factory

2018-03-22 Thread root
Hello community,

here is the log from the commit of package dzen2 for openSUSE:Factory checked 
in at 2018-03-22 12:04:16

Comparing /work/SRC/openSUSE:Factory/dzen2 (Old)
 and  /work/SRC/openSUSE:Factory/.dzen2.new (New)


Package is "dzen2"

Thu Mar 22 12:04:16 2018 rev:6 rq:589163 version:1332069163

Changes:

--- /work/SRC/openSUSE:Factory/dzen2/dzen2.changes  2012-05-21 
07:24:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.dzen2.new/dzen2.changes 2018-03-22 
12:10:11.782750009 +0100
@@ -1,0 +2,7 @@
+Tue Mar 13 16:29:52 UTC 2018 - crrodrig...@opensuse.org
+
+- Replace xorg-x11* buildrequires with pkgconfig(x11),
+  pkgconfig(xft)
+- Respect optflags and do not strip the resulting binaries.
+
+---



Other differences:
--
++ dzen2.spec ++
--- /var/tmp/diff_new_pack.B7bmHm/_old  2018-03-22 12:10:12.930708861 +0100
+++ /var/tmp/diff_new_pack.B7bmHm/_new  2018-03-22 12:10:12.934708719 +0100
@@ -30,7 +30,8 @@
 ### URL: 
http://ftp.us.debian.org/debian/pool/main/d/dzen2/dzen2_0.8.5-4_armel.deb
 ### *.deb Exctract: ar -x dzen2_0.8.5-4_armel.deb
 Source1:%{name}_man.tar.bz2
-BuildRequires: xorg-x11-libX11-devel xorg-x11-devel pkg-config
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xft)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -39,6 +40,8 @@
 %setup -q -n %{_name}-%{version}
 
 %build
+sed -i '/^CFLAGS/ s/$/ %optflags/' config.mk
+sed -i 's@strip@true@g' Makefile
 make %{?_smp_mflags}
 
 %install