File tvbrowser.spec of Package tvbrowser

Name:		tvbrowser
Version: 	2.6.2
Release:	1
License: 	GPL
Group: 		Applications
Summary: 	Digital TV Guide
URL: 		http://www.tvbrowser.org
Source0: 	%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Patch0:		%{name}-%{version}.diff
BuildRoot: 	%{_tmppath}/%{name}-%{version}-build
Packager:       Carsten Schoene <cs@linux-administrator.com>
Vendor:         linux-administrator.com
BuildArch:      noarch
Requires:	java-1_5_0-sun
Requires:	java-1_5_0-sun-alsa
BuildRequires:	glibc-devel gcc gcc-c++ libgcc 

%description
TVBrowser is a digital TV Guide

Authors:
--------
	Bodo Tasche <bodo@tvbrowser.org>
	Martin Oberhauser <martin@tvbrowser.org>
	René Mach <rene@tvbrowser.org>
	Björn Balazs <bjoern.balazs@apliki.de> 
	Nelson Darkwah Oppong <spyagent@arcor.de>
	Joakim Arborelius
	Til Schneider <til@tvbrowser.org>

%prep
%setup
%patch -p1

%install
install -d 755 $RPM_BUILD_ROOT/opt/%{name}
install -d 755 $RPM_BUILD_ROOT/usr/share/applications
cd $RPM_BUILD_DIR/%{name}-%{version}
cp -R * $RPM_BUILD_ROOT/opt/%{name}/

# complete desktop file
cp %{S:1} $RPM_BUILD_ROOT/opt/%{name}/

# desktop file
install -d 755 $RPM_BUILD_ROOT/root/Desktop
cd $RPM_BUILD_ROOT/root/Desktop 
ln -sf /opt/%{name}/%{name}.desktop
cd $RPM_BUILD_ROOT/usr/share/applications
ln -sf /opt/%{name}/%{name}.desktop

cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}

%clean
rm -rf $RPM_BUILD_ROOT/*
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf ../file.list.%{name}


%files -f ../file.list.%{name}

%changelog
* Fri Dec 28 2007 Carsten Schoene <cs@linux-administrator.com>
- changes in version 2.6.1/2.6.2:
 - Application crash if plugin getInfo() uses 2.6 versioning scheme
 - Allow parallel use of the Favorites and the Reminder instances
 - Correctly handle errors on checking for available channels in Swedb
 - Delete old TV data every day when TV-Browser isn't restarted
 - IndexOutOfBoundsException shortly after TV data update
 - Internal plugins cause NPE on Help->Plugins->[Pluginname]
 - Make beta versions in plugin update dialog visible again
 - NPE in context menu settings
 - NPE in marker plugin manage panel with no markers created
 - NPE on importing TV Genial favorites
 - Performance is bad with high number of reminder items
 - Plugin settings can not be opened sometimes
 - Process command line creating in recording control works not correct on Linux
 - Replace calls to updateUI() by repaint()
 - Save data after changing markings
 - StringIndexOutOfBoundsException if comma before a bracket
 - SubMinor version compare fault
 - channel list not correctly restored with maximized window
 - Detect Text as URLs in ProgramInfo where no URL is present
 - Empty section "other occurences" if all other occurances of a favorite are expired
 - Order excluded favorites by time in favorite manager
 - Restrict number of lines in picture description
 - Swedb: First word of genre should be upper case
 - Swedb: Recognition for category movie should be added
 - Swedb: Xmltv field "sub-title" is not treated
 - avoid searching each program twice during insertion of items in program tree

* Thu Nov 01 2007 Carsten Schoene <cs@linux-administrator.com>
- changes in version 2.6:
 - Bug
    * [TVB-45] - IndexOutOfBoundsException when no channel column is visible in the program table
    * [TVB-48] - NPE if filter component is deleted while no filter name is given in the filter name field
 - Improvement
    * [TVB-46] - Show selected channel group in UI

* Mon Jul 23 2007 Carsten Schoene <cs@linux-administrator.com>
- changes in version 2.5.3:
 - Bugs
 + 1634797 ConcurrentModificationException in ReminderTimerListener
 + 1680401 printing: plugin icons can't be removed
 + 1686450 SendToPluginDlg layout sometime destroyed
 + 1687340 TV-Browser transportable TV data import sometime didn't work
 + 1687346 Automatically data update runs every TV-Browser start
 + 1687497 layout restored wrongly switching plugin tree on or off
 + 1687537 Update of filtered view to slow
 + 1688332 Copy of TV data can result in an endless recursion
 + 1688716 No remind again field for 24 hour reminders
 + 1692658 Google Calendar Export TimeZone
 + 1698591 #separator is too small to remove/modify it under MacOS
 + 1701139 NPE on TV data deletion
 + 1705404 NewsPlugin shows old news as new news
 + 1705442 Scrolling to now didn't work sometime
 + 1707649 Reminder not selectable as ReceiveIf
 + 1717929 Comparing of channel not correct
 + 1722169 Boolean search missing parts
 + 1722642 Prevent windows showing outside of screen
 + 1723586 CapturePlugin: Id is maybe not unique on import
 + 1734355 no programs found if invalid exclusion in favorite
 + 1734692 Desc. and copyright for picture not readable
 + 1738621 NPE for LocaleSettingsTab
 + 1738622 Size of TV-Browser is not restored correct on startup
 + 1738735 NPE in WebPlugin
 + 1746022 program table not updated if current filter is edited
 + 1746824 Marking problems on channels with different time zones
 + 1749152 Channels cannot be removed in Favorites channel restriction
 + 1749540 No connection timeout for SweDB and Radio Times data service

 - Features
 + 1680402 show end time in first line of program info
 + 1687342 Change marking system
 + 1689233 Automatically create backup of settings.prop
 + 1689235 Save most setting on changing
 + 1689237 Allow plugins to decide when the settings should be saved
 + 1689238 Add undo to deleting in SimpleMarkerPlugin
 + 1689348 Add undo to deleting in Reminder
 + 1689437 Use mark priority in tray for important programs
 + 1703131 remove unneeded borders

* Sun Jan 07 2007 Carsten Schoene <cs@linux-administrator.com>
- initial build of tvbrowser (version 2.5)
openSUSE Build Service is sponsored by