Summary: C++ libraries for sockets and daemons, meta-package depending on individual subpackages. Name: fancylog Packager: Wolfgang Glas Version: 1.0.3 Release: 10 License: LGPL Group: Libraries/C++ Source: fancylog-%{version}.tar.gz BuildRequires: pba-cbs glibc-devel gcc Requires: %{name}-1 BuildRoot: /var/tmp/%{name}-buildroot ###XBCS-PBA-Category: fancyclibs ###XBCS-PBA-Generation: 1 ###XBCS-PBA-Distributions: centos7 centos8 ###XBCS-PBA-Repository: rpm.clazzes.org ###XBCS-PBA-Build-Source-pba: http://rpm.clazzes.org/repo/pba-1.0/pba-1.0.repo %description The configurable fancylog library. %package 1 Group: Libraries/C Requires: glibc Summary: Runtime package for fancylog1 %description 1 Runtime package for fancylog ABI v1 %package 1-devel Group: Libraries/C Requires: glibc-devel %{name}-1 = %{version} Summary: Development package for fancylog1 %description 1-devel Development package for fancylog ABI v1 %prep %setup -q make -C build/unix/release DESTDIR=$RPM_BUILD_ROOT ARCHLIBSUBDIR=%{_lib} CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/include mkdir -p $RPM_BUILD_ROOT/usr/%{_lib} make -C build/unix/release DESTDIR=$RPM_BUILD_ROOT ARCHLIBSUBDIR=%{_lib} CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" install %clean rm -rf $RPM_BUILD_ROOT %files 1 %defattr(755,root,root) /usr/%{_lib}/libfancylog.so.1 %files 1-devel %defattr(-,root,root) /usr/include/fancylog.h /usr/include/fancylogversion.h /usr/%{_lib}/libfancylog.so /usr/%{_lib}/pkgconfig/fancylog.pc %changelog