evolution-webcal-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. %define libsoup_version 2.3.0
  2. %define eds_version 1.1.0
  3. %define gettext_package evolution-webcal
  4. Name: evolution-webcal
  5. Summary: A handler for webcal URIs
  6. Version: 2.32.0
  7. Release: 1%{?_dist_release}
  8. License: GPL
  9. Group: Applications/Internet
  10. Source0: %{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel >= 2.8.0
  13. BuildRequires: gtk2-devel >= 2.4.0
  14. BuildRequires: libsoup-devel >= %{libsoup_version}
  15. BuildRequires: evolution-data-server-devel >= %{eds_version}
  16. Requires: libsoup >= %{libsoup_version}
  17. Requires: evolution-data-server >= %{eds_version}
  18. Requires(post): GConf2
  19. Requires(pre): GConf2
  20. Requires(preun): GConf2
  21. %description
  22. evolution-webcal is a small helper application that can be run when webcal URIs are clicked in web browsers.
  23. It adds the calendar to your evolution-data-server, which will make the calendar appear in Evolution and in the gnome-panel's calendar.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --disable-schemas-install
  28. make
  29. %install
  30. rm -rf %{buildroot}
  31. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  32. make DESTDIR=$RPM_BUILD_ROOT install
  33. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  34. %find_lang %{gettext_package}
  35. grep -q '/usr/share/locale' %{gettext_package}.lang || exit 1
  36. %clean
  37. rm -rf %{buildroot}
  38. %post
  39. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  40. SCHEMAS="evolution-webcal.schemas"
  41. for S in $SCHEMAS; do
  42. gconftool-2 --makefile-install-rule /etc/gconf/schemas/$S > /dev/null
  43. done
  44. %pre
  45. if [ "$1" -gt 1 ]; then
  46. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  47. SCHEMAS="evolution-webcal.schemas"
  48. for S in $SCHEMAS; do
  49. gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$S > /dev/null
  50. done
  51. fi
  52. %preun
  53. if [ "$1" -eq 0 ]; then
  54. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  55. SCHEMAS="evolution-webcal.schemas"
  56. for S in $SCHEMAS; do
  57. gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$S > /dev/null
  58. done
  59. fi
  60. %files -f %{gettext_package}.lang
  61. %defattr(-,root,root)
  62. %{_sysconfdir}/gconf/schemas/evolution-webcal.schemas
  63. %{_libexecdir}/evolution-webcal
  64. %changelog
  65. * Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1
  66. - new upstream release
  67. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.28.1-1
  68. - new upstream release
  69. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.28.0-1
  70. - new upstream release
  71. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.24.0-1
  72. - new upstream release
  73. - applied new versioning policy
  74. - built with evolution-data-server 2.24.2, libsoup 2.24.3
  75. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.4.1-1vl2
  76. - rebuild with gnutls-1.4.1
  77. * Wed Nov 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.4.1-1vl1
  78. - rebuild for Vine Linux
  79. * Tue Oct 18 2005 David Malcolm <dmalcolm@redhat.com> - 2.4.1-1
  80. - 2.4.1
  81. * Thu Sep 15 2005 Jeremy Katz <katzj@redhat.com> - 2.4.0.1-2
  82. - rebuild for new e-d-s
  83. * Wed Sep 7 2005 David Malcolm <dmalcolm@redhat.com> - 2.4.0.1-1
  84. - 2.4.0.1
  85. * Mon Aug 22 2005 David Malcolm <dmalcolm@redhat.com> - 2.3.91-3
  86. - rebuild
  87. * Mon Aug 15 2005 David Malcolm <dmalcolm@redhat.com> - 2.3.91-2
  88. - rebuild
  89. * Tue Aug 9 2005 David Malcolm <dmalcolm@redhat.com> - 2.3.91-1
  90. - 2.3.91
  91. * Mon Aug 8 2005 Tomas Mraz <tmraz@redhat.com> - 2.3.90-2
  92. - rebuild with new gnutls
  93. * Mon Jul 25 2005 David Malcolm <dmalcolm@redhat.com> - 2.3.90-1
  94. - 2.3.90
  95. * Wed Mar 9 2005 David Malcolm <dmalcolm@redhat.com> - 2.2.0-1
  96. - updated from 2.1.92 to 2.2.0
  97. * Tue Mar 1 2005 David Malcolm <dmalcolm@redhat.com> - 2.1.92-1
  98. - updated from 2.1.91 to 2.1.92
  99. * Wed Feb 9 2005 David Malcolm <dmalcolm@redhat.com> - 2.1.91-1
  100. - updated from 2.1.4 to 2.1.91
  101. * Wed Jan 26 2005 David Malcolm <dmalcolm@redhat.com> - 2.1.4-2
  102. - Exclude ppc64 build since mozilla is not supported, hence e-d-s is not supported
  103. * Wed Jan 26 2005 David Malcolm <dmalcolm@redhat.com> - 2.1.4-1
  104. - updated from 1.0.10 to 2.1.3
  105. - removed evolution-webcal.applications; this was removed in version 2.1.1
  106. - updated e-d-s requirement from 0.0.91 to 1.1.0
  107. * Fri Oct 29 2004 David Malcolm <dmalcolm@redhat.com> - 1.0.10-2
  108. - added missing requirements on libgnomeui (#137554)
  109. * Wed Sep 1 2004 David Malcolm <dmalcolm@redhat.com> - 1.0.10-1
  110. - updated from 1.0.9 to 1.0.10
  111. * Mon Aug 30 2004 David Malcolm <dmalcolm@redhat.com> - 1.0.9-2
  112. - Converted dashes to underscores in version defines; usage should now match up with definition
  113. * Thu Aug 26 2004 David Malcolm <dmalcolm@redhat.com> - 1.0.9-1
  114. - Initial build.