Loading files/rpm/specs/fenstore.spec 0 → 100644 +39 −0 Changes for files/rpm/specs/fenstore.spec: 39 added lines, 0 removed lines. Original line number Diff line number Diff line Name: fenstore Version: 0.1.0 Release: 1%{?dist} Summary: Docker/OCI compatible image registry License: BSD-3-Clause URL: https://git.tuxist.de/tuxist/fenstore # build-chroot.sh: a tarball of FENSTORE_SRC (default ../FenStore) Source0: %{name}-%{version}.tar.gz BuildRequires: libnetplus-dev libhttppp-dev libcmdplus-dev libconfplus-dev libuuidp-dev libparitypp-dev BuildRequires: libjson-c-dev libressl-devel libdbpp-dev libauthdb-client-dev libmediadb-client-dev Requires: libnetplus1 libhttppp1 libparitypp1 libjson-c libressl libdbpp-backends %description FenStore is an image registry for docker, podman and every other client of the OCI distribution API. Logins go to FenrirDirectoryServer, repositories carry a description and a picture (kept in mediadb) and are listed on a web page, and the images are stored in a libparitypp cluster or as local files. %prep %setup -q %build cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DBUILD_TESTING=OFF cmake --build build %install DESTDIR=%{buildroot} cmake --install build %files %{_sbindir}/fenstore %{_datadir}/fenstore %dir %{_sysconfdir}/fenstore %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/fenstore/config.yaml %{_sysconfdir}/syslite/services/fenstore.service files/rpm/specs/libdbpp.spec +20 −11 Changes for files/rpm/specs/libdbpp.spec: 20 added lines, 11 removed lines. Original line number Diff line number Diff line Name: libdbpp-dev Version: 1.0.0 Release: 1%{?dist} Release: 2%{?dist} Summary: Tuxist database abstraction library (libdbpp, static + headers) License: LGPL-3.0 URL: https://git.tuxist.de Source0: %{name}-%{version}.tar.gz %description libdbpp is the Tuxist database abstraction library. It is a static-only Loading @@ -11,20 +12,28 @@ library; this package ships the static archive, headers and CMake package files. The pluggable database backends live in the libdbpp-backends package. %package -n libdbpp-backends Summary: Runtime database backends for libdbpp (PostgreSQL, SQLite) Requires: postgresql-libs Summary: Runtime database backends for libdbpp (SQLite, PostgreSQL) %description -n libdbpp-backends Loadable database backend plugins (pgsql, sqlite) for libdbpp, opened at runtime via dlopen from %{_libdir}/dbpp. The PostgreSQL backend links libpq. Loadable database backend plugins for libdbpp, opened at runtime via dlopen from %{_libdir}/dbpp: sqlite, and pgsql if libpq was there at build time. %prep %setup -q # upstream insists on libpq and builds examples nobody installs sed -i 's/^find_package(PostgreSQL REQUIRED)/find_package(PostgreSQL QUIET)/' backends/CMakeLists.txt sed -i '/^add_subdirectory(examples)/d' CMakeLists.txt %build cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 cmake --build build %install mkdir -p %{buildroot}%{_libdir}/cmake %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_libdir}/dbpp cp -a /usr/local/lib/libdbpp.a %{buildroot}%{_libdir}/ cp -a /usr/local/include/dbpp %{buildroot}%{_includedir}/ cp -a /usr/local/lib/cmake/libdbpp %{buildroot}%{_libdir}/cmake/ 2>/dev/null || true cp -a /usr/local/lib/dbpp/*.so %{buildroot}%{_libdir}/dbpp/ 2>/dev/null || true DESTDIR=%{buildroot} cmake --install build %files %{_libdir}/libdbpp.a Loading Loading
files/rpm/specs/fenstore.spec 0 → 100644 +39 −0 Changes for files/rpm/specs/fenstore.spec: 39 added lines, 0 removed lines. Original line number Diff line number Diff line Name: fenstore Version: 0.1.0 Release: 1%{?dist} Summary: Docker/OCI compatible image registry License: BSD-3-Clause URL: https://git.tuxist.de/tuxist/fenstore # build-chroot.sh: a tarball of FENSTORE_SRC (default ../FenStore) Source0: %{name}-%{version}.tar.gz BuildRequires: libnetplus-dev libhttppp-dev libcmdplus-dev libconfplus-dev libuuidp-dev libparitypp-dev BuildRequires: libjson-c-dev libressl-devel libdbpp-dev libauthdb-client-dev libmediadb-client-dev Requires: libnetplus1 libhttppp1 libparitypp1 libjson-c libressl libdbpp-backends %description FenStore is an image registry for docker, podman and every other client of the OCI distribution API. Logins go to FenrirDirectoryServer, repositories carry a description and a picture (kept in mediadb) and are listed on a web page, and the images are stored in a libparitypp cluster or as local files. %prep %setup -q %build cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DBUILD_TESTING=OFF cmake --build build %install DESTDIR=%{buildroot} cmake --install build %files %{_sbindir}/fenstore %{_datadir}/fenstore %dir %{_sysconfdir}/fenstore %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/fenstore/config.yaml %{_sysconfdir}/syslite/services/fenstore.service
files/rpm/specs/libdbpp.spec +20 −11 Changes for files/rpm/specs/libdbpp.spec: 20 added lines, 11 removed lines. Original line number Diff line number Diff line Name: libdbpp-dev Version: 1.0.0 Release: 1%{?dist} Release: 2%{?dist} Summary: Tuxist database abstraction library (libdbpp, static + headers) License: LGPL-3.0 URL: https://git.tuxist.de Source0: %{name}-%{version}.tar.gz %description libdbpp is the Tuxist database abstraction library. It is a static-only Loading @@ -11,20 +12,28 @@ library; this package ships the static archive, headers and CMake package files. The pluggable database backends live in the libdbpp-backends package. %package -n libdbpp-backends Summary: Runtime database backends for libdbpp (PostgreSQL, SQLite) Requires: postgresql-libs Summary: Runtime database backends for libdbpp (SQLite, PostgreSQL) %description -n libdbpp-backends Loadable database backend plugins (pgsql, sqlite) for libdbpp, opened at runtime via dlopen from %{_libdir}/dbpp. The PostgreSQL backend links libpq. Loadable database backend plugins for libdbpp, opened at runtime via dlopen from %{_libdir}/dbpp: sqlite, and pgsql if libpq was there at build time. %prep %setup -q # upstream insists on libpq and builds examples nobody installs sed -i 's/^find_package(PostgreSQL REQUIRED)/find_package(PostgreSQL QUIET)/' backends/CMakeLists.txt sed -i '/^add_subdirectory(examples)/d' CMakeLists.txt %build cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 cmake --build build %install mkdir -p %{buildroot}%{_libdir}/cmake %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_libdir}/dbpp cp -a /usr/local/lib/libdbpp.a %{buildroot}%{_libdir}/ cp -a /usr/local/include/dbpp %{buildroot}%{_includedir}/ cp -a /usr/local/lib/cmake/libdbpp %{buildroot}%{_libdir}/cmake/ 2>/dev/null || true cp -a /usr/local/lib/dbpp/*.so %{buildroot}%{_libdir}/dbpp/ 2>/dev/null || true DESTDIR=%{buildroot} cmake --install build %files %{_libdir}/libdbpp.a Loading