automatic version update by autodist [release 5.41-1mamba;Tue Oct 19 2021]

This commit is contained in:
Automatic Build System 2024-01-05 22:17:26 +01:00
parent dd5c23bdef
commit 0e17904ff9

View File

@ -1,13 +1,12 @@
%define pymagic_version 0.1
Name: file
Version: 5.40
Version: 5.41
Release: 1mamba
Summary: An utility for determining file types
Group: Applications/File
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.darwinsys.com/file
URL: https://www.darwinsys.com/file/
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
Source1: file-magic_local
Patch0: file-4.21-pybuild.patch
@ -21,6 +20,8 @@ Patch7: file-5.04-zmachine-magic-update.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: liblzma-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: libmagic = %{?epoch:%epoch:}%{version}-%{release}
@ -45,14 +46,13 @@ This package contains the libmagic library.
Summary: The development files for application which use file
Group: Development/Libraries
Requires: libmagic = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: file-devel
Obsoletes: file-devel < 5.41
Provides: file-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n libmagic-devel
The file command is used to identify a particular file according to the type of data contained by the file.
File can identify many different file types, including ELF binaries, system libraries, RPM packages, and different graphics formats.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%if "%{stage1}" != "1"
%package -n python-magic
@ -64,7 +64,6 @@ Requires: python >= %python_version
%description -n python-magic
The file command is used to identify a particular file according to the type of data contained by the file.
File can identify many different file types, including ELF binaries, system libraries, RPM packages, and different graphics formats.
This package contains the Python bindings to allow access to the libmagic API.
%endif
@ -132,19 +131,18 @@ ln -s ../magic %{buildroot}%{_datadir}/file/magic
%files
%defattr(-,root,root)
%{_bindir}/file
%{_mandir}/man1/*
#%{_mandir}/man4/*
%{_mandir}/man5/magic.5.gz
%{_datadir}/file/magic
%{_datadir}/magic
%{_datadir}/misc/magic
%{_datadir}/misc/magic.mgc
%doc ChangeLog MAINT README
%{_mandir}/man1/*
%{_mandir}/man5/magic.5*
%files -n libmagic
%defattr(-,root,root)
%{_sysconfdir}/magic
%{_libdir}/libmagic.so.*
%doc AUTHORS COPYING
%files -n libmagic-devel
%defattr(-,root,root)
@ -163,6 +161,9 @@ ln -s ../magic %{buildroot}%{_datadir}/file/magic
#%endif
%changelog
* Tue Oct 19 2021 Automatic Build System <autodist@mambasoft.it> 5.41-1mamba
- automatic version update by autodist
* Wed Mar 31 2021 Automatic Build System <autodist@mambasoft.it> 5.40-1mamba
- automatic version update by autodist