package created using the webbuild interface [release 0.1.8-1mamba;Thu May 17 2018]
This commit is contained in:
parent
8d03c558ad
commit
7cf1f07af0
@ -1,2 +1,4 @@
|
||||
# libcomps
|
||||
|
||||
Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3.
|
||||
|
||||
|
70
libcomps.spec
Normal file
70
libcomps.spec
Normal file
@ -0,0 +1,70 @@
|
||||
Name: libcomps
|
||||
Version: 0.1.8
|
||||
Release: 1mamba
|
||||
Summary: Alternative for yum.comps library written in pure C with Python bindings
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/rpm-software-management/libcomps
|
||||
Source: https://github.com/rpm-software-management/libcomps.git/libcomps-%{version}/libcomps-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython27-devel
|
||||
BuildRequires: libxml2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
cd libcomps
|
||||
%cmake -d build \
|
||||
-DPYTHON_EXECUTABLE=%{__python27}
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C libcomps/build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcomps.so.*
|
||||
%dir %{python27_sitearch}/libcomps
|
||||
%{python27_sitearch}/libcomps/*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libcomps
|
||||
%{_includedir}/libcomps/*
|
||||
%{_libdir}/libcomps.so
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Thu May 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user