2024-01-06 03:55:45 +01:00
|
|
|
Name: libbytesize
|
2024-01-06 03:55:45 +01:00
|
|
|
Version: 2.2
|
2024-01-06 03:55:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A tiny library providing a C "class" for working with arbitrary big sizes in bytes
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/storaged-project/libbytesize
|
|
|
|
## GITSOURCE https://github.com/storaged-project/libbytesize.git 1.4
|
|
|
|
Source: https://github.com/storaged-project/libbytesize.git/%{version}/libbytesize-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libmpfr-devel
|
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A tiny library providing a C "class" for working with arbitrary big sizes in bytes.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 03:55:45 +01:00
|
|
|
%files
|
|
|
|
#-f %{name}.lang
|
2024-01-06 03:55:45 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libbytesize.so.*
|
2024-01-06 03:55:45 +01:00
|
|
|
#%dir %{python27_sitearch}/bytesize
|
|
|
|
#%{python27_sitearch}/bytesize/*
|
2024-01-06 03:55:45 +01:00
|
|
|
%dir %{python3_sitearch}/bytesize
|
|
|
|
%{python3_sitearch}/bytesize/*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:55:45 +01:00
|
|
|
%{_bindir}/bscalc
|
|
|
|
%dir %{_includedir}/bytesize
|
2024-01-06 03:55:45 +01:00
|
|
|
%{_includedir}/bytesize/bs_size.h
|
|
|
|
%{_libdir}/libbytesize.la
|
|
|
|
%{_libdir}/libbytesize.so
|
|
|
|
%{_libdir}/pkgconfig/bytesize.pc
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libbytesize
|
|
|
|
%{_datadir}/gtk-doc/html/libbytesize/*
|
2024-01-06 03:55:45 +01:00
|
|
|
%{_mandir}/man1/bscalc.1*
|
2024-01-06 03:55:45 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:55:45 +01:00
|
|
|
* Mon Feb 17 2020 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:45 +01:00
|
|
|
* Wed Aug 14 2019 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:45 +01:00
|
|
|
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:55:45 +01:00
|
|
|
* Thu Feb 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-1mamba
|
|
|
|
- package created using the webbuild interface
|