From d1649ba067669b5705e50407d95f9e0112ac9108 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 28 Jul 2018 14:26:52 +0200 Subject: [PATCH] - binaries to -progs subpackage - rel 2 --- libmspack.spec | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/libmspack.spec b/libmspack.spec index 3114b3c..e4277f2 100644 --- a/libmspack.spec +++ b/libmspack.spec @@ -6,7 +6,7 @@ Summary: A library for Microsoft compression formats Summary(pl.UTF-8): Biblioteka do formatów kompresji używanych przez Microsoft Name: libmspack Version: 0.6alpha -Release: 1 +Release: 2 License: LGPL v2.1 Group: Libraries Source0: https://www.cabextract.org.uk/libmspack/%{name}-%{version}.tar.gz @@ -54,6 +54,19 @@ Static libmspack library. %description static -l pl.UTF-8 Statyczna biblioteka libmspack. +%package progs +Summary: MS expand-compatible, .cab and .chm decompressors +Summary(pl.UTF-8): Dekompresory do plików .cab, .chm i zgodnych z MS expand +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} + +%description progs +Microsoft expand.exe-compatible, .cab and .chm file decompressors. + +%description progs -l pl.UTF-8 +Programy dekompresujące pliki .cab, .chm i zgodne z expand.exe +Microsoftu. + %prep %setup -q @@ -77,10 +90,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO -%attr(755,root,root) %{_bindir}/cabrip -%attr(755,root,root) %{_bindir}/chmextract -%attr(755,root,root) %{_bindir}/msexpand -%attr(755,root,root) %{_bindir}/oabextract %attr(755,root,root) %{_libdir}/libmspack.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libmspack.so.0 @@ -97,3 +106,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{_libdir}/libmspack.a %endif + +%files progs +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/cabrip +%attr(755,root,root) %{_bindir}/chmextract +%attr(755,root,root) %{_bindir}/msexpand +%attr(755,root,root) %{_bindir}/oabextract -- 2.43.0