-
Notifications
You must be signed in to change notification settings - Fork 4
/
nautilus-gostcryptogui.spec
47 lines (37 loc) · 1.46 KB
/
nautilus-gostcryptogui.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%define name nautilus-gostcryptogui
%define version 0.2
%define unmangled_version 0.2
%define unmangled_version 0.2
%define release 1
Summary: Nautilus2 plugins for gost-crypto-gui
Name: %{name}
Version: %{version}
Release: %{release}
Source0: gost-crypto-gui-menu.py
Source1: gost-crypto-gui-emblem.py
License: MIT
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
Vendor: Boris Makarenko <bmakarenko90@gmail.com>
Url: http://github.com/bmakarenko/gost-crypto-gui
Requires: gostcryptogui
Requires: nautilus-python
%description
Nautilus2 plugins for gost-crypto-gui
%install
mkdir -p %{buildroot}/%{_libdir}/nautilus/extensions-2.0/python
%{__install} -m 0755 %{SOURCE0} %{buildroot}%{_libdir}/nautilus/extensions-2.0/python/gost-crypto-gui-menu.py
%{__install} -m 0755 %{SOURCE1} %{buildroot}%{_libdir}/nautilus/extensions-2.0/python/gost-crypto-gui-emblem.py
python -m py_compile %{buildroot}%{_libdir}/nautilus/extensions-2.0/python/gost-crypto-gui-menu.py
python -m py_compile %{buildroot}%{_libdir}/nautilus/extensions-2.0/python/gost-crypto-gui-emblem.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_libdir}/nautilus/extensions-2.0/python/*.py
%{_libdir}/nautilus/extensions-2.0/python/*.pyc
%changelog
* Fri Sep 13 2019 Boris Makarenko <bmakarenko90@gmail.com> - 0.2-1
- Exclude dettach menu item if there is an original file
* Mon May 22 2017 Boris Makarenko <bmakarenko90@gmail.com> - 0.1-1
- Derived from main package