Accepting request 56138 from devel:libraries:c_c++
Accepted submit request 56138 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/56138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbi?expand=0&rev=1
This commit is contained in:
commit
073c19f9ee
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
|
3
libdbi-0.8.3.tar.bz2
Normal file
3
libdbi-0.8.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60650d2b9c58239e42fe1d55b48c8359016eec31b7eff966cf4ba5e70ddb9f94
|
||||
size 897868
|
11
libdbi.changes
Normal file
11
libdbi.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 15 16:19:01 CET 2010 - meissner@suse.de
|
||||
|
||||
- cleanup, use RPM_OPT_FLAGS, --disable-static, no .la files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 15 16:08:27 CET 2010 - meissner@suse.de
|
||||
|
||||
- initial import if libdbi, a database-independent abstraction layer in C,
|
||||
similar to the DBI/DBD layer in Perl.
|
||||
|
93
libdbi.spec
Normal file
93
libdbi.spec
Normal file
@ -0,0 +1,93 @@
|
||||
#
|
||||
# spec file for package libdbi (Version 0.8.3)
|
||||
#
|
||||
# Copyright (c) 2010 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/
|
||||
#
|
||||
|
||||
%define lname libdbi0
|
||||
|
||||
Summary: Database Independent Abstraction Layer for C
|
||||
Name: libdbi
|
||||
Version: 0.8.3
|
||||
Release: 1
|
||||
Group: Development/Libraries
|
||||
License: LGPL
|
||||
Url: http://libdbi.sourceforge.net/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%define debug_package_requires %{lname} = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
libdbi implements a database-independent abstraction layer in C, similar to the
|
||||
DBI/DBD layer in Perl. Writing one generic set of code, programmers can
|
||||
leverage the power of multiple databases and multiple simultaneous database
|
||||
connections by using this framework.
|
||||
|
||||
%package -n %{lname}
|
||||
Group: Development/Libraries
|
||||
Summary: Database Independent Abstraction Layer for C
|
||||
|
||||
%description -n %{lname}
|
||||
libdbi implements a database-independent abstraction layer in C, similar to the
|
||||
DBI/DBD layer in Perl. Writing one generic set of code, programmers can
|
||||
leverage the power of multiple databases and multiple simultaneous database
|
||||
connections by using this framework.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libdbi (Database Independent Abstraction Layer for C)
|
||||
Group: Development/Libraries
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
The libdbi-devel package contains the header files and documentation
|
||||
needed to develop applications with libdbi.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-docs --disable-static
|
||||
make AM_CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
mkdir %buildroot
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm %buildroot/%{_libdir}/libdbi.la
|
||||
rm README.win32
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING README*
|
||||
%{_libdir}/libdbi.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc TODO doc/programmers-guide.pdf doc/programmers-guide/ doc/driver-guide.pdf doc/driver-guide/
|
||||
%dir /usr/include/dbi
|
||||
/usr/include/dbi/dbi.h
|
||||
/usr/include/dbi/dbi-dev.h
|
||||
/usr/include/dbi/dbd.h
|
||||
%{_libdir}/libdbi.so
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user