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