]> git.pld-linux.org Git - packages/gstreamer-editing-services.git/blame - gstreamer-editing-services.spec
- updated to 1.6.2
[packages/gstreamer-editing-services.git] / gstreamer-editing-services.spec
CommitLineData
4c938980
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4#
b23c91c6
JB
5%define gst_req_ver 1.6.2
6%define gstpb_req_ver 1.6.2
03a607d8
JB
7Summary: GStreamer Editing Services library
8Summary(pl.UTF-8): Biblioteka funkcji edycyjnych GStreamera (GStreamer Editing Services)
9Name: gstreamer-editing-services
b23c91c6 10Version: 1.6.2
03a607d8
JB
11Release: 1
12License: LGPL v2+
13Group: Libraries
8824c481 14Source0: http://gstreamer.freedesktop.org/src/gstreamer-editing-services/%{name}-%{version}.tar.xz
b23c91c6 15# Source0-md5: 76a1aa3f08af4c56b08d784aea46b712
03a607d8 16URL: http://gstreamer.net/
8824c481
JB
17BuildRequires: autoconf >= 2.62
18BuildRequires: automake >= 1:1.11
19BuildRequires: glib2-devel >= 1:2.34.0
03a607d8 20BuildRequires: gobject-introspection-devel >= 0.9.6
6d22b9b8
JB
21BuildRequires: gstreamer-devel >= %{gst_req_ver}
22BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_req_ver}
4c938980 23BuildRequires: gstreamer-validate-devel >= 1.6.0
03a607d8 24BuildRequires: gtk-doc >= 1.3
4c938980 25BuildRequires: libtool >= 2:2.2.6
8824c481 26BuildRequires: libxml2-devel >= 2.0
4c938980
JB
27BuildRequires: pkgconfig >= 1:0.9.0
28BuildRequires: python >= 1:2.3
8824c481
JB
29# what version???
30#BuildRequires: python-pygobject3-devel >= 4.22
4c938980 31BuildRequires: rpmbuild(macros) >= 1.673
8824c481
JB
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
34Requires: glib2 >= 1:2.34.0
6d22b9b8
JB
35Requires: gstreamer >= %{gst_req_ver}
36Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
9ade4937 37Obsoletes: gstreamer-gnonlin < 1.6.0
03a607d8
JB
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41GStreamer Editing Services is a high-level library for facilitating
42the creation of audio/video non-linear editors.
43
44%description -l pl.UTF-8
45GStreamer Editing Services to wysokopoziomowa biblioteka ułatwiająca
46tworzenie nieliniowych edytorów audio/video.
47
48%package devel
49Summary: Header files for GStreamer Editing Services library
50Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GStreamer Editing Services
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
8824c481 53Requires: glib2-devel >= 1:2.34.0
6d22b9b8
JB
54Requires: gstreamer-devel >= %{gst_req_ver}
55Requires: gstreamer-plugins-base-devel >= %{gstpb_req_ver}
03a607d8
JB
56
57%description devel
58Header files for GStreamer Editing Services library.
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe biblioteki GStreamer Editing Services.
62
63%package static
64Summary: Static GStreamer Editing Services library
65Summary(pl.UTF-8): Statyczba biblioteka GStreamer Editing Services
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70Static GStreamer Editing Services library.
71
72%description static -l pl.UTF-8
73Statyczba biblioteka GStreamer Editing Services.
74
75%package apidocs
76Summary: API documentation for GStreamer Editing Services library
77Summary(pl.UTF-8): Dokumentacja API biblioteki GStreamer Editing Services
78Group: Documentation
79Requires: gtk-doc-common
9ade4937 80Obsoletes: gstreamer-gnonlin-apidocs < 1.6.0
03a607d8
JB
81
82%description apidocs
83API documentation for GStreamer Editing Services library.
84
85%description apidocs -l pl.UTF-8
86Dokumentacja API biblioteki GStreamer Editing Services.
87
4c938980
JB
88%package -n bash-completion-gstreamer-editing-services
89Summary: Bash completion for GStreamer Editing Services utilities
90Summary(pl.UTF-8): Bashowe uzupełnianie paramterów narzędzi GStreamer Editing Services
91Group: Applications/Shells
92Requires: %{name} = %{version}-%{release}
93Requires: bash-completion >= 2.0
94
95%description -n bash-completion-gstreamer-editing-services
96Bash completion for GStreamer Editing Services utilities (ges-launch).
97
98%description -n bash-completion-gstreamer-editing-services -l pl.UTF-8
99Bashowe uzupełnianie paramterów narzędzi GStreamer Editing Services
100(ges-launch).
101
03a607d8
JB
102%prep
103%setup -q
104
105%build
106%{__libtoolize}
107%{__aclocal} -I m4 -I common/m4
108%{__autoconf}
109%{__autoheader}
110%{__automake}
111%configure \
112 --disable-silent-rules \
113 --enable-gtk-doc \
4c938980
JB
114 %{?with_static_libs:--enable-static} \
115 --with-bash-completion-dir=%{bash_compdir} \
03a607d8
JB
116 --with-html-dir=%{_gtkdocdir}
117
118%{__make}
119
120%install
121rm -rf $RPM_BUILD_ROOT
122
123%{__make} install \
4c938980
JB
124 DESTDIR=$RPM_BUILD_ROOT \
125 scenariosdir=%{_datadir}/gstreamer-1.0/validate/scenarios
03a607d8 126
8824c481
JB
127# obsoleted by pkg-config
128%{__rm} $RPM_BUILD_ROOT%{_libdir}/libges-1.0.la
4c938980
JB
129# module loaded through glib
130%{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstnle.la
131
132%py_comp $RPM_BUILD_ROOT%{_libdir}/gst-validate-launcher/python/launcher/apps
133%py_ocomp $RPM_BUILD_ROOT%{_libdir}/gst-validate-launcher/python/launcher/apps
8824c481 134
03a607d8
JB
135%clean
136rm -rf $RPM_BUILD_ROOT
137
138%post -p /sbin/ldconfig
139%postun -p /sbin/ldconfig
140
141%files
142%defattr(644,root,root,755)
143%doc AUTHORS ChangeLog NEWS README RELEASE
8824c481
JB
144%attr(755,root,root) %{_bindir}/ges-launch-1.0
145%attr(755,root,root) %{_libdir}/libges-1.0.so.*.*.*
146%attr(755,root,root) %ghost %{_libdir}/libges-1.0.so.0
147%{_libdir}/girepository-1.0/GES-1.0.typelib
4c938980
JB
148%attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstnle.so
149%{_libdir}/gst-validate-launcher/python/launcher/apps/geslaunch.py*
150%{_datadir}/gstreamer-1.0/validate/scenarios/ges-edit-clip-while-paused.scenario
03a607d8
JB
151
152%files devel
153%defattr(644,root,root,755)
8824c481
JB
154%attr(755,root,root) %{_libdir}/libges-1.0.so
155%{_includedir}/gstreamer-1.0/ges
156%{_datadir}/gir-1.0/GES-1.0.gir
157%{_pkgconfigdir}/gst-editing-services-1.0.pc
03a607d8 158
4c938980 159%if %{with static_libs}
03a607d8
JB
160%files static
161%defattr(644,root,root,755)
8824c481 162%{_libdir}/libges-1.0.a
4c938980 163%endif
03a607d8
JB
164
165%files apidocs
166%defattr(644,root,root,755)
8824c481 167%{_gtkdocdir}/ges-1.0
4c938980
JB
168
169%files -n bash-completion-gstreamer-editing-services
170%defattr(644,root,root,755)
171%{bash_compdir}/ges-launch-1.0
This page took 0.103701 seconds and 4 git commands to generate.