sensible-utils/sensible-utils.spec
2014-02-26 15:04:46 +01:00

45 lines
1 KiB
RPMSpec

Name: sensible-utils
Version: 0.0.9
Release: 1%{?dist}
Summary: Utilities for sensible alternative selection
BuildArch: noarch
License: GPLv2+
URL: https://packages.debian.org/unstable/admin/%{name}
Source0: http://ftp.de.debian.org/debian/pool/main/s/%{name}/%{name}_%{version}.tar.gz
%description
This package provides a number of small utilities which are used by programs to
sensibly select and spawn an appropriate browser, editor, or pager.
%prep
%setup -q
# The french manpage is latin1, the german and spanish ones are encoded with
# some unusable non-iso encoding and are left as is.
file=po4a/fr/sensible-editor.1
iconv -f latin1 -t utf8 < $file > $file.new && mv -f $file.new $file
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%doc debian/copyright debian/changelog
%{_bindir}/sensible-*
%{_bindir}/select-editor
%{_mandir}/man1/*.1*
%{_mandir}/*/man1/*.1*
%changelog
* Fri Feb 21 2014 Sandro Mani <manisandro@gmail.com> - 0.0.9-1
- Initial package