libextractor/libextractor.spec

156 lines
4.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libextractor
Version: 1.13
Release: 3mamba
Summary: A library used to extract meta-data from files of arbitrary type
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnu.org/software/libextractor/
Source: http://ftp.gnu.org/gnu/libextractor/libextractor-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libapparmor-devel
BuildRequires: libarchive-devel
BuildRequires: libbzip2-devel
BuildRequires: libexiv2-devel
BuildRequires: libflac-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgif-devel
BuildRequires: libglib-devel
BuildRequires: libgsf-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel
BuildRequires: libmagic-devel
BuildRequires: libmpeg2-devel
BuildRequires: libogg-devel
BuildRequires: librpm-devel
BuildRequires: libsmf-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.19.1.1-2mamba
BuildRequires: mpeg2dec-devel
BuildRequires: gettext-devel
BuildRequires: pkgconfig
Requires(post): %{__install_info}
Requires(preun): %{__install_info}
%description
Libextractor is a library used to extract meta-data from files of arbitrary type.
It is designed to use helper-libraries to perform the actual extraction, and to be trivially extendable by linking against external extractors for additional file types.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libextractor is a library used to extract meta-data from files of arbitrary type.
It is designed to use helper-libraries to perform the actual extraction, and to be trivially extendable by linking against external extractors for additional file types.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
%install_info %{name}.info
exit 0
%preun
%uninstall_info %{name}.info
exit 0
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/extract
%{_libdir}/libextractor.so.*
%{_libdir}/libextractor_common.so.*
%dir %{_libdir}/libextractor
%{_libdir}/libextractor/libextractor_*.a
%{_libdir}/libextractor/libextractor_*.so
%{_infodir}/%{name}.info.*
%{_mandir}/man1/extract.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libextractor.a
%{_libdir}/libextractor.so
%{_libdir}/libextractor_common.a
%{_libdir}/libextractor_common.so
%{_libdir}/pkgconfig/libextractor.pc
%{_mandir}/man3/libextractor.*
%doc ChangeLog NEWS README TODO
%changelog
* Wed May 15 2024 Automatic Build System <autodist@mambasoft.it> 1.13-3mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.19.1.1-2mamba
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- removed requirement for libtqt-devel and other specfile fixes
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
- automatic version update by autodist
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-2mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
- automatic version update by autodist
* Tue Sep 08 2020 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
- automatic update by autodist
* Thu Apr 25 2019 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic update by autodist
* Thu May 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-2mamba
- ffmpeg 2.2 rebuild
* Fri Oct 25 2013 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic update by autodist
* Thu Jul 04 2013 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Sat Jan 26 2013 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- update to 1.0.1
* Mon Jul 16 2007 Aleph0 <aleph0@openmamba.org> 0.5.18-1mamba
- package created by autospec