113 lines
3.4 KiB
RPMSpec
113 lines
3.4 KiB
RPMSpec
|
|
Name: sqlcipher
|
|
Version: 3.4.1
|
|
Release: 6%{?dist}
|
|
Summary: SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.
|
|
|
|
License: BSD
|
|
URL: https://github.com/sqlcipher/sqlcipher
|
|
Source0: https://github.com/sqlcipher/sqlcipher/archive/v%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
BuildRequires: readline-devel
|
|
BuildRequires: tcl
|
|
|
|
%description
|
|
SQLCipher is an open source library that provides transparent, secure 256-bit
|
|
AES encryption of SQLite database files. SQLCipher has been adopted as a secure
|
|
database solution by many commercial and open source products, making it one of
|
|
the most popular encrypted database platforms for Mobile, Embedded, and Desktop
|
|
applications
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
%description devel
|
|
The %{name}-devel package contains libraries for
|
|
developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
# recommended in README.md ## Compiling section
|
|
CFLAGS="%{optflags} -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2"
|
|
LDFLAGS="%{?__global_ldflags} -lcrypto"
|
|
%configure \
|
|
--enable-tempstore=yes \
|
|
--enable-releasemode \
|
|
--disable-static \
|
|
--disable-tcl
|
|
|
|
# fix/workaround hard-coded rpaths
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/sqlcipher
|
|
%{_libdir}/libsqlcipher-3.15.2.so.0*
|
|
|
|
%files devel
|
|
%{_includedir}/sqlcipher
|
|
%{_libdir}/libsqlcipher.so
|
|
%{_libdir}/pkgconfig/sqlcipher.pc
|
|
|
|
|
|
%changelog
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.1-5
|
|
- Rebuild for readline 8.0
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Wed Aug 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 3.4.1-1
|
|
- 3.4.1
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.3.1-5
|
|
- Rebuild for readline 7.x
|
|
|
|
* Wed Jul 27 2016 siddharth.kde@gmail.com - 3.3.1-4
|
|
- remove tcl and add openssl-devel as build requires
|
|
|
|
* Tue Jul 26 2016 Rex Dieter <rdieter@fedoraproject.org> - 3.3.1-3
|
|
- rebuilt fixing review requests in bz#1310294
|
|
|
|
* Wed Mar 09 2016 gripen <siddharth.kde@gmail.com> - 3.3.1-2
|
|
- rebuilt fixing review requests in bz#1310294
|
|
|
|
* Sat Feb 20 2016 Siddharth Sharma <siddharth.kde@gmail.com> - 3.3.1-1
|
|
- Init sqlcipher package
|
|
|
|
|