osc copypac from project:network:samba:STABLE package:libtdb1 revision:6
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=1
This commit is contained in:
commit
85ee9db555
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
libtdb1
|
23
libtdb1.changes
Normal file
23
libtdb1.changes
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 09:09:53 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Require pkg-config from the devel package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 09:01:07 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Move python file to python-tdb subpackage.
|
||||||
|
- Build and add tdbbackup, tdbdump, tdbrestore, and tdbtool man pages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 08:34:17 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Cleanup BuildRequires.
|
||||||
|
- Polish package descriptions.
|
||||||
|
- Add rpmlintrc file to set badness for non PIE code to 0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 7 17:52:30 UTC 2011 - lars@samba.org
|
||||||
|
|
||||||
|
- Initial independent libtdb1 package.
|
||||||
|
|
2
libtdb1.rpmlintrc
Normal file
2
libtdb1.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# non PIE is ok for tdbbackup tdbdump tdbrestore tdbtool
|
||||||
|
setBadness('non-position-independent-executable',0)
|
155
libtdb1.spec
Normal file
155
libtdb1.spec
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libtdb1 (Version 1.2.10)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: libtdb1
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: python-devel
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||||
|
%define build_make_smp_mflags %{?_smp_mflags}
|
||||||
|
%else
|
||||||
|
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||||
|
%endif
|
||||||
|
License: GPLv3+
|
||||||
|
Group: System/Libraries
|
||||||
|
Url: http://tdb.samba.org/
|
||||||
|
AutoReqProv: on
|
||||||
|
Version: 1.2.10
|
||||||
|
Release: 0
|
||||||
|
PreReq: /sbin/ldconfig
|
||||||
|
Summary: Samba tdb Library
|
||||||
|
Source: http://download.samba.org/pub/tdb/tdb-%{version}.tar.gz
|
||||||
|
Source4: baselibs.conf
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
|
||||||
|
except that it allows multiple simultaneous writers and uses locking
|
||||||
|
internally to keep writers from trampling on each other. TDB is also extremely
|
||||||
|
small.
|
||||||
|
|
||||||
|
This package contains the tdb1 library.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: GPL-3.0+
|
||||||
|
Summary: Libraries and Header Files to Develop Programs with tdb1 Support
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libtdb1 = %{version}
|
||||||
|
%if 0%{?suse_version} > 1020
|
||||||
|
Requires: pkg-config
|
||||||
|
%else
|
||||||
|
Requires: pkgconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
|
||||||
|
except that it allows multiple simultaneous writers and uses locking
|
||||||
|
internally to keep writers from trampling on each other. TDB is also extremely
|
||||||
|
small.
|
||||||
|
|
||||||
|
This package contains libraries and header files need for development.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n tdb-tools
|
||||||
|
License: GPL-3.0+
|
||||||
|
Summary: Tools to manipulate tdb files
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n tdb-tools
|
||||||
|
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
|
||||||
|
except that it allows multiple simultaneous writers and uses locking
|
||||||
|
internally to keep writers from trampling on each other. TDB is also extremely
|
||||||
|
small.
|
||||||
|
|
||||||
|
This package contains tools to manage Tdb files.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python-tdb
|
||||||
|
License: GPL-3.0+
|
||||||
|
Summary: Python bindings for the Tdb library
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libtdb1 = %{version}
|
||||||
|
|
||||||
|
%description -n python-tdb
|
||||||
|
Python bindings for libtdb
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n tdb-%{version} -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 911
|
||||||
|
OPTIMIZATION="-O"
|
||||||
|
%else
|
||||||
|
# use the default optimization
|
||||||
|
unset OPTIMIZATION
|
||||||
|
%endif
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
|
||||||
|
CONFIGURE_OPTIONS="\
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--disable-rpath \
|
||||||
|
--bundled-libraries=NONE \
|
||||||
|
"
|
||||||
|
./configure ${CONFIGURE_OPTIONS}
|
||||||
|
%{__make} %{build_make_smp_mflags} \
|
||||||
|
all
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
DESTDIR=${RPM_BUILD_ROOT} make install
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n python-tdb -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n python-tdb -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtdb.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/tdb.h
|
||||||
|
%{_libdir}/libtdb.so
|
||||||
|
%{_libdir}/pkgconfig/tdb.pc
|
||||||
|
|
||||||
|
%files -n tdb-tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/tdbbackup
|
||||||
|
%{_bindir}/tdbdump
|
||||||
|
%{_bindir}/tdbrestore
|
||||||
|
%{_bindir}/tdbtool
|
||||||
|
%{_mandir}/man8/tdbbackup.8*
|
||||||
|
%{_mandir}/man8/tdbdump.8*
|
||||||
|
%{_mandir}/man8/tdbrestore.8*
|
||||||
|
%{_mandir}/man8/tdbtool.8*
|
||||||
|
|
||||||
|
%files -n python-tdb
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{python_sitearch}/tdb.so
|
||||||
|
|
||||||
|
%changelog
|
3
tdb-1.2.10.tar.gz
Normal file
3
tdb-1.2.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c07edbc093caa857063a53c0de7b8419b58c9f13b4bfaeaffd480248e03573bb
|
||||||
|
size 501422
|
Loading…
x
Reference in New Issue
Block a user