[521] | 1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
| 2 | |
---|
| 3 | %define gst_ver 0.10.23 |
---|
| 4 | %define gst_plugins_base_ver 0.10.23 |
---|
| 5 | %define gst_plugins_good 0.10.7 |
---|
| 6 | %define gst_python 0.10.10 |
---|
| 7 | |
---|
| 8 | Name: farsight2 |
---|
| 9 | Version: 0.0.17 |
---|
| 10 | Release: 1%{?_dist_release} |
---|
| 11 | Summary: Libraries for videoconferencing |
---|
| 12 | Summary(ja): ビデオ会議のためのライブラリ |
---|
| 13 | |
---|
| 14 | Group: System Environment/Libraries |
---|
| 15 | License: LGPLv2+ |
---|
| 16 | URL: http://farsight.freedesktop.org/wiki/ |
---|
| 17 | Source0: http://farsight.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | BuildRequires: glib2-devel >= 2.14 |
---|
| 21 | BuildRequires: gstreamer-devel >= %{gst_ver} |
---|
| 22 | BuildRequires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver} |
---|
| 23 | BuildRequires: gstreamer-python >= %{gst_python} |
---|
| 24 | BuildRequires: libnice-devel >= 0.0.9 |
---|
| 25 | BuildRequires: gupnp-igd-devel |
---|
| 26 | BuildRequires: python-devel |
---|
| 27 | BuildRequires: pygobject-devel |
---|
| 28 | |
---|
| 29 | Requires: gstreamer-plugins-good >= %{gst_plugins_good} |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | %{name} is a collection of GStreamer modules and libraries for |
---|
| 34 | videoconferencing. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %package python |
---|
| 38 | Summary: Python binding for %{name} |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | |
---|
| 42 | %description python |
---|
| 43 | Python bindings for %{name}. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %package devel |
---|
| 47 | Summary: Development files for %{name} |
---|
| 48 | Group: Development/Libraries |
---|
| 49 | Requires: %{name} = %{version}-%{release} |
---|
| 50 | Requires: %{name}-python = %{version}-%{release} |
---|
| 51 | Requires: gstreamer-devel >= %{gst_ver} |
---|
| 52 | Requires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver} |
---|
| 53 | Requires: pkgconfig |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %description devel |
---|
| 57 | The %{name}-devel package contains libraries and header files for |
---|
| 58 | developing applications that use %{name}. |
---|
| 59 | |
---|
| 60 | %prep |
---|
| 61 | %setup -q |
---|
| 62 | |
---|
| 63 | %build |
---|
| 64 | %configure \ |
---|
| 65 | --with-package-name='Vine Linux farsight2 package' \ |
---|
| 66 | --disable-static |
---|
| 67 | |
---|
| 68 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 69 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 70 | make %{?_smp_mflags} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
| 76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | rm -rf $RPM_BUILD_ROOT |
---|
| 80 | |
---|
| 81 | %post -p /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | %postun -p /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %files |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc COPYING |
---|
| 89 | %{_libdir}/*.so.* |
---|
| 90 | %dir %{_libdir}/%{name}-0.0 |
---|
| 91 | %{_libdir}/%{name}-0.0/libmulticast-transmitter.so |
---|
| 92 | %{_libdir}/%{name}-0.0/librawudp-transmitter.so |
---|
| 93 | %{_libdir}/%{name}-0.0/libnice-transmitter.so |
---|
| 94 | %{_libdir}/gstreamer-0.10/libfsfunnel.so |
---|
| 95 | %{_libdir}/gstreamer-0.10/libfsrtpconference.so |
---|
| 96 | %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so |
---|
| 97 | %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so |
---|
| 98 | %{_libdir}/gstreamer-0.10/libfsmsnconference.so |
---|
| 99 | |
---|
| 100 | %files python |
---|
| 101 | %defattr(-,root,root,-) |
---|
| 102 | %{python_sitearch}/farsight.so |
---|
| 103 | |
---|
| 104 | %files devel |
---|
| 105 | %defattr(-,root,root,-) |
---|
| 106 | %{_libdir}/libgstfarsight-0.10.so |
---|
| 107 | %{_libdir}/pkgconfig/%{name}-0.10.pc |
---|
| 108 | %{_includedir}/gstreamer-0.10/gst/farsight/ |
---|
| 109 | %{_datadir}/gtk-doc/html/%{name}-libs-0.10 |
---|
| 110 | %{_datadir}/gtk-doc/html/%{name}-plugins-0.10 |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | %changelog |
---|
| 114 | * Sat Feb 06 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.17-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
| 117 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.0.16-3 |
---|
| 118 | - rebuild with python-2.6 |
---|
| 119 | |
---|
| 120 | * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.16-2 |
---|
| 121 | - initial build for Vine Linux |
---|
| 122 | |
---|
| 123 | * Tue Oct 6 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.16-1 |
---|
| 124 | - Update to 0.0.16. |
---|
| 125 | |
---|
| 126 | * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.0.15-2 |
---|
| 127 | - Rebuild for new gupnp |
---|
| 128 | |
---|
| 129 | * Thu Sep 3 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.15-1 |
---|
| 130 | - Update to 0.0.15. |
---|
| 131 | |
---|
| 132 | * Thu Aug 06 2009 Warren Togami <wtogami@redhat.com> - 0.0.14-1 |
---|
| 133 | - 0.0.14 |
---|
| 134 | |
---|
| 135 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-4 |
---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 137 | |
---|
| 138 | * Wed Jul 22 2009 Warren Togami <wtogami@redhat.com> - 0.0.12-3 |
---|
| 139 | - rebuild |
---|
| 140 | |
---|
| 141 | * Mon Jun 22 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-2 |
---|
| 142 | - Remove unnecessary requires on gst-plugins-farsight. |
---|
| 143 | |
---|
| 144 | * Sat May 30 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.12-1 |
---|
| 145 | - Update to 0.0.12. |
---|
| 146 | |
---|
| 147 | * Tue May 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.11-1 |
---|
| 148 | - Update to 0.0.11. |
---|
| 149 | |
---|
| 150 | * Wed May 20 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.10-1 |
---|
| 151 | - Update to 0.0.10. |
---|
| 152 | |
---|
| 153 | * Tue Apr 7 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.9-1 |
---|
| 154 | - Update to 0.0.9. |
---|
| 155 | |
---|
| 156 | * Tue Mar 17 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.8-1 |
---|
| 157 | - Update to 0.0.8. |
---|
| 158 | - Bump min version of gstreamer needed. |
---|
| 159 | |
---|
| 160 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-3 |
---|
| 161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 162 | |
---|
| 163 | * Mon Jan 19 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-2 |
---|
| 164 | - Add BR on gupnp-igd-devel, pygobject2-devel, and pygtk2-devel. |
---|
| 165 | |
---|
| 166 | * Fri Jan 9 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.7-1 |
---|
| 167 | - Update to 0.0.7. |
---|
| 168 | |
---|
| 169 | * Mon Jan 5 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-4 |
---|
| 170 | - Add BR on libnice-devel and build libnice transmitter. |
---|
| 171 | - Set gstreamer package name & origin. |
---|
| 172 | |
---|
| 173 | * Fri Jan 02 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-3 |
---|
| 174 | - Rebuild. |
---|
| 175 | |
---|
| 176 | * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-2 |
---|
| 177 | - Preserve time stamps. |
---|
| 178 | |
---|
| 179 | * Tue Dec 16 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.0.6-1 |
---|
| 180 | - Initial Fedora spec. |
---|