Hello community,

here is the log from the commit of package rsibreak for openSUSE:Factory
checked in at Wed Aug 31 10:59:24 CEST 2011.



--------
--- KDE/rsibreak/rsibreak.changes       2011-01-15 10:06:46.000000000 +0100
+++ /mounts/work_src_done/STABLE/rsibreak/rsibreak.changes      2011-08-29 
12:03:04.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Aug 29 09:59:19 UTC 2011 - m...@suse.com
+
+- few fixes for RPMLINT warnings
+  * translated desktop files
+  * do not obsoletes itself
+  * add %fdupes macro for fix files duplicated
+- clean up the specfile formatting
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ rsibreak.spec ++++++
--- /var/tmp/diff_new_pack.z43ioF/_old  2011-08-31 10:58:25.000000000 +0200
+++ /var/tmp/diff_new_pack.z43ioF/_new  2011-08-31 10:58:25.000000000 +0200
@@ -19,18 +19,19 @@
 
 
 Name:           rsibreak
-BuildRequires:  kdebase4-workspace-devel
+Version:        0.11
+Release:        7
 License:        GPLv2+
+Summary:        Assists in the Recovery and Prevention of Repetitive Strain 
Injury
 Url:            http://www.kde-apps.org/content/show.php?content=29725
 Group:          Productivity/Other
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        Assists in the Recovery and Prevention of Repetitive Strain 
Injury
-Version:        0.11
-Release:        1
 %define tar_version 0.11
-Source:         rsibreak-%tar_version.tar.bz2
-Provides:       kde4-rsibreak = 0.9.0
-Obsoletes:      kde4-rsibreak <= 0.9.0
+Source:         rsibreak-%{tar_version}.tar.bz2
+BuildRequires:  kdebase4-workspace-devel
+BuildRequires:  fdupes
+Provides:       kde4-rsibreak = %{version}
+Obsoletes:      kde4-rsibreak < %{version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %kde4_runtime_requires
 
 %description
@@ -38,15 +39,8 @@
 working with a mouse and keyboard. This utility can be used to remind
 you to take a break now and then.
 
-
-
-Authors:
---------
-    Tom Albers <tomalb...@kde.nl>
-    Bram Schoenmakers <bramschoenmak...@kde.nl>
-
 %prep
-%setup -n rsibreak-%tar_version -q
+%setup -n rsibreak-%{tar_version} -q
 
 %build
   %cmake_kde4 -d build
@@ -54,46 +48,50 @@
 
 %install
   cd build
-  %makeinstall
+  %make_install
   cd ..
-  %suse_update_desktop_file -G "RSI Prevention" rsibreak TimeUtility
-  %find_lang %name --all-name
-  %if %suse_version < 1120  
+  %find_lang %{name} --all-name
+  %if 0%{?suse_version} < 1120
     # work-around bnc#457908
-    for i in es et fr nl pt sv uk; do mkdir 
$RPM_BUILD_ROOT/usr/share/doc/kde/HTML/$i/common;done
+    for i in es et fr nl pt sv uk; do mkdir 
%{buildroot}%{_datadir}/doc/kde/HTML/$i/common;done
   %endif
+  %suse_update_desktop_file -G "RSI Prevention" rsibreak TimeUtility
+  %suse_update_desktop_file 
%{buildroot}%{_kde4_servicesdir}/plasma-applet-rsibreak.desktop
+  %suse_update_desktop_file 
%{buildroot}%{_kde4_servicesdir}/plasma-engine-rsibreak.desktop
+  %suse_update_desktop_file %{buildroot}%{_datadir}/autostart/rsibreak.desktop
+  %fdupes -s %{buildroot}%{_datadir}
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
-%files -f %name.lang
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING 
-%doc %lang(en) /usr/share/doc/kde/HTML/en/rsibreak
+%doc %lang(en) %{_datadir}/doc/kde/HTML/en/rsibreak
 %_kde_share_dir/apps/rsibreak
-/usr/bin/rsibreak
-/usr/share/applications/kde4/rsibreak.desktop
-/usr/share/dbus-1/interfaces/org.rsibreak.rsiwidget.xml
-/usr/share/icons/hicolor/*/actions/*
-/usr/share/icons/hicolor/*x*/actions/rsibreak*.png
-/usr/share/icons/hicolor/*x*/apps/rsibreak.png
-/usr/share/autostart/rsibreak.desktop
-/usr/%_lib/kde4/plasma_applet_rsibreak.so
-/usr/%_lib/kde4/plasma_engine_rsibreak.so
-/usr/share/kde4/apps/desktoptheme/default/widgets/rsibreak.svg
-/usr/share/kde4/services/plasma-applet-rsibreak.desktop
-/usr/share/kde4/services/plasma-engine-rsibreak.desktop
-%if %suse_version < 1120  
+%{_bindir}/rsibreak
+%{_datadir}/applications/kde4/rsibreak.desktop
+%{_datadir}/dbus-1/interfaces/org.rsibreak.rsiwidget.xml
+%{_datadir}/icons/hicolor/*/actions/*
+%{_datadir}/icons/hicolor/*x*/actions/rsibreak*.png
+%{_datadir}/icons/hicolor/*x*/apps/rsibreak.png
+%{_datadir}/autostart/rsibreak.desktop
+%{_libdir}/kde4/plasma_applet_rsibreak.so
+%{_libdir}/kde4/plasma_engine_rsibreak.so
+%{_datadir}/kde4/apps/desktoptheme/default/widgets/rsibreak.svg
+%{_datadir}/kde4/services/plasma-applet-rsibreak.desktop
+%{_datadir}/kde4/services/plasma-engine-rsibreak.desktop
+%if 0%{?suse_version} < 1120
 # work-around bnc#457911
-%dir /usr/share/doc/kde/HTML/*
+%dir %{_datadir}/doc/kde/HTML/*
 %endif
-%if %suse_version < 1120
-%dir /usr/share/locale/hne
-%dir /usr/share/locale/hne/LC_MESSAGES
+%if 0%{?suse_version} < 1120
+%dir %{_datadir}/locale/hne
+%dir %{_datadir}/locale/hne/LC_MESSAGES
 %endif
 
 %changelog


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to