package created using the webbuild interface [release 4.3.0-1mamba;Fri Feb 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:04:59 +01:00
parent 13e32d2e51
commit e67649ba34
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sqlcipher
SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files.

90
sqlcipher.spec Normal file
View File

@ -0,0 +1,90 @@
Name: sqlcipher
Version: 4.3.0
Release: 1mamba
Summary: SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files
Group: Applications/Databases
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.zetetic.net/sqlcipher/
## GITSOURCE https://github.com/sqlcipher/sqlcipher.git v4.3.0
Source: https://github.com/sqlcipher/sqlcipher.git/v%{version}/sqlcipher-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libedit-devel
BuildRequires: libopenssl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--prefix=/usr \
--enable-tempstore=yes \
CFLAGS="%{optflags} -DSQLITE_HAS_CODEC" \
LDFLAGS="-lcrypto"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/sqlcipher
%doc LICENSE
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsqlcipher.so.*
%{_prefix}/lib/tcl*/sqlite3/libtclsqlite3.so
%{_prefix}/lib/tcl*/sqlite3/pkgIndex.tcl
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/sqlcipher
%{_includedir}/sqlcipher/*.h
%{_libdir}/libsqlcipher.a
%{_libdir}/libsqlcipher.la
%{_libdir}/libsqlcipher.so
%{_libdir}/pkgconfig/sqlcipher.pc
%doc README.md
%changelog
* Fri Feb 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.0-1mamba
- package created using the webbuild interface