rendered paste body# norootforbuild
Name: qwit
Version: 0.10
Release: 1
Summary: Qwit is a simple Qt4-based client for Twitter
Group: Productivity/Networking/Other
License: GPLv3
Url: http://code.google.com/p/qwit/
BuildRequires: libqt4-devel
BuildRequires: cmake
BuildRequires: automoc4
Source: qwit-0.10-src.tar.bz2
#Source0: http://qwit.googlecode.com/files/qwit-0.10-src.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Packager: Andrei Nistor <coder.tux@gmail.com>
AutoReqProv: on
%description
This is a crossplatform twitter client writen in Qt4, it depends only on Qt4
%prep
%setup -q -n %{name}-%{version}-src
%build
mkdir build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
make %{?jobs:-j%jobs}
popd
%install
%makeinstall -C build
%suse_update_desktop_file qwit "Twitter Client"
%clean
rm -rf $RPM_BUILD_ROOT
%post
%postun
%files
%defattr(-,root,root)
%doc AUTHORS README COPYING
%{_bindir}/qwit
%{_datadir}/icons/qwit.png
%{_datadir}/applications/qwit.desktop
%{_datadir}/qt4/translations*
%changelog
* Tue Nov 17 2009 coder.tux@gmail.com
- Initial release