Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-gdbm
mingw64-gdbm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-gdbm.spec of Package mingw64-gdbm
# # spec file for package mingw64-gdbm # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{_mingw64_package_header_debug} Name: mingw64-gdbm Version: 1.18.1 Release: 0 Summary: GNU dbm key/data library License: GPL-3.0-or-later Group: Development/Libraries/C and C++ URL: https://www.gnu.org/software/gdbm/ Source: https://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz # Patch0 refreshed from https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-gdbm Patch0: gdbm-1.15-win32.patch # PATCH-FIX-SUSE: remove the build date from src/version.c Patch4: gdbm-no-build-date.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem BuildRequires: mingw64-libintl-devel BuildRequires: mingw64-readline-devel BuildRequires: pkgconfig BuildRequires: xz #!BuildIgnore: post-build-checks BuildArch: noarch %lang_package %description GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. %_mingw64_debug_package %package -n mingw64-libgdbm Summary: GNU dbm library Group: System/Libraries Recommends: %{name}-lang = %{version} Obsoletes: %{name} < %{version}-%{release} Provides: %{name} = %{version}-%{release} %description -n mingw64-libgdbm GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. %package -n mingw64-libgdbm_compat Summary: GNU dbm key/data database compat wrapper Group: System/Libraries Recommends: %{name}-lang = %{version} %description -n mingw64-libgdbm_compat GNU dbm is a library of database functions that use extensible hashing and work similar to the standard UNIX dbm. These routines are provided to a programmer needing to create and manipulate a hashed database. This library is providing compatibility wrappers. %package devel Summary: GNU dbm library (development files) Group: Development/Libraries/C and C++ %description devel GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. This package contains all necessary include files and libraries needed to develop applications that require the provided includes and libraries. %prep %setup -q -n gdbm-%{version} %patch -P 0 -p1 %patch -P 4 -p1 %build # Remove requirement to have aclocal-1.5 sed -i '/AM_AUTOMAKE_VERSION/d' aclocal.m4 autoreconf -fvi MINGW64_CFLAGS="%{_mingw64_cflags} -I/$RPM_BUILD_DIR/%{name}-%{version}-%{release} -Wno-return-type -fcommon" \ MINGW64_LDFLAGS="%{_mingw64_ldflags} -L/$RPM_BUILD_DIR/%{name}-%{version}-%{release}" \ %_mingw64_configure \ --disable-static \ --disable-silent-rules \ --enable-libgdbm-compat \ --enable-nls \ --with-readline %{_mingw64_make} LDFLAGS=-no-undefined %install %make_install rm -r %{buildroot}%{_mingw64_datadir}/info find %{buildroot} -type f -name "*.la" -delete -print %_mingw64_find_lang gdbm %files -n mingw64-libgdbm %license COPYING %{_mingw64_bindir}/libgdbm-6.dll %files -n mingw64-libgdbm_compat %license COPYING %{_mingw64_bindir}/libgdbm_compat-4.dll %files devel %doc README NEWS %{_mingw64_bindir}/*.exe %{_mingw64_includedir}/* %{_mingw64_libdir}/*.a #%%{_mingw64_libdir}/pkgconfig/*.pc %{_mingw64_datadir}/man %files lang -f gdbm.lang %if 0 %lang(da) %{_mingw64_datadir}/locale/da/LC_MESSAGES/gdbm.mo %lang(de) %{_mingw64_datadir}/locale/de/LC_MESSAGES/gdbm.mo %lang(eo) %{_mingw64_datadir}/locale/eo/LC_MESSAGES/gdbm.mo %lang(es) %{_mingw64_datadir}/locale/es/LC_MESSAGES/gdbm.mo %lang(fi) %{_mingw64_datadir}/locale/fi/LC_MESSAGES/gdbm.mo %lang(fr) %{_mingw64_datadir}/locale/fr/LC_MESSAGES/gdbm.mo %lang(ja) %{_mingw64_datadir}/locale/ja/LC_MESSAGES/gdbm.mo %lang(pl) %{_mingw64_datadir}/locale/pl/LC_MESSAGES/gdbm.mo %lang(pt_BR) %{_mingw64_datadir}/locale/pt_BR/LC_MESSAGES/gdbm.mo %lang(sr) %{_mingw64_datadir}/locale/sr/LC_MESSAGES/gdbm.mo %lang(sv) %{_mingw64_datadir}/locale/sv/LC_MESSAGES/gdbm.mo %lang(uk) %{_mingw64_datadir}/locale/uk/LC_MESSAGES/gdbm.mo %lang(vi) %{_mingw64_datadir}/locale/vi/LC_MESSAGES/gdbm.mo %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor