File kita.spec of Package kita

%define DISTRO_RH %([ -f /etc/redhat-release ] && sed -e "s/\(.\+ release \)\(.
\+\)\( .\+\)/\2/" /etc/redhat-release)
%define DISTRO_SUSE %([ -f /etc/SuSE-release ] && grep VERSION /etc/SuSE-releas
e| sed -e "s/VERSION = /SuSE/"|tr -d ".")


%define kita_version    0.177.5
%define kita_release    1

Summary:        2ch client for KDE
Name:           kita
Version:        %(echo %{kita_version}|tr -s "-" "_")
Release:        %{kita_release}.%{DISTRO_RH}%{DISTRO_SUSE}
License:        GNU GPL
Group:          Productivity/Networking/Web/Browsers
Source0:        http://prdownloads.sourceforge.jp/kita/kita-%{kita_version}.tar.gz
#BuildRoot:      /var/tmp/%{name}-%{version}-root
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  kdelibs3-devel
URL:            http://kita.sourceforge.jp/
Distribution:   openSUSE 11.0 (i586)
Packager:       koga <koga@iij.ad.jp>

%description
=== English ===
The www.2ch.net browser for KDE.
The origin of the name are `K'DE, `I'ta (in Japanese "Board") and face
mark キタ━━━━(゜∀゜)━━━━ッ!!

=== Japanese ===
KDE 用 2ちゃんねるブラウザです。
名前の由来は KDE の `K' に「板(board)」を加えたのと、キタ━━━━(゜∀゜)━━━━ッ!!から来てます。


%prep
%setup -n %{name}-%{kita_version}

%build
%configure
make

%install
[ "x" != "x/" ] && rm -rf ""
%makeinstall


%clean
[ "x" != "x/" ] && rm -rf ""

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%doc {INSTALL,README}
/*


%changelog
* Tue Jul 21 2009 koga <koga@iij.ad.jp> 0.177.5-1
- add openSUSE Build Service.
openSUSE Build Service is sponsored by