]>
Commit | Line | Data |
---|---|---|
f8e07247 | 1 | Summary: PGP encryption and signing for Nautilus |
d5ce5c32 | 2 | Summary(pl.UTF-8): Rozszerzenie Seahorse dla Nautilusa |
f8e07247 ER |
3 | Name: seahorse-nautilus |
4 | Version: 3.6.1 | |
1093ad60 | 5 | Release: 3 |
f8e07247 ER |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/seahorse-nautilus/3.6/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 31e440429f038ebd1d6a6ab0f51ac4b1 | |
10 | URL: https://live.gnome.org/Seahorse | |
11 | BuildRequires: dbus-glib-devel | |
12 | BuildRequires: desktop-file-utils | |
13 | BuildRequires: gcr-devel | |
b050b092 | 14 | BuildRequires: gettext-devel |
f8e07247 ER |
15 | BuildRequires: gnupg2 |
16 | BuildRequires: gpgme-devel >= 1.0 | |
17 | BuildRequires: gtk+3-devel | |
18 | BuildRequires: intltool | |
19 | BuildRequires: libcryptui-devel | |
20 | BuildRequires: libgnome-keyring-devel | |
21 | BuildRequires: libnotify-devel | |
22 | BuildRequires: nautilus-devel | |
b050b092 | 23 | BuildRequires: pkgconfig |
f8e07247 | 24 | Requires: glib2 >= 1:2.26.0 |
d5ce5c32 ER |
25 | Requires: nautilus >= 3.0 |
26 | Obsoletes: nautilus-extension-seahorse < 3.0 | |
f8e07247 ER |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Seahorse nautilus is an extension for nautilus which allows encryption | |
31 | and decryption of OpenPGP files using GnuPG. | |
32 | ||
d5ce5c32 ER |
33 | %description -l pl.UTF-8 |
34 | Rozszerzenie do podpisywania i szyfrowania plików. | |
35 | ||
f8e07247 ER |
36 | %prep |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %configure \ | |
41 | --disable-silent-rules | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/libnautilus-seahorse.la | |
50 | ||
51 | desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seahorse-pgp-encrypted.desktop | |
52 | desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seahorse-pgp-keys.desktop | |
53 | desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seahorse-pgp-signature.desktop | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %glib_compile_schemas | |
62 | ||
63 | %postun | |
64 | %glib_compile_schemas | |
65 | ||
66 | %files -f %{name}.lang | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS NEWS README THANKS | |
69 | %attr(755,root,root) %{_bindir}/seahorse-tool | |
70 | %{_mandir}/man1/seahorse-tool.1* | |
71 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-seahorse.so | |
72 | %{_datadir}/seahorse-nautilus | |
73 | %{_desktopdir}/seahorse-pgp-encrypted.desktop | |
74 | %{_desktopdir}/seahorse-pgp-keys.desktop | |
75 | %{_desktopdir}/seahorse-pgp-signature.desktop | |
76 | %{_datadir}/GConf/gsettings/org.gnome.seahorse.nautilus.convert | |
77 | %{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.*gschema.xml |