package created using the webbuild interface [release 1.4-1mamba;Thu Feb 28 2019]
This commit is contained in:
parent
7db54b0399
commit
de58e80753
@ -1,2 +1,4 @@
|
|||||||
# libbytesize
|
# libbytesize
|
||||||
|
|
||||||
|
A tiny library providing a C "class" for working with arbitrary big sizes in bytes.
|
||||||
|
|
||||||
|
77
libbytesize.spec
Normal file
77
libbytesize.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
Name: libbytesize
|
||||||
|
Version: 1.4
|
||||||
|
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
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libbytesize.so.*
|
||||||
|
%dir %{python27_sitearch}/bytesize
|
||||||
|
%{python27_sitearch}/bytesize/*
|
||||||
|
%dir %{python3_sitearch}/bytesize
|
||||||
|
%{python3_sitearch}/bytesize/*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_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/*
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user