From 9d14c1db312a72a323bb959da4b41790b5764d64 Mon Sep 17 00:00:00 2001 From: Daniel Novotny Date: Mon, 18 Jan 2010 11:00:37 +0000 Subject: [PATCH] static library moved to new "-static" subpackage (#556048) --- file.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/file.spec b/file.spec index 2c75292..75a352e 100644 --- a/file.spec +++ b/file.spec @@ -5,7 +5,7 @@ Summary: A utility for determining file types Name: file Version: 5.03 -Release: 17%{?dist} +Release: 18%{?dist} License: BSD Group: Applications/File Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -49,6 +49,15 @@ Requires: %{name} = %{version}-%{release} The file-devel package contains the header files and libmagic library necessary for developing programs using libmagic. +%package static +Summary: Static library for file development +Group: Applications/File +Requires: %{name} = %{version}-%{release} + +%description static +The file-static package contains the static version of +the libmagic library. + %package -n python-magic Summary: Python bindings for the libmagic API Group: Development/Libraries @@ -143,11 +152,14 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%{_libdir}/*.a %{_libdir}/*.so %{_includedir}/magic.h %{_mandir}/man3/* +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a + %files -n python-magic %defattr(-, root, root, -) %doc python/README COPYING python/example.py @@ -157,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Mon Jan 18 2010 Daniel Novotny 5.03-18 +- static library moved to new "-static" subpackage (#556048) + * Fri Dec 25 2009 Robert Scheck 5.03-17 - removed broken install of example.py (%%doc is much enough)