-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #171 the rpm spec file for securedrop-workstation
Also updates the .gitignore file for adding spec files. Before publishing the actual RPM, we will have to fix #173
- Loading branch information
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Name: securedrop-workstation | ||
Version: 0.0.1 | ||
Release: 1%{?dist} | ||
Summary: SecurdDrop Workstation | ||
|
||
Group: Library | ||
License: GPLv3+ | ||
URL: https://github.com/freedomofpress/securedrop-workstation | ||
Source0: securedrop-workstation-0.0.1.tar.gz | ||
|
||
BuildArch: noarch | ||
BuildRequires: python3-setuptools | ||
BuildRequires: python3-devel | ||
|
||
# This package installs all standard VMs in Qubes | ||
Requires: qubes-mgmt-salt-dom0-virtual-machines | ||
|
||
%description | ||
|
||
This is the SecureDrop Workstation project. | ||
|
||
%prep | ||
%setup -q | ||
|
||
|
||
%build | ||
%{__python3} setup.py build | ||
|
||
%install | ||
%{__python3} setup.py install --skip-build --root %{buildroot} | ||
install -m 755 -d %{buildroot}/srv | ||
install -m 755 -d %{buildroot}/srv/salt/sd | ||
install -m 755 -d %{buildroot}/srv/salt/sd/sd-svs | ||
install -m 755 -d %{buildroot}/srv/salt/sd/sd-journalist | ||
install -m 644 dom0/* %{buildroot}/srv/salt/ | ||
install sd-svs/* %{buildroot}/srv/salt/sd/sd-svs/ | ||
install sd-journalist/* %{buildroot}/srv/salt/sd/sd-journalist/ | ||
|
||
%files | ||
%doc README.md LICENSE | ||
%{python3_sitelib}/securedrop_workstation* | ||
%{_datadir}/%{name} | ||
/srv/salt/sd* | ||
/srv/salt/fpf* | ||
|
||
|
||
|
||
%changelog | ||
* Fri Oct 26 2018 Kushal Das <[email protected]> - 0.0.1-1 | ||
- First release | ||
|