From 431d757d15947638506ca9e0d511888de2a6eb15 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 7 Apr 2024 01:03:51 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.13.3-1mamba;Sat Apr 06 2024] --- README.md | 2 ++ poco.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 poco.spec diff --git a/README.md b/README.md index 7d6dc79..2bb3e73 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # poco +C++ class libraries for network-centric, portable applications, complete edition with debug libraries. + diff --git a/poco.spec b/poco.spec new file mode 100644 index 0000000..8e31d8f --- /dev/null +++ b/poco.spec @@ -0,0 +1,84 @@ +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 +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 1.13.3-1mamba +- package created using the webbuild interface