seahorse-nautilus-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Summary: PGP encryption and signing for nautilus
  2. Name: seahorse-nautilus
  3. Version: 3.8.0
  4. Release: 1%{?_dist_release}
  5. License: GPL2
  6. Group: Applications/Accessories
  7. URL: http://projects.gnome.org/seahorse/
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: nautilus-devel
  11. BuildRequires: gpgme-devel
  12. BuildRequires: dbus-glib-devel
  13. BuildRequires: gcr-devel
  14. BuildRequires: libgnome-keyring-devel
  15. BuildRequires: libcryptui-devel
  16. BuildRequires: libnotify-devel
  17. Requires(postun,posttrans): glib2
  18. Requires(postun,posttrans): desktop-file-utils
  19. Obsoletes: seahorse-plugins < 3.0
  20. Obsoletes: seahorse-plugins-applet < 3.0
  21. Obsoletes: seahorse-plugins-gedit < 3.0
  22. Obsoletes: seahorse-plugins-nautilus < 3.0
  23. Provides: seahorse-plugins-nautilus = %{version}-%{release}
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. Seahorse nautilus is an extension for nautilus which allows encryption
  29. and decryption of OpenPGP files using GnuPG
  30. %prep
  31. %setup -q
  32. %build
  33. %configure
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. rm -f $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.window.gschema.xml
  39. %find_lang %{name}
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  41. %clean
  42. rm -rf ${RPM_BUILD_ROOT}
  43. %postun
  44. if [ $1 -eq 0 ]; then
  45. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  46. update-desktop-database -q &> /dev/null || :
  47. fi
  48. %posttrans
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  50. update-desktop-database -q &> /dev/null || :
  51. %files -f %{name}.lang
  52. %defattr(-,root,root)
  53. %doc COPYING ChangeLog NEWS README
  54. %{_bindir}/seahorse-tool
  55. %{_libdir}/nautilus/extensions-3.0/libnautilus-seahorse.so
  56. %{_datadir}/GConf/gsettings/org.gnome.seahorse.nautilus.convert
  57. %{_datadir}/applications/seahorse-pgp-encrypted.desktop
  58. %{_datadir}/applications/seahorse-pgp-keys.desktop
  59. %{_datadir}/applications/seahorse-pgp-signature.desktop
  60. %{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.gschema.xml
  61. %{_datadir}/%{name}
  62. %{_mandir}/man1/seahorse-tool.1.gz
  63. %changelog
  64. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  65. - new upstream release
  66. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  67. - new upstream release
  68. * Mon Oct 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
  69. - add Obsoletes: seahorse-plugins-applet,gedit,nautilus}
  70. - add Provides: seahorse-plugins-nautilus
  71. * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  72. - initial build