File twitux.spec of Package twitux

#
# spec file for package twitux (Version 0.62)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

BuildRequires:  aspell-devel dbus-1-devel gnome-common gnome-keyring-devel gnome-vfs2-devel gtk2-devel intltool iso-codes-devel libgnome-devel libgnomeui-devel libnotify-devel libsexy-devel libsoup-devel libxml2-devel perl-XML-Parser
BuildRequires:  glib2-devel >= 2.15
BuildRequires:  update-desktop-files

Name:           twitux
Summary:        A twitter client for GNOME
Version:        0.62
Release:        2
License:        GPL v2 or later
Group:          Productivity/Networking/Other
Url:            http://twitux.sf.net/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          twitux-desktop.patch
AutoReqProv:    on
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description
Twitux allow you to view your twitter timelines, and to post new
messages without using your web browser.



%lang_package
%prep
%setup -n %{name}-%{version}
%patch -p1

%build
autoreconf -f -i
%configure --enable-aspell=yes --enable-gnome-keyring=yes --enable-dbus=yes
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file -i -G "Twitter client" twitux Network News
%find_gconf_schemas
%find_lang %{name}

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/48x48/apps/twitux.png
%{_datadir}/icons/hicolor/scalable/apps/twitux.svg
%{_datadir}/twitux/

%files lang -f %{name}.lang

%changelog
* Wed Sep 10 2008 hfiguiere@suse.de
- Initial package
openSUSE Build Service is sponsored by