[2041] | 1 | %define dbus_ver 1.4.0 |
---|
| 2 | %define dbus_glib_ver 0.88 |
---|
| 3 | %define glib_ver 2.26 |
---|
[521] | 4 | |
---|
| 5 | Summary: GLib bindings for Telepathy |
---|
| 6 | Summary(ja): Telepathy の GLib バインディング |
---|
| 7 | |
---|
| 8 | Name: telepathy-glib |
---|
[2041] | 9 | Version: 0.13.0 |
---|
| 10 | Release: 1%{?_dist_release} |
---|
[521] | 11 | |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | License: LGPLv2+ |
---|
| 14 | URL: http://telepathy.freedesktop.org/wiki/FrontPage |
---|
| 15 | Source0: http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz |
---|
[2041] | 16 | Patch0: telepathy-glib-0.13.0-broken-pkgconfig.patch |
---|
[521] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 18 | |
---|
| 19 | BuildRequires: gtk-doc |
---|
| 20 | BuildRequires: dbus-devel >= %{dbus_ver} |
---|
| 21 | BuildRequires: dbus-glib-devel >= %{dbus_glib_ver} |
---|
| 22 | BuildRequires: glib2-devel >= %{glib_ver} |
---|
| 23 | BuildRequires: libxslt |
---|
| 24 | BuildRequires: python |
---|
[2041] | 25 | BuildRequires: gobject-introspection-devel |
---|
| 26 | BuildRequires: vala-devel |
---|
| 27 | BuildRequires: vala-tools |
---|
[521] | 28 | |
---|
| 29 | %description |
---|
| 30 | Telepathy-glib is the glib bindings for the telepathy unified framework |
---|
| 31 | for all forms of real time conversations, including instant messaging, IRC, |
---|
| 32 | voice calls and video calls. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Development files for %{name} |
---|
| 37 | Summary(ja): %{name} の開発用ファイル |
---|
| 38 | Group: Development/Libraries |
---|
| 39 | Requires: %{name} = %{version}-%{release} |
---|
[2041] | 40 | Requires: %{name}-vala = %{version}-%{release} |
---|
[521] | 41 | Requires: telepathy-filesystem |
---|
| 42 | Requires: dbus-devel >= %{dbus_ver} |
---|
| 43 | Requires: dbus-glib-devel >= %{dbus_glib_ver} |
---|
| 44 | Requires: glib2-devel >= %{glib_ver} |
---|
| 45 | Requires: pkgconfig |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %description devel |
---|
| 49 | The %{name}-devel package contains libraries and header files for |
---|
| 50 | developing applications that use %{name}. |
---|
| 51 | |
---|
| 52 | |
---|
[2041] | 53 | %package vala |
---|
| 54 | Summary: Vala bindings for %{name} |
---|
| 55 | Group: Development/Libraries |
---|
| 56 | Requires: %{name} = %{version}-%{release} |
---|
| 57 | Requires: vala |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %description vala |
---|
| 61 | Vala bindings for %{name}. |
---|
| 62 | |
---|
| 63 | |
---|
[521] | 64 | %prep |
---|
| 65 | %setup -q |
---|
[1890] | 66 | %patch0 -p1 -b .pkg-config |
---|
[521] | 67 | |
---|
| 68 | %check |
---|
| 69 | make check |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %build |
---|
[2041] | 73 | %configure --enable-static=no --enable-vala-bindings=yes --enable-introspection=yes |
---|
[521] | 74 | make %{?_smp_mflags} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | rm -rf $RPM_BUILD_ROOT |
---|
| 79 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 80 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %clean |
---|
| 84 | rm -rf $RPM_BUILD_ROOT |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %post -p /sbin/ldconfig |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %postun -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | %files |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %doc AUTHORS COPYING README NEWS |
---|
| 96 | %{_libdir}/libtelepathy-glib*.so.* |
---|
[2041] | 97 | %{_libdir}/girepository-1.0 |
---|
[521] | 98 | |
---|
| 99 | %files devel |
---|
| 100 | %defattr(-,root,root,-) |
---|
| 101 | %doc %{_datadir}/gtk-doc/html/%{name}/ |
---|
| 102 | %{_libdir}/libtelepathy-glib.so |
---|
| 103 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 104 | %{_includedir}/telepathy-1.0/%{name}/ |
---|
[2041] | 105 | %{_datadir}/gir-1.0 |
---|
[521] | 106 | |
---|
[2041] | 107 | %files vala |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | %{_datadir}/vala/vapi/telepathy-glib.deps |
---|
| 110 | %{_datadir}/vala/vapi/telepathy-glib.vapi |
---|
[521] | 111 | |
---|
[2041] | 112 | |
---|
[521] | 113 | %changelog |
---|
[2041] | 114 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | - add BuildRequires: gobject-introspection-devel, vala-devel, vala-tools |
---|
| 117 | - update Patch0 |
---|
| 118 | - add vala sub package |
---|
| 119 | |
---|
[1890] | 120 | * Thu Sep 23 2010 IWAI, Masaharu <iwai@alib.jp> 0.10.2-2 |
---|
| 121 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 122 | - add broken pkg-config file patch (Patch0): from Fedora 0.11.15-1 |
---|
| 123 | |
---|
[805] | 124 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.2-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[521] | 127 | * Wed Nov 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.1-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
| 130 | * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.14-1 |
---|
| 131 | - initial build for Vine Linux |
---|
| 132 | |
---|
| 133 | * Sat Aug 23 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.14-1 |
---|
| 134 | - Update to 0.7.14. |
---|
| 135 | - Add README & NEWS to docs. |
---|
| 136 | |
---|
| 137 | * Tue Jul 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.13-1 |
---|
| 138 | - Update to 0.7.13. |
---|
| 139 | |
---|
| 140 | * Mon Jul 28 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.12-2 |
---|
| 141 | - Update broken-pkgconfig patch. (#456621) |
---|
| 142 | |
---|
| 143 | * Mon Jul 21 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.12-1 |
---|
| 144 | - Update to 0.7.12. |
---|
| 145 | - Update pkgconfig patch. |
---|
| 146 | |
---|
| 147 | * Thu Jul 3 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.11-1 |
---|
| 148 | - Update to 0.7.11. |
---|
| 149 | |
---|
| 150 | * Fri Jun 6 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.10-1 |
---|
| 151 | - Update 0.7.10. |
---|
| 152 | |
---|
| 153 | * Fri May 30 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.9-1 |
---|
| 154 | - Update to 0.7.9. |
---|
| 155 | - Enable tests. |
---|
| 156 | |
---|
| 157 | * Fri May 9 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.8-1 |
---|
| 158 | - Update to 0.7.8. |
---|
| 159 | |
---|
| 160 | * Tue Apr 22 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.6-1 |
---|
| 161 | - Update to 0.7.6. |
---|
| 162 | |
---|
| 163 | * Mon Mar 24 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-4 |
---|
| 164 | - Bump. |
---|
| 165 | |
---|
| 166 | * Fri Mar 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.7.5-3 |
---|
| 167 | - Really fix #436773 |
---|
| 168 | |
---|
| 169 | * Mon Mar 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-2 |
---|
| 170 | - Add requires for glib2-devel to devel package. (#436773) |
---|
| 171 | |
---|
| 172 | * Fri Mar 7 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.5-1 |
---|
| 173 | - Update to 0.7.5. |
---|
| 174 | - Remove hack to fix ppc64 build. fixed upstream. |
---|
| 175 | |
---|
| 176 | * Thu Mar 6 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.4-1 |
---|
| 177 | - Update to 0.7.4. |
---|
| 178 | - Disable test for now. |
---|
| 179 | - Add hack to fix build on ppc64. |
---|
| 180 | |
---|
| 181 | * Fri Feb 8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.7.0-2 |
---|
| 182 | - Rebuild for gcc-4.3. |
---|
| 183 | |
---|
| 184 | * Fri Nov 23 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.7.0-1 |
---|
| 185 | - Update to 0.7.0. |
---|
| 186 | - Drop unstable-static subpackage. |
---|
| 187 | - Bump min. versions of dbus-devel & dbus-glib-devel. |
---|
| 188 | |
---|
| 189 | * Mon Nov 12 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.6.1-1 |
---|
| 190 | - Update to 0.6.1. |
---|
| 191 | |
---|
| 192 | * Wed Aug 29 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.14-1 |
---|
| 193 | - Update to 0.5.14. |
---|
| 194 | |
---|
| 195 | * Tue Aug 28 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-6 |
---|
| 196 | - Add BR on python. |
---|
| 197 | |
---|
| 198 | * Tue Aug 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-5 |
---|
| 199 | - Rebuild. |
---|
| 200 | |
---|
| 201 | * Sun Aug 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-4 |
---|
| 202 | - Update license tag. |
---|
| 203 | |
---|
| 204 | * Mon Jun 18 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-3 |
---|
| 205 | - Add check section to run test suite. |
---|
| 206 | - Mark gtk-docs as docs. |
---|
| 207 | |
---|
| 208 | * Sat Jun 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-2 |
---|
| 209 | - Change Group to more accurate categoryn. |
---|
| 210 | - Require pkgconfig on the devel package. |
---|
| 211 | - Move headers for unstable libs to unstable-static sub-pacakge. |
---|
| 212 | |
---|
| 213 | * Tue Jun 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.13-1 |
---|
| 214 | - Update to 0.5.13. |
---|
| 215 | |
---|
| 216 | * Wed May 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.11-1 |
---|
| 217 | - Update to 0.5.11. |
---|
| 218 | |
---|
| 219 | * Sat Apr 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.5.10-1 |
---|
| 220 | - Intial spec. |
---|
| 221 | |
---|