Hello community, here is the log from the commit of package xmorph for openSUSE:Factory checked in at 2015-12-24 12:17:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmorph (Old) and /work/SRC/openSUSE:Factory/.xmorph.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmorph" Changes: -------- --- /work/SRC/openSUSE:Factory/xmorph/xmorph.changes 2015-06-23 11:59:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xmorph.new/xmorph.changes 2015-12-24 12:17:13.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Dec 21 20:44:52 UTC 2015 - [email protected] + +- Update build dependencies +- Cleanup spec file with spec-cleaner +- Use correct macros for handling of info and desktop files and + their dependencies + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmorph.spec ++++++ --- /var/tmp/diff_new_pack.mAUn6s/_old 2015-12-24 12:17:15.000000000 +0100 +++ /var/tmp/diff_new_pack.mAUn6s/_new 2015-12-24 12:17:15.000000000 +0100 @@ -17,23 +17,12 @@ Name: xmorph -BuildRequires: ctags -BuildRequires: fftw3-devel -BuildRequires: gcc-c++ -BuildRequires: gtk2-devel -BuildRequires: libexpat0 -BuildRequires: libglade2-devel -BuildRequires: libtool -BuildRequires: update-desktop-files -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel -PreReq: %{install_info_prereq} Version: 20060817 Release: 0 -Url: http://sourceforge.net/projects/xmorph/ Summary: A morphing program License: GPL-2.0+ Group: Productivity/Graphics/Other +Url: http://sourceforge.net/projects/xmorph/ Source: %{name}_%{version}.tar.bz2 Source1: %{name}.desktop Source2: acinclude.m4 @@ -42,6 +31,21 @@ Patch3: xmorph-missing-include.patch Patch4: xmorph-20060817-autotools.patch Patch5: xmorph-automake-1.13.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: ctags +BuildRequires: fftw3-devel +BuildRequires: gcc-c++ +BuildRequires: gtk2-devel +BuildRequires: libexpat-devel +BuildRequires: libglade2-devel +BuildRequires: libtool +BuildRequires: update-desktop-files +BuildRequires: xorg-x11-devel +Requires(post): %{install_info_prereq} +Requires(post): update-desktop-files +Requires(postun): update-desktop-files +Requires(preun): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -64,7 +68,7 @@ %prep %setup -q -cat %{S:2} >>acinclude.m4 +cat %{SOURCE2} >>acinclude.m4 %patch1 %patch2 %patch3 @@ -73,42 +77,47 @@ %build autoreconf -fiv -%configure --disable-static --with-pic --with-gtk2 CFLAGS="%{optflags} -fgnu89-inline" -%{__make} %{?jobs:-j%jobs} +%configure \ + --disable-static \ + --with-pic \ + --with-gtk2 \ + CFLAGS="%{optflags} -fgnu89-inline" +make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -%suse_update_desktop_file -i %name Graphics RasterGraphics -rm -r $RPM_BUILD_ROOT%{_datadir}/xmorph/example -mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/packages/xmorph/example -ln -s ../doc/packages/xmorph/example $RPM_BUILD_ROOT%{_datadir}/xmorph/example +make DESTDIR=%{buildroot} install %{?_smp_mflags} +%suse_update_desktop_file -i %{name} Graphics RasterGraphics +rm -r %{buildroot}%{_datadir}/xmorph/example +mkdir -p %{buildroot}%{_docdir}/xmorph/example +ln -s ../doc/packages/xmorph/example %{buildroot}%{_datadir}/xmorph/example %find_lang %{name} -%{__rm} -f %{buildroot}%{_libdir}/*.la - -%clean -rm -rf $RPM_BUILD_ROOT +find %{buildroot} -type f -name "*.la" -delete -print %post /sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%desktop_database_post %postun /sbin/ldconfig +%desktop_database_postun + +%preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/* -/usr/share/applications/*.desktop -/usr/share/xmorph +%{_datadir}/applications/*.desktop +%{_datadir}/xmorph %doc README HISTORY example -%doc %{_mandir}/man1/* -%doc %{_infodir}/*info*.gz +%{_mandir}/man1/* +%{_infodir}/*info*.gz %{_libdir}/libmorph.so.* %files devel %defattr(-,root,root) -/usr/include/xmorph +%{_includedir}/xmorph %{_libdir}/libmorph.so %changelog
