From e9a53c5967ae1a59082aa1bf274fb100effbeb49 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 25 Nov 2004 14:22:32 +0000 Subject: [PATCH 1/1] - new Changed files: freeze.spec -> 1.1 --- freeze.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 freeze.spec diff --git a/freeze.spec b/freeze.spec new file mode 100644 index 0000000..f7e9822 --- /dev/null +++ b/freeze.spec @@ -0,0 +1,57 @@ +Summary: freeze/melt/fcat compression utilities +Summary(pl): Narzêdzia do kompresji freeze/melt/fcat +Name: freeze +Version: 2.5.0 +Release: 1 +License: distributable +Group: Applications/Archiving +Source0: http://www.ibiblio.org/pub/Linux/utils/compress/%{name}-%{version}.tar.gz +# Source0-md5: 3ca4b267c0d49451ff58cf403671b98a +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Freeze is an old file compressor and decompressor that is not in +common use anymore, but can be useful if the need ever arises to +dearchive files compressed with it. + +Freeze uses the Lempel-Ziv algorithm on the first pass and the dynamic +Huffman algorithm on the second one. + +%description -l pl +Freeze to stary kompresor i dekompresor plików, nie bêd±cy ju¿ w +powszechnym u¿yciu, ale przydatny w przypadku konieczno¶ci +rozpakowania plików nim skompresowanych. + +Freeze u¿ywa algorytmu Lempel-Ziv w pierwszym przebiegu i dynamicznego +algorytmu Huffmana w drugim. + +%prep +%setup -q + +%build +%configure +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -I." + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install freeze statist $RPM_BUILD_ROOT%{_bindir} +ln -sf freeze $RPM_BUILD_ROOT%{_bindir}/fcat +ln -sf freeze $RPM_BUILD_ROOT%{_bindir}/melt +ln -sf freeze $RPM_BUILD_ROOT%{_bindir}/unfreeze +install freeze.1 statist.1 $RPM_BUILD_ROOT%{_mandir}/man1 +echo '.so freeze.1' > $RPM_BUILD_ROOT%{_mandir}/man1/fcat.1 +echo '.so freeze.1' > $RPM_BUILD_ROOT%{_mandir}/man1/melt.1 +echo '.so freeze.1' > $RPM_BUILD_ROOT%{_mandir}/man1/unfreeze.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* -- 2.44.0