Hello community,

here is the log from the commit of package gftp for openSUSE:Factory checked in 
at 2014-10-22 16:23:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gftp (Old)
 and      /work/SRC/openSUSE:Factory/.gftp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gftp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gftp/gftp.changes        2011-09-23 
01:59:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gftp.new/gftp.changes   2014-10-22 
16:23:37.000000000 +0200
@@ -1,0 +2,8 @@
+Sun Oct 19 10:59:32 UTC 2014 - [email protected]
+
+- Add gftp.appdata.xml: allow gFTP to show up as an application in
+  gnome-software (installation will abort when upstream ships the
+  file).
+- Run spec-cleaner.
+
+-------------------------------------------------------------------

New:
----
  gftp.appdata.xml

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

Other differences:
------------------
++++++ gftp.spec ++++++
--- /var/tmp/diff_new_pack.1rRGO3/_old  2014-10-22 16:23:38.000000000 +0200
+++ /var/tmp/diff_new_pack.1rRGO3/_new  2014-10-22 16:23:38.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gftp
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
 #
 
 
-
 Name:           gftp
 Version:        2.0.19
-Release:        10
-License:        GPL-2.0+
+Release:        0
 Summary:        Multithreaded File Transfer Client
-Url:            http://www.gftp.org/
+License:        GPL-2.0+
 Group:          Productivity/Networking/Ftp/Clients
+Url:            http://www.gftp.org/
 Source0:        %{name}-%{version}.tar.bz2
+Source1:        gftp.appdata.xml
 BuildRequires:  fdupes
 BuildRequires:  gtk2-devel
 BuildRequires:  openssl-devel
@@ -40,7 +40,6 @@
 machines, with advanced features.
 
 %package common
-License:        GPL-2.0+
 Summary:        Multithreaded File Transfer Client - Common Files
 Group:          Productivity/Networking/Ftp/Clients
 Recommends:     %{name}-common-lang
@@ -50,7 +49,6 @@
 machines, with advanced features.
 
 %package text
-License:        GPL-2.0+
 Summary:        Multithreaded File Transfer Client - Text UI
 Group:          Productivity/Networking/Ftp/Clients
 Requires:       %{name}-common = %{version}
@@ -65,35 +63,37 @@
 
 %lang_package -n gftp-common
 %prep
-%setup
+%setup -q
 translation-update-upstream
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %suse_update_desktop_file -N gFTP -G "File Transfer" -r %{name} Network 
FileTransfer
 # rename sr@Latin to sr@latin
 mv %{buildroot}%{_datadir}/locale/sr@Latn 
%{buildroot}%{_datadir}/locale/sr@latin
 # Drop version of COPYING installed by package
 rm %{buildroot}%{_datadir}/gftp/COPYING
 %find_lang %{name} %{?no_lang_C}
+if [ -f %{buildroot}%{_datadir}/appdata/gftp.appdata.xml ]; then
+  echo "Please remove the added gftp.appdata.xml file from the sources - the 
tarball installs it"
+  false
+else
+  mkdir -p %{buildroot}%{_datadir}/appdata
+  cp %{SOURCE1} %{buildroot}%{_datadir}/appdata/
+fi
 %fdupes -s %{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %if 0%{?suse_version} > 1130
-
 %post
 %desktop_database_post
 %endif
 
 %if 0%{?suse_version} > 1130
-
 %postun
 %desktop_database_postun
 %endif
@@ -101,6 +101,8 @@
 %files
 %defattr(-, root, root)
 %{_bindir}/gftp-gtk
+%dir %{_datadir}/appdata
+%{_datadir}/appdata/gftp.appdata.xml
 %{_datadir}/applications/gftp.desktop
 %{_datadir}/gftp/*.png
 %{_datadir}/gftp/*.svg
@@ -121,5 +123,6 @@
 %{_bindir}/gftp-text
 
 %files common-lang -f %{name}.lang
+%defattr(-,root,root)
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to