Hello community, here is the log from the commit of package poedit for openSUSE:Factory checked in at 2012-03-12 20:16:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poedit (Old) and /work/SRC/openSUSE:Factory/.poedit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "poedit", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/poedit/poedit.changes 2011-09-23 12:41:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.poedit.new/poedit.changes 2012-03-12 20:16:36.000000000 +0100 @@ -1,0 +2,13 @@ +Sun Mar 11 18:16:09 UTC 2012 - lazy.kent@opensuse.org + +- Use wxWidgets defines. +- Split off language package. +- Removed check for unsupported openSUSE versions. +- Use full URL as a source. +- Corrected Summary style. +- Use fdupes to remove file duplicates. +- Added icon_theme_cache_post/un macros. +- Removed redundant "clean" section. +- Removed zip from build dependencies. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poedit.spec ++++++ --- /var/tmp/diff_new_pack.s4KC6U/_old 2012-03-12 20:16:38.000000000 +0100 +++ /var/tmp/diff_new_pack.s4KC6U/_new 2012-03-12 20:16:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package poedit # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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,27 +16,26 @@ # +%define _use_internal_dependency_generator 0 +%define __find_requires %wx_requires Name: poedit Version: 1.4.6.1 -Release: 1 +Release: 0 +Summary: Cross-platform Gettext Catalogs Editing Tool License: MIT -Summary: A cross-platform Gettext catalogs editing tool -Url: http://www.poedit.net/ Group: Development/Tools/Other -Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} <= 1130 -BuildRequires: wxGTK-devel -%else -BuildRequires: wxWidgets-devel -%endif +Url: http://www.poedit.net/ +Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRequires: db-devel +BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: gtkspell-devel BuildRequires: update-desktop-files -BuildRequires: zip +BuildRequires: wxWidgets-devel +BuildRequires: pkgconfig(gtkspell-2.0) Requires: gettext-tools +Recommends: %{name}-lang +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description poEdit is cross-platform gettext catalogs (.po files) editor. @@ -44,6 +43,8 @@ supported by it. It aims to provide more convenient approach to editing catalogs than launching vi and editing the file by hand. +%lang_package + %prep %setup -q @@ -56,25 +57,28 @@ %install %make_install %suse_update_desktop_file -c poedit poEdit "Tool for editing po files" poedit poedit Development Translation +%fdupes -s %{buildroot}%{_datadir} %find_lang %{name} -%clean -rm -rf %{buildroot} +%post +%icon_theme_cache_post + +%postun +%icon_theme_cache_postun -%files -f %{name}.lang +%files %defattr(-,root,root,755) %doc AUTHORS COPYING NEWS README TODO -%{_bindir}/* -%{_mandir}/man1/* -%{_datadir}/poedit/ -%{_datadir}/applications/poedit.desktop -%{_datadir}/pixmaps/poedit.png -%{_datadir}/icons/* -%if 0%{?suse_version} < 1120 -%dir %{_datadir}/locale/af_ZA -%dir %{_datadir}/locale/af_ZA/LC_MESSAGES -%dir %{_datadir}/locale/fa_IR -%dir %{_datadir}/locale/fa_IR/LC_MESSAGES -%endif +%{_bindir}/%{name} +%{_datadir}/%{name} +%exclude %{_datadir}/%{name}/help/hr +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/*/%{name}.* +%{_datadir}/pixmaps/%{name}.png +%{_mandir}/man?/* + +%files lang -f %{name}.lang +%defattr(-,root,root,755) +%{_datadir}/%{name}/help/hr %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org