]> git.pld-linux.org Git - packages/gst-editor.git/blob - gst-editor.spec
ad146b9def194231de952f516f02fae51f7a5cea
[packages/gst-editor.git] / gst-editor.spec
1 Summary:        GStreamer streaming media editor and GUI tools
2 Summary(pl.UTF-8):      GStreamer - edytor strumieni medialnych i narzędzia GUI
3 Name:           gst-editor
4 Version:        0.8.0
5 Release:        3
6 License:        LGPL
7 Group:          Applications/Multimedia
8 Source0:        http://gstreamer.freedesktop.org/src/gst-editor/%{name}-%{version}.tar.gz
9 # Source0-md5:  00e004ad68f9b90138b87ec729cb1607
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-locale-names.patch
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2:2.6.4
16 BuildRequires:  gstreamer08x-devel >= 0.8.9
17 BuildRequires:  libglade2-devel >= 1:2.5.1
18 BuildRequires:  libgnomeui-devel >= 2.10.0-2
19 BuildRequires:  libtool
20 BuildRequires:  libxml2-devel >= 1:2.6.19
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 1.197
23 BuildRequires:  scrollkeeper
24 Requires(post,postun):  /sbin/ldconfig
25 Requires(post,postun):  scrollkeeper
26 Requires:       gstreamer08x >= 0.8.9
27 Requires:       libglade2 >= 1:2.5.1
28 Requires:       libgnomeui >= 2.10.0-2
29 Requires:       libxml2 >= 1:2.6.19
30 Requires:       scrollkeeper >= 0.3.8
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 This package contains gst-editor and a few graphical tools. gst-editor
35 is a development tool for graphically creating applications based on
36 GStreamer. gst-launch-gui is an extension of gst-launch allowing you
37 to dynamically turn on logging domains. gst-inspect-gui is a graphical
38 element browser.
39
40 %description -l pl.UTF-8
41 Ten pakiet zawiera gst-editor oraz kilka narzędzi graficznych.
42 gst-editor to narzędzie programistyczne do graficznego tworzenia
43 aplikacji opartych na GStreamerze. gst-launch-gui to rozszerzenie
44 gst-launch pozwalające dynamicznie włączać domeny logowania.
45 gst-inspect-gui to graficzna przeglądarka elementów.
46
47 %package devel
48 Summary:        Development headers for the Editor
49 Summary(pl.UTF-8):      Pliki nagłówkowe edytora
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52
53 %description devel
54 This package provides the necessary development include files to allow
55 you to embed the editor in other applications or call upon its
56 functionality.
57
58 %description devel -l pl.UTF-8
59 Ten pakiet dostarcza plików nagłówkowych pozwalających na osadzanie
60 edytora w innych aplikacjach lub wywoływania jego funkcjonalności.
61
62 %package static
63 Summary:        Static files for the Editor
64 Summary(pl.UTF-8):      Statyczne biblioteki edytora
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67
68 %description static
69 This package contains static files for gst-editor.
70
71 %description static -l pl.UTF-8
72 Ten pakiet zawiera statyczne biblioteki gst-editora.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78
79 mv -f po/{no,nb}.po
80
81 # AS_VERSION
82 head -n 79 aclocal.m4 > acinclude.m4
83 # AS_LIBTOOL
84 tail -n +1045 aclocal.m4 | head -n 61 >> acinclude.m4
85 # AS_AUTOTOOLS_ALTERNATE, GST_DEBUGINFO, AS_COMPILER_FLAG
86 tail -n +7184 aclocal.m4 | head -n 130 >> acinclude.m4
87 # AS_AC_EXPAND
88 tail -n +7374 aclocal.m4 | head -n 43 >> acinclude.m4
89
90 %build
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 %find_lang %{name}
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post
111 /sbin/ldconfig
112 %scrollkeeper_update_post
113
114 %postun
115 /sbin/ldconfig
116 %scrollkeeper_update_postun
117
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog NEWS README
121 %attr(755,root,root) %{_bindir}/gst-editor
122 %attr(755,root,root) %{_bindir}/gst-launch-gui
123 %attr(755,root,root) %{_bindir}/gst-inspect-gui
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %{_datadir}/%{name}
126 %{_desktopdir}/*.desktop
127 %{_pixmapsdir}/*
128 %{_omf_dest_dir}/%{name}
129 %{_mandir}/man1/*
130
131 %files devel
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/lib*.so
134 %{_libdir}/lib*.la
135 %{_includedir}/%{name}-%{version}
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/lib*.a
This page took 0.0724 seconds and 2 git commands to generate.