poco/poco.spec

85 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: poco
Version: 1.13.3
Release: 1mamba
Summary: C++ class libraries for network-centric, portable applications, complete edition with debug libraries
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pocoproject.org/
Source: https://pocoproject.org/releases/poco-%{version}/poco-%{version}-all.tar.bz2
License: Boost Software License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libiodbc-devel
BuildRequires: libmariadb-devel
BuildRequires: libopenssl-devel
BuildRequires: libpostgresql-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
C++ class libraries for network-centric, portable applications, complete edition with debug libraries.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{version}-all
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/cpspc
%{_bindir}/f2cpsp
%{_bindir}/poco-arc
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libPoco*.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/Poco
%{_includedir}/Poco/*
%dir %{_libdir}/cmake/Poco
%{_libdir}/cmake/Poco/Poco*.cmake
%{_libdir}/libPoco*.so
%doc README
%changelog
* Sat Apr 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.3-1mamba
- package created using the webbuild interface