seahorse-nautilus-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: PGP encryption and signing for nautilus
  2. Name: seahorse-nautilus
  3. Version: 3.10.1
  4. Release: 2%{?_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.10/%{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. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
  65. - rebuild with VineSeed environment
  66. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  67. - new upstream release
  68. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  69. - new upstream release
  70. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  71. - new upstream release
  72. * Mon Oct 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
  73. - add Obsoletes: seahorse-plugins-applet,gedit,nautilus}
  74. - add Provides: seahorse-plugins-nautilus
  75. * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  76. - initial build