"Fossies" - the Fresh Open Source Software Archive

Member "zuluCrypt-5.7.1/rpm/zuluCrypt.spec" (3 Feb 2020, 5060 Bytes) of package /linux/misc/zuluCrypt-5.7.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "zuluCrypt.spec": 5.7.0_vs_5.7.1.

    1 #
    2 # Spec file for package zuluCrypt
    3 #
    4 # Copyright © 2011-2015 Francis Banyikwa <mhogomchungu@gmail.com>
    5 #
    6 # This program is free software: you can redistribute it and/or modify
    7 # it under the terms of the GNU General Public License as published by
    8 # the Free Software Foundation, either version 2 of the License, or
    9 # (at your option) any later version.
   10 #
   11 # This program is distributed in the hope that it will be useful,
   12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   14 # GNU General Public License for more details.
   15 #
   16 # You should have received a copy of the GNU General Public License
   17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
   18 
   19 Name:           zuluCrypt
   20 Version:        5.7.1
   21 Release:        0
   22 Summary:        Qt GUI front end to cryptsetup
   23 License:        GPL-2.0+
   24 Group:          Productivity/Security
   25 Source:         %{name}-%{version}.tar.xz
   26 Source100:      zuluCrypt-rpmlint
   27 URL:            https://github.com/mhogomchungu/zuluCrypt
   28 
   29 %define libversion 3_2_0
   30 %define srcname zuluCrypt
   31 %define libname lib%srcname%libversion
   32 %define libnamedev %{srcname}%{libversion}-devel
   33 
   34 #You may want to add dependencies for kwallet,gnome-keyring and pwquality below
   35 #if you want to include optional functionality they provide.
   36 
   37 BuildRequires: cmake
   38 BuildRequires: device-mapper-devel
   39 BuildRequires: gcc
   40 BuildRequires: gcc-c++
   41 BuildRequires: glibc-devel
   42 BuildRequires: libblkid-devel
   43 BuildRequires: libgcrypt-devel
   44 BuildRequires: libsecret-devel
   45 BuildRequires: libpwquality-devel
   46 BuildRequires: pkgconfig(QtCore)
   47 BuildRequires: pkgconfig(QtGui)
   48 BuildRequires: pkgconfig(QtNetwork)
   49 
   50 %if 0%{?fedora}
   51 BuildRequires: cryptsetup-luks-devel
   52 %endif
   53 
   54 %if 0%{?suse_version}
   55 BuildRequires: libcryptsetup-devel
   56 %endif
   57 
   58 %description
   59 zuluCrypt is a front end to cryptsetup.
   60 It makes it easier to use cryptsetup by providing a Qt-based GUI and a simpler to use CLI front end to cryptsetup.
   61 It does the same thing truecrypt does but without licensing problems or requiring a user to setup sudo for it or presenting root's password.
   62 This package contains the applications.
   63 
   64 %package -n %{libnamedev}
   65 Requires:       %{libname} = %{version}
   66 Summary:        Development library package
   67 Group:          Development/Libraries/C and C++
   68 
   69 %description -n %{libnamedev}
   70 This package contains development files and libraries necessary to build programs around zulucrypt
   71 
   72 %package -n %{libname}
   73 Summary:        Library for %{name}
   74 Group:          Productivity/Security
   75 
   76 %description -n %{libname}
   77 This package contains libraries that provide higher level access to cryptsetup API and provide mounting/unmounting API
   78 to easy opening and closing of volumes
   79 
   80 %prep
   81 %setup -q
   82 
   83 %build
   84 mkdir build
   85 cd build
   86 cmake -DCMAKE_INSTALL_PREFIX=/usr -DREUSEMOUNTPOINT=false -DUDEVSUPPORT=true -DNOGUI=false -DQT5=true -DHOMEMOUNTPREFIX=false -DNOGNOME=false -DNOKDE=false -DCMAKE_BUILD_TYPE=RELEASE ..
   87 
   88 %install
   89 cd build
   90 make DESTDIR=$RPM_BUILD_ROOT install
   91 
   92 %post
   93 chmod 4755 %{_bindir}/zuluCrypt-cli
   94 chmod 4755 %{_bindir}/zuluMount-cli
   95 
   96 %post -n %{libnamedev}
   97 sbin/ldconfig
   98 
   99 %postun -n %{libnamedev}
  100 sbin/ldconfig
  101 
  102 %post -n %{libname}
  103 sbin/ldconfig
  104 
  105 %postun -n %{libname}
  106 sbin/ldconfig
  107 
  108 %clean
  109 rm -rf %{buildroot}
  110 rm -rf $RPM_BUILD_DIR/zuluCrypt
  111 
  112 %files
  113 %defattr(0755,root,root)
  114 %{_bindir}/zuluMount-gui
  115 %{_bindir}/zuluMount-cli
  116 %{_bindir}/zuluPolkit
  117 %{_bindir}/zuluCrypt-gui
  118 %{_bindir}/zuluCrypt-cli
  119 %{_bindir}/zuluSafe-cli
  120 
  121 %dir %{_libdir}/zuluCrypt
  122 %dir %{_datadir}/zuluCrypt
  123 %dir %{_datadir}/doc/zuluCrypt
  124 %{_libdir}/zuluCrypt/keyring
  125 %{_libdir}/zuluCrypt/zuluCrypt-testKey
  126 %{_libdir}/zuluCrypt/keykeyfile
  127 %{_libdir}/zuluCrypt/keydialog-qt
  128 %{_libdir}/zuluCrypt/steghide
  129 %{_libdir}/zuluCrypt/tomb
  130 %{_libdir}/zuluCrypt/gpg
  131 %{_libdir}/zuluCrypt/hmac
  132 
  133 %{_datadir}/applications/zuluCrypt.desktop
  134 %{_datadir}/applications/zuluMount.desktop
  135 
  136 %defattr(0644,root,root)
  137 %{_datadir}/icons/*
  138 %{_datadir}/doc/zuluCrypt/*
  139 %{_datadir}/zuluCrypt/*
  140 %{_datadir}/pixmaps/*
  141 %{_datadir}/mime/packages/zuluCrypt.xml
  142 %{_datadir}/polkit-1/actions/org.zulucrypt.zulupolkit.policy
  143 %{_mandir}/man1/*
  144 %defattr(0644,root,root)
  145 
  146 %files -n %{libname}
  147 %defattr(0644,root,root)
  148 %{_libdir}/libzuluCrypt.so.*
  149 %{_libdir}/libzuluCrypt-exe.so.*
  150 %{_libdir}/libzuluCryptPluginManager.so.*
  151 
  152 %files -n %{libnamedev}
  153 %defattr(0644,root,root)
  154 %dir %{_includedir}/zuluCrypt
  155 %{_includedir}/zuluCrypt/libzuluCrypt.h
  156 %{_includedir}/zuluCrypt/libzuluCrypt-exe.h
  157 %{_includedir}/zuluCrypt/libzuluCryptPluginManager.h
  158 %{_libdir}/libzuluCryptPluginManager.so
  159 #%%{_libdir}/libzuluCryptPluginManager-static.a
  160 %{_libdir}/libzuluCrypt.so
  161 %{_libdir}/libzuluCrypt-exe.so
  162 #%%{_libdir}/libzuluCrypt-static.a
  163 #%%{_libdir}/libzuluCrypt-exe-static.a
  164 %{_libdir}/pkgconfig/libzuluCrypt.pc
  165 
  166 %changelog
  167 
  168 # openSUSE is strict about the date format used.
  169 # To do: Fix date format.
  170 
  171 #* Thu May  1 2014 mhogomchungu@gmail.com
  172 #* Fri Mar 15 2013 mhogomchungu@gmail.com
  173 #- upate to version 4.6.2
  174 #* Mon Jan 14 2012 mhogomchungu@gmail.com
  175 #- update to version 4.6.0