# Review at https://bugzilla.redhat.com/show_bug.cgi?id=620191
Name: clawsker
Version: 0.7.2
Release: 4%{?dist}
Summary: Dialog to edit Claws Mail's hidden preferences
Group: Applications/Internet
License: GPLv3+
URL: http://www.claws-mail.org/clawsker
Source0: http://www.claws-mail.org/tools/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
BuildRequires: desktop-file-utils
Requires: claws-mail
%description
Clawsker is a Perl-GTK2 applet to edit hidden preferences for Claws Mail, and
to do it in a safe and user friendly way, preventing users from raw editing of
configuration files.
Claws Mail is a fast and lightweight Mail User Agent by the Claws Mail Team.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*
%{_datadir}/applications/%{name}.desktop
%changelog
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 15 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Feb 14 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-2
- No longer require perl(Gtk2) and perl(Locale::gettext)
* Sat Jun 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-1
- Initial package