diff --git a/.cvsignore b/.cvsignore index e69de29..3396d3e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +msort-8.46.tar.gz diff --git a/msort.spec b/msort.spec new file mode 100644 index 0000000..5a7ec8d --- /dev/null +++ b/msort.spec @@ -0,0 +1,60 @@ +Summary: Sort files in sophisticated ways +Name: msort +Version: 8.46 +Release: 1%{?dist} +License: GPLv3 +Group: Applications/Publishing +URL: http://billposer.org/Software/msort.html +Source0: http://billposer.org/Software/Downloads/%{name}-%{version}.tar.gz +BuildRequires: tre-devel libuninum-devel >= 2.5 libicu-devel gmp-devel +Requires: iwidgets +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description + +Msort is a program for sorting files in sophisticated ways. Records +need not be single lines. Key fields may be selected by position, tag, +or character range. For each key, distinct exclusions, multigraphs, +substitutions. and a sort order may be defined. Comparisons may be +lexicographic, numeric, by string length, date, or time. Optional keys +are supported. Msort uses the Unicode character set and provides full +Unicode case-folding. The basic program has a somewhat complex command +line interface, but may be driven by an optional GUI. + +%prep +%setup -q + +%build +%configure --disable-utf8proc +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} DESTDIR=%{buildroot} install +%{__install} -p -m 0644 -D msort.1 %{buildroot}%{_mandir}/man1/msort.1 + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%doc AUTHORS COPYING ChangeLog Doc/* NEWS README TODO +%{_bindir}/msg +%{_bindir}/msort +%{_mandir}/man1/msort.1* + +%changelog +* Thu May 29 2008 Terje Rosten - 8.46-1 +- 8.46 + +* Tue May 20 2008 Terje Rosten - 8.45-1 +- 8.45 +- random cleanup +- build with libicu +- add req on iwidgets + +* Sun Jun 17 2007 Dries Verachtert - 8.40-1 +- Rebuild against libuninum 2.5. + +* Tue Oct 18 2005 Dries Verachtert - 8.9-1 +- Initial package. diff --git a/sources b/sources index e69de29..9785c61 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa84730eae0691341919db244f821c68 msort-8.46.tar.gz