Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:PRES
zuluCrypt
zuluCrypt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zuluCrypt.spec of Package zuluCrypt
# # spec file for package zuluCrypt # # Copyright (c) 2016 Asterios Dramis <asterios.dramis@gmail.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. %define so_ver 1_2_0 %define so_ver_plug 1_0_0 %define so_ver_exe 1_2_0 Name: zuluCrypt Version: 5.0.0 Release: 0 Summary: Cli and GUI Front End to cryptsetup License: GPL-2.0+ Group: Productivity/Security Url: http://mhogomchungu.github.io/zuluCrypt/ Source0: https://github.com/mhogomchungu/zuluCrypt/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: device-mapper-devel BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: knotifications-devel BuildRequires: kwallet-devel BuildRequires: libblkid-devel BuildRequires: libcryptsetup-devel BuildRequires: libgcrypt-devel BuildRequires: libpwquality-devel BuildRequires: libsecret-devel BuildRequires: libuuid-devel BuildRequires: pkg-config BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: tc-play-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description zuluCrypt is a front end to cryptsetup. It makes it easy to use cryptsetup to manage encrypted volumes by providing a Qt based GUI and a simpler to use cli front end to cryptsetup. %package devel Summary: Development files for zuluCrypt Group: Development/Libraries/C and C++ Requires: libzuluCrypt%{so_ver} = %{version} Requires: libzuluCryptPluginManager%{so_ver_plug} = %{version} Requires: libzuluCrypt-exe%{so_ver_exe} = %{version} %description devel This package includes development files for zuluCrypt. %package -n libzuluCrypt%{so_ver} Summary: Cli and GUI Front End to cryptsetup Group: System/Libraries %description -n libzuluCrypt%{so_ver} zuluCrypt is a front end to cryptsetup. It makes it easy to use cryptsetup to manage encrypted volumes by providing a Qt based GUI and a simpler to use cli front end to cryptsetup. %package -n libzuluCryptPluginManager%{so_ver_plug} Summary: Cli and GUI Front End to cryptsetup Group: System/Libraries %description -n libzuluCryptPluginManager%{so_ver_plug} zuluCrypt is a front end to cryptsetup. It makes it easy to use cryptsetup to manage encrypted volumes by providing a Qt based GUI and a simpler to use cli front end to cryptsetup. %package -n libzuluCrypt-exe%{so_ver_exe} Summary: Cli and GUI Front End to cryptsetup Group: System/Libraries %description -n libzuluCrypt-exe%{so_ver_exe} zuluCrypt is a front end to cryptsetup. It makes it easy to use cryptsetup to manage encrypted volumes by providing a Qt based GUI and a simpler to use cli front end to cryptsetup. %prep %setup -q %build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" rm -rf build mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \ -DUDEVSUPPORT=true \ .. #%%cmake -DUDEVSUPPORT=true %make_jobs cd .. %install %cmake_install # Fix icon and exutable name desktop-file-edit --set-icon=zuluCrypt %{buildroot}%{_datadir}/applications/zuluCrypt.desktop desktop-file-edit --set-icon=zuluMount %{buildroot}%{_datadir}/applications/zuluMount.desktop sed -i -e "s,/usr/bin/zuluCrypt-gui,zuluCrypt-gui," %{buildroot}%{_datadir}/applications/zuluCrypt.desktop sed -i -e "s,/usr/bin/zuluMount-gui,zuluMount-gui," %{buildroot}%{_datadir}/applications/zuluMount.desktop %fdupes -s %{buildroot} %post %icon_theme_cache_post %postun %icon_theme_cache_postun %post -n libzuluCrypt%{so_ver} -p /sbin/ldconfig %postun -n libzuluCrypt%{so_ver} -p /sbin/ldconfig %post -n libzuluCryptPluginManager%{so_ver_plug} -p /sbin/ldconfig %postun -n libzuluCryptPluginManager%{so_ver_plug} -p /sbin/ldconfig %post -n libzuluCrypt-exe%{so_ver_exe} -p /sbin/ldconfig %postun -n libzuluCrypt-exe%{so_ver_exe} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING GPLv2 GPLv3 LICENSE README README.md TODO changelog docs/zuluCrypt.pdf %{_bindir}/zulu* %{_datadir}/zuluCrypt %{_datadir}/applications/zulu*.desktop %{_datadir}/icons/hicolor/48x48/apps/*.png %{_datadir}/pixmaps/zulu* %{_datadir}/zuluCrypt/ %doc %{_mandir}/man1/zulu*.1%{ext_man} %{_libdir}/zuluCrypt/ %files devel %defattr(-,root,root,-) %{_includedir}/zuluCrypt/ %{_libdir}/*.so %{_libdir}/pkgconfig/libzuluCrypt.pc %files -n libzuluCrypt%{so_ver} %defattr(-,root,root,-) %{_libdir}/libzuluCrypt.so.1.2.* %files -n libzuluCryptPluginManager%{so_ver_plug} %defattr(-,root,root,-) %{_libdir}/libzuluCryptPluginManager.so.1.0.* %files -n libzuluCrypt-exe%{so_ver_exe} %defattr(-,root,root,-) %{_libdir}/libzuluCrypt-exe.so.1.2.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor