Package init
This commit is contained in:
commit
47d4ae0f1b
BIN
libdbi-0.9.0.tar.gz
Normal file
BIN
libdbi-0.9.0.tar.gz
Normal file
Binary file not shown.
2663
libdbi-aarch64.patch
Normal file
2663
libdbi-aarch64.patch
Normal file
File diff suppressed because it is too large
Load Diff
68
libdbi.spec
Normal file
68
libdbi.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
Name: libdbi
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 13
|
||||||
|
Summary: a database-independent abstraction layer in C
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://libdbi.sourceforge.net/
|
||||||
|
Source0: https://sourceforge.net/projects/libdbi/files/libdbi/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: libdbi-aarch64.patch
|
||||||
|
BuildRequires: git gcc
|
||||||
|
|
||||||
|
%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 devel
|
||||||
|
Summary: Devlopment files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Help files for %{name}
|
||||||
|
Obsoletes: libdbi-doc
|
||||||
|
BuildArch: noarch
|
||||||
|
%description help
|
||||||
|
Help files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la_and_a
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog README NEWS
|
||||||
|
%exclude %{_datadir}/doc/%{name}-%{version}
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/%{name}.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/dbi
|
||||||
|
%{_libdir}/%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/dbi.pc
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc TODO doc/*.pdf doc/*guide
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9.0-13
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user