1 | Name: gstreamer-filters |
---|
2 | Version: 0.10.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Gstreamer convenience library |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: LGPLv2+ |
---|
8 | URL: http://www.freedesktop.org/wiki/Software/GstFilters |
---|
9 | |
---|
10 | Source0: http://www.freedesktop.org/software/farstream/releases/gstfilters/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: gstreamer-devel |
---|
15 | BuildRequires: gstreamer-plugins-base-devel |
---|
16 | BuildRequires: gstreamer-plugins-base-devel |
---|
17 | %if "%{?_dist_release}" >= "vl7" |
---|
18 | BuildRequires: gtk3-devel |
---|
19 | %else |
---|
20 | BuildRequires: gtk2-devel |
---|
21 | %endif |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | %description |
---|
28 | GstFilters is a high level library that provides a convenience API on top of Gstreamer. |
---|
29 | It allows building complex pipelines with very few lines of code and concentrates on the |
---|
30 | features you want rather than on each element's specific task. |
---|
31 | |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development environment for gstreamer-filters |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | Requires: pkgconfig |
---|
38 | |
---|
39 | %description devel |
---|
40 | Header files and libraries for building a extension library for the |
---|
41 | gstreamer-filters. |
---|
42 | |
---|
43 | |
---|
44 | %package doc |
---|
45 | Summary: Documentation for gstreamer-filters |
---|
46 | Group: Documentation |
---|
47 | Requires: %{name} = %{version}-%{release} |
---|
48 | BuildArch: noarch |
---|
49 | |
---|
50 | %description doc |
---|
51 | This package contains documentation for gstreamer-filters. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | |
---|
57 | %build |
---|
58 | %configure \ |
---|
59 | %if "%{?_dist_release}" >= "vl7" |
---|
60 | --with-gtk=3.0 \ |
---|
61 | %else |
---|
62 | --with-gtk=2.0 \ |
---|
63 | %endif |
---|
64 | --disable-static \ |
---|
65 | |
---|
66 | make %{?_smp_mflags} |
---|
67 | |
---|
68 | %install |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
71 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
72 | |
---|
73 | %clean |
---|
74 | rm -rf $RPM_BUILD_ROOT |
---|
75 | |
---|
76 | %post -p /sbin/ldconfig |
---|
77 | |
---|
78 | %postun -p /sbin/ldconfig |
---|
79 | |
---|
80 | %files |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
83 | %{_libdir}/libgstfilters-0.10.so.* |
---|
84 | %{_libdir}/girepository-1.0/GstFilters-0.10.typelib |
---|
85 | |
---|
86 | %files devel |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %{_includedir}/gstreamer-0.10/gst/filters |
---|
89 | %{_libdir}/libgstfilters-0.10.so |
---|
90 | %{_libdir}/pkgconfig/gstreamer-filters.pc |
---|
91 | %{_datadir}/gir-1.0/GstFilters-0.10.gir |
---|
92 | |
---|
93 | %files doc |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %{_datadir}/gtk-doc/html/gstreamer-filters-0.10 |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1 |
---|
100 | - initial build for Vine Linux |
---|