File dmlangsel.spec of Package dmlangsel
#
# spec file for package dmlangsel (Version 0.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dmlangsel
BuildRequires: gtk2-devel intltool perl-XML-Parser update-desktop-files
Version: 0.6
Release: 1
License: GPL v2 or later
Group: System/GUI/GNOME
Url: http://code.google.com/p/loolixbodes/wiki/dmlangsel
Summary: A language picker
Source0: %{name}-%{version}.tar.bz2
Patch0: include-locale.patch
Patch1: include-string.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Applet to select language.
Authors:
--------
Jacob Berkman <jberkman@novell.com>
%prep
%setup -q
%patch0
%patch1
%build
CFLAGS="$RPM_OPT_FLAGS" \
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%find_lang %{name}
%suse_update_desktop_file %name -G "Select a language"
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc
%{_bindir}/dmlangsel
%{_datadir}/applications/dmlangsel.desktop
%if %suse_version < 1020
%{_datadir}/locale/hy
%{_datadir}/locale/mg
%{_datadir}/locale/or
%{_datadir}/locale/si
%endif
%changelog
* Tue May 20 2008 mauro@suse.de
- Updated to version 0.6.
- This fixes bnc#378474
* Fri Feb 22 2008 gekker@suse.de
- Don't just fall back to en_US
* Wed Jan 09 2008 gekker@suse.de
- Initial import into autobuild