Hello community,

here is the log from the commit of package tvbrowser for openSUSE:Factory 
checked in at 2012-02-29 14:12:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tvbrowser (Old)
 and      /work/SRC/openSUSE:Factory/.tvbrowser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tvbrowser", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tvbrowser/tvbrowser.changes      2011-09-23 
12:49:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.tvbrowser.new/tvbrowser.changes 2012-02-29 
14:12:22.000000000 +0100
@@ -1,0 +2,20 @@
+Mon Dec  5 15:42:48 UTC 2011 - [email protected]
+
+- convert the included license to Unix line endings instead of
+  shipping a separate copy of the license
+- create a tailored launch script instead of relying on the
+  guesswork in the upstream script and do not create symlinks
+  bypassing the packaging system in %post
+- create desktop file via %suse_update_desktop_file instead of
+  patching the upstream one
+- create explicit symlinks for application icons
+- use %desktop_database_post/un and %icon_theme_cache_post/un to
+  have the menu and icon caches updated on GTK-based desktops
+- correct the RPM group
+
+-------------------------------------------------------------------
+Sun Oct 30 12:55:37 UTC 2011 - [email protected]
+
+- Update to version 3.1 
+
+-------------------------------------------------------------------

Old:
----
  LICENSE.txt
  tvbrowser-3.0.2.tar.bz2
  tvbrowser-desktop.patch

New:
----
  tvbrowser-3.1.tar.bz2

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

Other differences:
------------------
++++++ tvbrowser.spec ++++++
--- /var/tmp/diff_new_pack.MIQovP/_old  2012-02-29 14:12:24.000000000 +0100
+++ /var/tmp/diff_new_pack.MIQovP/_new  2012-02-29 14:12:24.000000000 +0100
@@ -15,20 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           tvbrowser
-BuildRequires:  dos2unix fdupes optipng update-desktop-files
 Summary:        Digital TV guide
-Version:        3.0.2
-Release:        1
-License:        GPLv3
-Group:          Productivity/Networking/News/Utilities
+License:        GPL-3.0+
+Group:          Productivity/Multimedia/Other
+Version:        3.1
+Release:        0
 Requires:       java >= 1.6
 Url:            http://tv-browser.org
 Source0:        %{name}-%{version}.tar.bz2
-Source1:        LICENSE.txt
-Patch0:         tvbrowser-desktop.patch
+BuildRequires:  dos2unix
+BuildRequires:  optipng
+BuildRequires:  update-desktop-files
+# needed for expanding %%icon_theme_cache_post in %%post/un
+BuildRequires:  gtk3-tools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -37,64 +37,59 @@
 Reminders, Program info and Search are also contained in TV-Browser package.
 Additional Plugins can be installed with the download function of TV-Browser.
 
-Authors:
---------
-    Bodo Tasche
-    Martin Oberhauser
-    René Mach
-    Björn Balazs
-    Nelson Darkwah Oppong
-    Joakim Arborelius
-    Til Schneider
-    Michael Keppler
-    Klaus Blessing
 
 %prep
 %setup -q
-%patch0 -p 1
-rm LICENSE.txt
-cp -f %{S:1} ./
+dos2unix LICENSE.txt
+find -name "*.png" | while read a; do
+    optipng -o 5 "$a" || optipng -o 5 -fix "$a"
+done
 
 %build
+cat >tvbrowser <<'EOF'
+#!/bin/sh
+
+cd %{_datadir}/%{name} && \
+    exec %{_bindir}/java \
+        -Xms16m \
+        -Xmx128m \
+        -Djava.library.path=%{_datadir}/%{name} \
+        -Dpropertiesfile=linux.properties \
+        -jar tvbrowser.jar \
+        "$@"
+EOF
 
 %install
 export NO_BRP_CHECK_BYTECODE_VERSION="true"
-rm -f *.url
-find -name "*.png" | while read a
-do
-       optipng -o 5 "$a" || optipng -o 5 -fix "$a"
+install -D -p -m 755 tvbrowser %{buildroot}%{_bindir}/tvbrowser
+for file in linux.properties tvbrowser.jar; do
+    install -D -p -m 644 ${file} %{buildroot}%{_datadir}/%{name}/${file}
 done
-install -d %buildroot%_datadir/%name
-install -d %buildroot/usr/bin
-cp -a *  %buildroot%_datadir/%name/
-mkdir -p %{buildroot}%{_docdir}/%{name}
-mv %{buildroot}%{_datadir}/%{name}/*.txt %{buildroot}%{_docdir}/%{name}/
-install -d %buildroot/usr/share/icons/hicolor/128x128/apps
-install -d %buildroot/usr/share/icons/hicolor/48x48/apps
-install -d %buildroot/usr/share/icons/hicolor/32x32/apps
-install -d %buildroot/usr/share/icons/hicolor/16x16/apps
-cp -p imgs/tvbrowser128.png 
%buildroot/usr/share/icons/hicolor/128x128/apps/tvbrowser.png
-cp -p imgs/tvbrowser48.png 
%buildroot/usr/share/icons/hicolor/48x48/apps/tvbrowser.png
-cp -p imgs/tvbrowser32.png 
%buildroot/usr/share/icons/hicolor/32x32/apps/tvbrowser.png
-cp -p imgs/tvbrowser16.png 
%buildroot/usr/share/icons/hicolor/16x16/apps/tvbrowser.png
-install -d %buildroot/usr/share/applications
-install -p tvbrowser.desktop 
%buildroot/usr/share/applications/tvbrowser.desktop
-rm %{buildroot}%{_datadir}/%{name}/tvbrowser.desktop *.txt
-%fdupes -s %{buildroot}%{_datadir}
-%suse_update_desktop_file 
%{buildroot}/%{_datadir}/applications/tvbrowser.desktop
+find hyphen icons imgs personas plugins themepacks -depth -print | \
+    cpio -p -d -m %{buildroot}%{_datadir}/%{name}
+for size in 16 32 48 128; do
+    (
+        install -d %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/
+        cd %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/
+        ln -s ../../../../tvbrowser/imgs/tvbrowser${size}.png tvbrowser.png
+    )
+done
+%suse_update_desktop_file -c tvbrowser TV-Browser 'Digital TV Guide' tvbrowser 
tvbrowser AudioVideo TV Java
+
+%post
+%desktop_database_post
+%icon_theme_cache_post
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
 
 %files
 %defattr(-,root,root,-)
-%dir %{_docdir}/%{name}
-%{_docdir}/%{name}/*
-%_datadir/%name
+%doc COPYRIGHT.txt LICENSE.txt
+%{_bindir}/tvbrowser
+%{_datadir}/%{name}
 %{_datadir}/applications/tvbrowser.desktop
-%{_datadir}/icons/hicolor
-
-%post
-ln -s -f %_datadir/%name/tvbrowser.sh /usr/bin/tvbrowser
+%{_datadir}/icons/hicolor/*/apps/tvbrowser.png
 
 %changelog

++++++ tvbrowser-3.0.2.tar.bz2 -> tvbrowser-3.1.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/tvbrowser/tvbrowser-3.0.2.tar.bz2 
/work/SRC/openSUSE:Factory/.tvbrowser.new/tvbrowser-3.1.tar.bz2 differ: char 
11, line 1

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

Reply via email to