]> git.pld-linux.org Git - packages/farsight2.git/blob - farsight2.spec
- updated to 0.0.12
[packages/farsight2.git] / farsight2.spec
1 Summary:        Audio/Video Communications Framework
2 Name:           farsight2
3 Version:        0.0.12
4 Release:        1
5 License:        LGPL v2+
6 Group:          Libraries
7 Source0:        http://farsight.freedesktop.org/releases/farsight2/%{name}-%{version}.tar.gz
8 # Source0-md5:  cd4cb116947dd8ce2c837ba398e27c4e
9 URL:            http://farsight.freedesktop.org/
10 BuildRequires:  autoconf >= 2.60
11 BuildRequires:  automake
12 BuildRequires:  glib2-devel >= 1:2.16.0
13 BuildRequires:  gstreamer-devel >= 0.10.22
14 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.22
15 BuildRequires:  gtk-doc >= 1.8
16 BuildRequires:  gupnp-igd-devel
17 BuildRequires:  libnice-devel >= 0.0.6
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  python-devel >= 1:2.4
21 BuildRequires:  python-gstreamer-devel >= 0.10.10
22 BuildRequires:  python-pygtk-devel >= 2:2.12.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The Farsight project is an effort to create a framework to deal with
27 all known audio/video conferencing protocols. On one side it offers a
28 generic API that makes it possible to write plugins for different
29 streaming protocols, on the other side it offers an API for clients to
30 use those plugins.
31
32 The main target clients for Farsight are Instant Messaging
33 applications. These applications should be able to use Farsight for
34 all their Audio/Video conferencing needs without having to worry about
35 any of the lower level streaming and NAT traversal issues.
36
37 %package devel
38 Summary:        Header files for farsight2 library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki farsight2
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       gstreamer-devel >= 0.10.22
43 Requires:       gstreamer-plugins-base-devel >= 0.10.22
44
45 %description devel
46 Header files for farsight2 library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki farsight2.
50
51 %package static
52 Summary:        Static farsight2 library
53 Summary(pl.UTF-8):      Statyczna biblioteka farsight2
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static farsight2 library.
59
60 %description static -l pl.UTF-8
61 Statyczna biblioteka farsight2.
62
63 %package apidocs
64 Summary:        farsight2 library API documentation
65 Summary(pl.UTF-8):      Dokumentacja API biblioteki farsight2
66 Group:          Documentation
67 Requires:       gtk-doc-common
68
69 %description apidocs
70 farsight2 library API documentation.
71
72 %description apidocs -l pl.UTF-8
73 Dokumentacja API biblioteki farsight2.
74
75 %package -n python-farsight2
76 Summary:        farsight2 Python bindings
77 Summary(pl.UTF-8):      Wiązania Pythona do farsight2
78 Group:          Libraries/Python
79 Requires:       %{name} = %{version}-%{release}
80
81 %description -n python-farsight2
82 farsight2 Python bindings.
83
84 %description -n python-farsight2 -l pl.UTF-8
85 Wiązania Pythona do farsight2.
86
87 %prep
88 %setup -q
89
90 %build
91 %{__libtoolize}
92 %{__aclocal} -I common/m4 -I m4
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure \
97         --enable-gtk-doc \
98         --with-html-dir=%{_gtkdocdir}
99
100 %{__make}
101
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %{__rm} $RPM_BUILD_ROOT%{_libdir}/farsight2-0.0/*.{a,la}
110 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/*.{a,la}
111 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README
122 %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libgstfarsight-0.10.so.0
124 %dir %{_libdir}/farsight2-0.0
125 %attr(755,root,root) %{_libdir}/farsight2-0.0/libmulticast-transmitter.so
126 %attr(755,root,root) %{_libdir}/farsight2-0.0/libnice-transmitter.so
127 %attr(755,root,root) %{_libdir}/farsight2-0.0/librawudp-transmitter.so
128 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so
129 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
130 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtpconference.so
131 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so
136 %{_libdir}/libgstfarsight-0.10.la
137 %{_includedir}/gstreamer-0.10/gst/farsight
138 %{_pkgconfigdir}/farsight2-0.10.pc
139
140 %files static
141 %defattr(644,root,root,755)
142 %{_libdir}/libgstfarsight-0.10.a
143
144 %files apidocs
145 %defattr(644,root,root,755)
146 %{_gtkdocdir}/farsight2-libs-0.10
147 %{_gtkdocdir}/farsight2-plugins-0.10
148
149 %files -n python-farsight2
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{py_sitedir}/farsight.so
This page took 0.095466 seconds and 3 git commands to generate.