]> git.pld-linux.org Git - packages/enigmail.git/commitdiff
- separated from mozilla-thunderbird/seamonkey/icedove/iceape
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Nov 2014 18:09:17 +0000 (19:09 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Nov 2014 18:09:17 +0000 (19:09 +0100)
enigmail.spec [new file with mode: 0644]

diff --git a/enigmail.spec b/enigmail.spec
new file mode 100644 (file)
index 0000000..2b93681
--- /dev/null
@@ -0,0 +1,250 @@
+#
+# Conditional build:
+%bcond_with    thunderbird     # Mozilla Thunderbird addon
+%bcond_with    seamonkey       # Mozilla SeaMonkey addon
+%bcond_without icedove         # Icedove addon
+%bcond_without iceape          # Iceape addon
+# aliases:
+%bcond_with    mozilla         # build both Mozilla packages
+%bcond_without iceapps         # don't build any Ice* packages
+
+%if %{with mozilla}
+%define                with_thunderbird        1
+%define                with_seamonkey          1
+%endif
+%if %{without iceapps}
+%undefine      with_icedove
+%undefine      with_iceape
+%endif
+Summary:       Mozilla mail clients extension for the GnuPG authentication and encryption features
+Summary(pl.UTF-8):     Rozszerzenie klientów pocztowych Mozilla do uwierzytelniania i szyfrowania w oparciu o GnuPG
+Name:          enigmail
+Version:       1.7.2
+Release:       1
+Epoch:         1
+License:       MPL v1.1 or GPL v2+ or LGPL v2.1+
+Group:         X11/Applications/Mail
+Source0:       http://www.mozilla-enigmail.org/download/source/%{name}-%{version}.tar.gz
+# Source0-md5: d506093139dbeed51c70f00dfe308bc2
+URL:           http://www.mozilla-enigmail.org/
+BuildRequires: make >= 3.81
+BuildRequires: perl-base >= 5
+BuildRequires: python >= 1:2.7
+BuildRequires: zip
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Enigmail is an extension to the Mozilla-based mail clients (like
+Mozilla Thunderbird, Mozilla Seamonkey, Icedove or Iceape) which
+allows users to access the authentication and encryption features
+provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -l pl.UTF-8
+Enigmail to rozszerzenie klientów pocztowych opartych na Mozilli (jak
+Mozilla Thunderbird, Mozilla Seamonkey, Icedove i Iceape), pozwalające
+użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
+przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n mozilla-thunderbird-addon-enigmail
+Summary:       Thunderbird extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):     Rozszerzenie Thunderbirda do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:         X11/Applications/Mail
+Requires:      gnupg
+Requires:      mozilla-thunderbird >= 24
+
+%description -n mozilla-thunderbird-addon-enigmail
+Enigmail is an extension to the Mozilla Thunderbird mail client of
+which allows users to access the authentication and encryption
+features provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n mozilla-thunderbird-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego Mozilla Thunderbird,
+pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
+zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n seamonkey-addon-enigmail
+Summary:       SeaMonkey extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):     Rozszerzenie SeaMonkeya do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:         X11/Applications/Mail
+Requires:      gnupg
+Requires:      seamonkey >= 2.26
+
+%description -n seamonkey-addon-enigmail
+Enigmail is an extension to the mail client of Mozilla SeaMonkey which
+allows users to access the authentication and encryption features
+provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n seamonkey-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego programu Mozilla
+SeaMonkey, pozwalające użytkownikom na dostęp do uwierzytelniania i
+szyfrowania zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n icedove-addon-enigmail
+Summary:       Icedove extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):     Rozszerzenie Icedove'a do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:         X11/Applications/Mail
+Requires:      gnupg
+Requires:      icedove >= 24
+Obsoletes:     mozilla-thunderbird-addon-enigmail
+
+%description -n icedove-addon-enigmail
+Enigmail is an extension to the Icedove mail client of which allows
+users to access the authentication and encryption features provided by
+GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n icedove-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego Icedove, pozwalające
+użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
+przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n iceape-addon-enigmail
+Summary:       Iceape extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):     Rozszerzenie Iceape'a do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:         X11/Applications/Mail
+Requires:      gnupg
+Requires:      icedove >= 2.26
+Obsoletes:     seamonkey-addon-enigmail
+
+%description -n iceape-addon-enigmail
+Enigmail is an extension to the mail client of Iceape which allows
+users to access the authentication and encryption features provided by
+GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n iceape-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego programu Iceape,
+pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
+zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%prep
+%setup -q -n %{name}
+
+%build
+%configure
+
+%{__make}
+
+%install
+for prog in %{?with_thunderbird:mozilla-thunderbird} %{?with_seamonkey:seamonkey} %{?with_icedove:icedove} %{?with_iceape:iceape} ; do
+ext_dir=$RPM_BUILD_ROOT%{_libdir}/$prog/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
+install -d $ext_dir/{chrome,components,defaults/preferences,modules,wrappers}
+cp -p build/dist/chrome/enigmail.jar $ext_dir/chrome
+cp -p build/dist/components/*.{js,xpt} $ext_dir/components
+cp -p build/dist/defaults/preferences/enigmail.js $ext_dir/defaults/preferences
+cp -p build/dist/modules/*.js* $ext_dir/modules
+# ELF inside
+cp -a build/dist/platform $ext_dir/platform
+cp -p build/dist/wrappers/*.sh $ext_dir/wrappers
+cp -p build/dist/install.rdf $ext_dir
+cp -p build/dist/chrome.manifest $ext_dir
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%define genfiles()\
+%files -n %{1}-addon-enigmail\
+%defattr(644,root,root,755)\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3/lib\
+%attr(755,root,root) %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3/lib/libsubprocess-*-gcc3.so\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers\
+%attr(755,root,root) %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf\
+%{nil}
+
+%{?with_thunderbird:%{expand:%genfiles mozilla-thunderbird}}
+%{?with_seamonkey:%{expand:%genfiles seamonkey}}
+%{?with_icedove:%{expand:%genfiles icedove}}
+%{?with_iceape:%{expand:%genfiles iceape}}
This page took 0.091607 seconds and 4 git commands to generate.