Initial Fedora spec file

This commit is contained in:
Brian Pepple 2012-10-03 14:06:56 -04:00
parent b8b144f90e
commit 0719099f12
3 changed files with 110 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/farstream-0.2.0.tar.gz

108
farstream02.spec Normal file
View File

@ -0,0 +1,108 @@
%global gst_ver 1.0.0
%global gst_plugins_base_ver 1.0.0
%global far farstream
Name: %{far}02
Version: 0.2.0
Release: 2%{?dist}
Summary: Libraries for videoconferencing
# Package is LGPLv2 except for a few files in /common/coverage/
License: LGPLv2+ and GPLv2+
URL: http://www.freedesktop.org/wiki/Software/Farstream
Source0: http://freedesktop.org/software/%{far}/releases/%{far}/%{far}-%{version}.tar.gz
BuildRequires: libnice-devel >= 0.1.3
BuildRequires: gstreamer1-devel >= %{gst_ver}
BuildRequires: gstreamer1-plugins-base-devel >= %{gst_plugins_base_ver}
BuildRequires: gupnp-igd-devel
BuildRequires: gobject-introspection-devel
BuildRequires: python-devel
Requires: gstreamer1-plugins-good >= 1.0.0
Requires: gstreamer1-plugins-bad-free >= 1.0.0
%description
%{name} is a collection of GStreamer modules and libraries for
videoconferencing.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gstreamer1-devel >= %{gst_ver}
Requires: gstreamer1-plugins-base-devel >= %{gst_plugins_base_ver}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{far}-%{version}
%build
%configure \
--with-package-name='Fedora Farstream-0.2 package' \
--with-package-origin='http://download.fedoraproject.org' \
--disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS AUTHORS
%{_libdir}/*.so.*
%dir %{_libdir}/%{far}-0.2
%{_libdir}/%{far}-0.2/libmulticast-transmitter.so
%{_libdir}/%{far}-0.2/libnice-transmitter.so
%{_libdir}/%{far}-0.2/librawudp-transmitter.so
%{_libdir}/%{far}-0.2/libshm-transmitter.so
%{_libdir}/gstreamer-1.0/libfsmsnconference.so
%{_libdir}/gstreamer-1.0/libfsrawconference.so
%{_libdir}/gstreamer-1.0/libfsrtcpfilter.so
%{_libdir}/gstreamer-1.0/libfsrtpconference.so
%{_libdir}/gstreamer-1.0/libfsvideoanyrate.so
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
%dir %{_datadir}/%{far}
%dir %{_datadir}/%{far}/0.2
%dir %{_datadir}/%{far}/0.2/fsrtpconference
%dir %{_datadir}/%{far}/0.2/fsrawconference
%{_datadir}/%{far}/0.2/fsrawconference/default-element-properties
%{_datadir}/%{far}/0.2/fsrtpconference/default-codec-preferences
%{_datadir}/%{far}/0.2/fsrtpconference/default-element-properties
%files devel
%{_libdir}/libfarstream-0.2.so
%{_libdir}/pkgconfig/%{far}-0.2.pc
%{_includedir}/%{far}-0.2/%{far}/
%{_datadir}/gir-1.0/Farstream-0.2.gir
%{_datadir}/gtk-doc/html/%{far}-libs-1.0/
%{_datadir}/gtk-doc/html/%{far}-plugins-0.2/
%changelog
* Wed Oct 3 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-2
- Drop unnecessary removal of buildroot in the install section.
- Update License info.
* Wed Sep 26 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0
* Tue Sep 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.91-1
- Initial Fedora spec.

View File

@ -0,0 +1 @@
efedec4a885170d350b5cc43c933f1c0 farstream-0.2.0.tar.gz