superkaramba-theme-LiquidWeatherPlus.spec

Lukasz Glebicki lukaszgl w post.pl
Śro, 5 Sty 2005, 01:35:37 CET


To mój drugi spec zwiazany z superkarambą, zdecydowanie trudniejszy. Buduje 
się, choć pominąłem trzy pliki, które raczej nie są istotne:

   /usr/share/themes/superkaramba/liquid_weather_plus/liquid_weather.theme~
   /usr/share/themes/superkaramba/liquid_weather_plus/readme_faq.html.2792.backup
   /usr/share/themes/superkaramba/liquid_weather_plus/readme_faq.html~

Zapewne dało by się lepiej rozwiązać kwestię plików w %files, ale ja na razie 
nie mam pomysłu (1:34)

No i mam problem z nazwą. Spec i rpm są identyczne a katalog po zainstalowaniu 
taki sam jak w źródłach. 

pozdrawiam
-- 
Łukasz Głębicki lukaszgl w cavern.com.pl
gg:246267      Linux Registered User #318551
-------------- następna część ---------
#$Revision: 1.2 $, $Date: 2004/12/15 23:48:12 $

%define		theme	LiquidWeatherPlus

Summary:	superkaramba - LiquidWeatherPlus theme
Summary(pl):	superkaramba - motyw LiquidWeatherPlus
Name:		superkaramba-theme-%{theme}
Version:	3.2.3
Release:	0.1
License:	GPL
Group:		Themes
Source0:	http://www.message.co.nz/~matt-sarah/lwp-%{version}.tar.bz2
# Source0-md5:	b481d04c364869ec30b90f1ebeb95b53
URL:		http://kde-look.org/content/show.php?content=6384
Requires:	superkaramba
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
LiquidWeatherPlus theme for superkaramba. Features:
 - Weather forecasts from weather.com or BBC for most cities worldwide.
 - Details of current conditions.
 - Daily forecasts and weather details for today and the following 4 days.
 - Hourly forecasts for the next 12 hours, if using weather.com as a data source.
 - All sorts of different weather maps for all major world regions, including antarctica.
 - View up to 5 web cams.
 - All data updates automatically every 1, 2 or 3 hours.
 - Multiple background and icon themes.
 - Gui configuration for everything through the configuration menu.

%description -l pl
Motyw LiquidWeatherPlus do superkaramby. Wyświetlane informacje:
 - Prognoza pogody z weather.com oraz BBC z większości miast świata.
 - Warunki pogodowe.
 - Zapowiedź pogody oraz szczególy dla aktualnego dnia oraz następnych czterech dni
 - Przewidywanie pogody dla następnych 12 godzin, jeżeli używamy weather.com jako źródło danych 
 - Wszystkie rodzaje róznych map pogody dla wszystkich ważniejszych rejonów, również antarktyki 
 - Widok z 5 kamer internetowych 
 - Wszystkie dane uaktualniane są co 1, 2 lub 3 godziny
 - Różne rodzaje tła oraz motywy ikon 
 - Graficzna konfiguracja wszystkiego przez menu konfiguracyjne

%prep
%setup -q -c

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/{background,fonts} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/background/.xvpics \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/{large_icons,small_icons} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/{large_icons,small_icons} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/{large_icons,small_icons} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/{large_icons,small_icons} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/{medium,weak,strong} \
	$RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/{medium,weak,strong} \

install liquid_weather_plus/*.* $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus
install liquid_weather_plus/background/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/background
install liquid_weather_plus/background/.xvpics/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/background/.xvpics
install liquid_weather_plus/fonts/*.ttf $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/fonts
install liquid_weather_plus/icons/flat/large_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/large_icons
install liquid_weather_plus/icons/flat/small_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/small_icons
install liquid_weather_plus/icons/liquid/large_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/large_icons
install liquid_weather_plus/icons/liquid/small_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/small_icons
install liquid_weather_plus/icons/um/large_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/large_icons
install liquid_weather_plus/icons/um/small_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/small_icons
install liquid_weather_plus/icons/weather.com/large_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/large_icons
install liquid_weather_plus/icons/weather.com/small_icons/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/small_icons
install liquid_weather_plus/wind_icons/flat/medium/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/medium
install liquid_weather_plus/wind_icons/flat/strong/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/strong
install liquid_weather_plus/wind_icons/flat/weak/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/weak
install liquid_weather_plus/wind_icons/liquid/medium/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/medium
install liquid_weather_plus/wind_icons/liquid/strong/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/strong
install liquid_weather_plus/wind_icons/liquid/weak/*.png $RPM_BUILD_ROOT%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/weak

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(644,root,root,755)
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/background
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/background/.xvpics
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/fonts
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/large_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/small_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/large_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/small_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/large_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/small_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/large_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/small_icons
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/medium
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/strong
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/weak
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/medium
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/strong
%dir %{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/weak
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.png
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.profile
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.py*
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.theme
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.timings
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.patch
%{_datadir}/themes/superkaramba/liquid_weather_plus/*.html
%{_datadir}/themes/superkaramba/liquid_weather_plus/background/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/background/.xvpics/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/fonts/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/large_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/flat/small_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/large_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/liquid/small_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/large_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/um/small_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/large_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/icons/weather.com/small_icons/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/medium/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/strong/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/flat/weak/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/medium/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/strong/*
%{_datadir}/themes/superkaramba/liquid_weather_plus/wind_icons/liquid/weak/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org


Więcej informacji o liście dyskusyjnej pld-devel-pl