sqlcipher/sqlcipher.spec

120 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: sqlcipher
Version: 4.5.6
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/
Source: https://github.com/sqlcipher/sqlcipher.git/v%{version}/sqlcipher-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libedit-devel
BuildRequires: libopenssl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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.md
%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.so
%{_libdir}/pkgconfig/sqlcipher.pc
%doc README.md
%changelog
* Fri Jan 19 2024 Automatic Build System <autodist@openmamba.org> 4.5.6-1mamba
- automatic version update by autodist
* Fri Sep 01 2023 Automatic Build System <autodist@mambasoft.it> 4.5.5-1mamba
- automatic version update by autodist
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 4.5.4-1mamba
- automatic version update by autodist
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 4.5.3-1mamba
- automatic version update by autodist
* Fri Aug 05 2022 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist
* Sun Mar 06 2022 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
- automatic version update by autodist
* Thu Mar 04 2021 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba
- automatic version update by autodist
* Wed Nov 25 2020 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic version update by autodist
* Fri Jun 05 2020 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
- automatic version update by autodist
* Fri Feb 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.0-1mamba
- package created using the webbuild interface