48 lines
1.2 KiB
RPMSpec
48 lines
1.2 KiB
RPMSpec
Name: sensible-utils
|
|
Version: 0.0.9
|
|
Release: 2%{?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
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Feb 21 2014 Sandro Mani <manisandro@gmail.com> - 0.0.9-1
|
|
- Initial package
|