cdd26197 |
Summary: Contains a utility for determining file types
Name: file
Version: 5.30 |
a8ab4187 |
Release: 3%{?dist} |
cdd26197 |
License: BSD
URL: http://www.darwinsys.com/file
Group: Applications/File
Vendor: VMware, Inc.
Distribution: Photon
Source0: ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
%define sha1 file=276051cd2c438d4e7a321c4422a5b3bc850fd747
Patch0: file-5.30-keep-not-stripped-last.patch |
a8ab4187 |
Requires: %{name}-libs = %{version}-%{release}
Conflicts: toybox |
f4d17450 |
%description
The package contains a utility for determining the type of a
given file or files |
cdd26197 |
|
a8ab4187 |
%package libs
Summary: Library files for file
%description libs
It contains the libraries to run the application.
|
cdd26197 |
%package devel
Summary: Header and development files for file
Requires: %{name} = %{version}-%{release}
%description devel
It contains the libraries and header files to create applications.
|
f4d17450 |
%prep
%setup -q |
a6a94bc2 |
%patch0 -p1 |
f4d17450 |
%build
./configure \ |
cdd26197 |
--prefix=%{_prefix} \
--disable-silent-rules |
f4d17450 |
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot}%{_libdir} -name '*.la' -delete |
ea701479 |
|
f4d17450 |
%check |
ea701479 |
make %{?_smp_mflags} check
|
a8ab4187 |
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
|
f4d17450 |
%files
%defattr(-,root,root)
%{_bindir}/* |
cdd26197 |
%{_mandir}/*man1/*
%{_mandir}/*man4/* |
a8ab4187 |
%files libs
%defattr(-,root,root)
%{_libdir}/*.so.* |
cdd26197 |
%{_datarootdir}/misc/magic.mgc
%files devel |
f4d17450 |
%{_libdir}/*.so
%{_includedir}/* |
cdd26197 |
%{_mandir}/*man3/*
|
f4d17450 |
%changelog |
a8ab4187 |
* Fri Dec 15 2017 Divya Thaluru <dthaluru@vmware.com> 5.30-3
- Added seperate package for libraries
- Added toybox as conflict package |
cdd26197 |
* Fri Jun 23 2017 Xiaolin Li <xiaolinl@vmware.com> 5.30-2
- Add devel package.
* Tue Apr 04 2017 Chang Lee <changlee@vmware.com> 5.30-1
- Updated to version 5.30
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.24-2
- GA - Bump release of all rpms
* Tue Jan 12 2016 Xiaolin Li <xiaolinl@vmware.com> 5.24-1
- Updated to version 5.24
* Mon Apr 6 2015 Divya Thaluru <dthaluru@vmware.com> 5.22-1
- Initial build. First version |