Hello community,

here is the log from the commit of package lyx for openSUSE:Factory checked in 
at 2017-02-20 13:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lyx (Old)
 and      /work/SRC/openSUSE:Factory/.lyx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lyx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lyx/lyx.changes  2017-02-03 17:49:39.439248108 
+0100
+++ /work/SRC/openSUSE:Factory/.lyx.new/lyx.changes     2017-02-20 
13:15:47.910523675 +0100
@@ -1,0 +2,7 @@
+Sun Feb 19 15:06:07 UTC 2017 - mailaen...@opensuse.org
+
+- install appdata.xml for https://en.opensuse.org/openSUSE:AppStore
+- install bash completion
+- add missing desktop/icon update macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lyx.spec ++++++
--- /var/tmp/diff_new_pack.3j4pJ4/_old  2017-02-20 13:15:49.014368474 +0100
+++ /var/tmp/diff_new_pack.3j4pJ4/_new  2017-02-20 13:15:49.038365101 +0100
@@ -17,19 +17,37 @@
 
 
 Name:           lyx
+Version:        2.2.2
+Release:        0
+Summary:        WYSIWYM (What You See Is What You Mean) document processor
+License:        GPL-2.0+
+Group:          Productivity/Publishing/TeX/Frontends
+Url:            http://www.lyx.org/
+Source:         ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz
+Source1:        lyxrc.dist
+Source2:        lyx.keyring
+Source3:        
ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz.sig
 #!BuildIgnore: lyx
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bc
+BuildRequires:  enchant-devel
+BuildRequires:  fdupes
+BuildRequires:  file-devel
+BuildRequires:  hicolor-icon-theme
+BuildRequires:  hunspell-devel
+BuildRequires:  pkgconfig
+BuildRequires:  python
+BuildRequires:  update-desktop-files
+BuildRequires:  zlib-devel
+Requires:       ImageMagick
+Requires:       ghostscript
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_signals-devel
 %else
 BuildRequires:  boost-devel
 %endif
-BuildRequires:  enchant-devel
-BuildRequires:  fdupes
-BuildRequires:  file-devel
-BuildRequires:  hunspell-devel
 %if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 && 0%{?is_opensuse}
 BuildRequires:  pkgconfig(Qt5Concurrent)
 BuildRequires:  pkgconfig(Qt5Core)
@@ -44,22 +62,6 @@
 %else
 BuildRequires:  libqt4-devel
 %endif
-BuildRequires:  python
-BuildRequires:  update-desktop-files
-BuildRequires:  zlib-devel
-Version:        2.2.2
-Release:        0
-Summary:        WYSIWYM (What You See Is What You Mean) document processor
-License:        GPL-2.0+
-Group:          Productivity/Publishing/TeX/Frontends
-Url:            http://www.lyx.org/
-Source:         ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz
-Source1:        lyxrc.dist
-Source2:        lyx.keyring
-Source3:        
ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz.sig
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Requires:       ImageMagick
-Requires:       ghostscript
 %if 0%{?suse_version} < 1230
 Requires:       texlive-latex
 Recommends:     texlive-xetex
@@ -124,7 +126,6 @@
 LyX can check the LaTeX installation by opening the LaTeX Configuration
 document under "Help" on the menubar.
 
-
 %prep
 %setup -q
 
@@ -143,47 +144,64 @@
 
 %install
 TEXMF=%{_datadir}/texmf
-make install DESTDIR=$RPM_BUILD_ROOT TEXMF=$TEXMF
+make install DESTDIR=%{buildroot} TEXMF=$TEXMF
 
 # some defaults
-install -p -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/lyx/lyxrc.dist
+install -p -m644 -D %{SOURCE1} %{buildroot}%{_datadir}/lyx/lyxrc.dist
 
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
-pushd $RPM_BUILD_ROOT%{_datadir}/lyx/doc/
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
+pushd %{buildroot}%{_datadir}/lyx/doc/
     for i in *
     do
         ln -s %{_datadir}/lyx/doc/$i \
-             $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
+             %{buildroot}/%{_defaultdocdir}/%{name}/
     done
 popd
+
 cp ANNOUNCE COPYING NEWS \
    README README.localization RELEASE-NOTES UPGRADING \
-   $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
+   %{buildroot}/%{_defaultdocdir}/%{name}/
+
 mkdir -p $RPM_BUILD_ROOT$TEXMF/tex/latex
 ln -s %{_datadir}/lyx/tex $RPM_BUILD_ROOT$TEXMF/tex/latex/lyx
+
+install -p -D -m 0644 lib/appdata.xml 
%{buildroot}%{_datadir}/appdata/lyx.appdata.xml
+
+install -p -D -m 0644 lib/scripts/bash_completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/lyx
+
 %suse_update_desktop_file lyx Office WordProcessor
-%fdupes -s $RPM_BUILD_ROOT
-%find_lang %name
 
-%files -f %name.lang
+%fdupes -s %{buildroot}%{_prefix}
+
+%find_lang %{name}
+
+%post
+%desktop_database_post
+%icon_theme_cache_post
+
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
+
+%files -f %{name}.lang
 %defattr(-,root,root)
 %docdir %{_datadir}/lyx/doc
 %doc %{_defaultdocdir}/lyx
-/usr/bin/lyx
-/usr/bin/lyxclient
-/usr/bin/tex2lyx
+%{_bindir}/lyx
+%{_bindir}/lyxclient
+%{_bindir}/tex2lyx
 %{_datadir}/applications/lyx.desktop
-%dir %{_datadir}/icons/hicolor
-%dir %{_datadir}/icons/hicolor/*
-%dir %{_datadir}/icons/hicolor/*/apps
+%dir %{_datadir}/appdata/
+%{_datadir}/appdata/lyx.appdata.xml
 %{_datadir}/icons/hicolor/*/apps/%{name}.*
 %dir %{_datadir}/texmf
 %dir %{_datadir}/texmf/tex
 %dir %{_datadir}/texmf/tex/latex
 %{_datadir}/texmf/tex/latex/lyx
 %{_datadir}/lyx
-%doc %{_mandir}/man1/lyx.1.gz
-%doc %{_mandir}/man1/lyxclient.1.gz
-%doc %{_mandir}/man1/tex2lyx.1.gz
+%{_mandir}/man1/lyx.1%{ext_man}
+%{_mandir}/man1/lyxclient.1%{ext_man}
+%{_mandir}/man1/tex2lyx.1%{ext_man}
+%{_sysconfdir}/bash_completion.d/lyx
 
 %changelog




Reply via email to