From 742ee01e032c16990e49f145431496be8ef69ec0 Mon Sep 17 00:00:00 2001 From: Daniel Martinez Oeckel Date: Dec 21 2018 17:55:52 +0000 Subject: added spec and srpm --- diff --git a/sqlcipher-3.4.2-1.fc30.src.rpm b/sqlcipher-3.4.2-1.fc30.src.rpm new file mode 100644 index 0000000..3c600be Binary files /dev/null and b/sqlcipher-3.4.2-1.fc30.src.rpm differ diff --git a/sqlcipher.spec b/sqlcipher.spec new file mode 100644 index 0000000..d07aa09 --- /dev/null +++ b/sqlcipher.spec @@ -0,0 +1,106 @@ + +Name: sqlcipher +Version: 3.4.2 +Release: 1%{?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.20.1.so.0* + +%files devel +%{_includedir}/sqlcipher +%{_libdir}/libsqlcipher.so +%{_libdir}/pkgconfig/sqlcipher.pc + + +%changelog +* Thu Dec 20 2018 Daniel Martinez Oeckel - 3.4.2-1 +- 3.4.2 + +* Sat Jul 14 2018 Fedora Release Engineering - 3.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Rex Dieter - 3.4.1-1 +- 3.4.1 + +* Thu Jul 27 2017 Fedora Release Engineering - 3.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jan 12 2017 Igor Gnatenko - 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 - 3.3.1-3 +- rebuilt fixing review requests in bz#1310294 + +* Wed Mar 09 2016 gripen - 3.3.1-2 +- rebuilt fixing review requests in bz#1310294 + +* Sat Feb 20 2016 Siddharth Sharma - 3.3.1-1 +- Init sqlcipher package + +