]>
Commit | Line | Data |
---|---|---|
6d2727b3 | 1 | Summary: GStreamer streaming media editor and GUI tools |
c6ba2e2b | 2 | Summary(pl.UTF-8): GStreamer - edytor strumieni medialnych i narzędzia GUI |
6d2727b3 | 3 | Name: gst-editor |
668d7661 | 4 | Version: 0.8.0 |
f1fa49e1 | 5 | Release: 3 |
6d2727b3 | 6 | License: LGPL |
7 | Group: Applications/Multimedia | |
3fff3722 | 8 | Source0: http://gstreamer.freedesktop.org/src/gst-editor/%{name}-%{version}.tar.gz |
668d7661 | 9 | # Source0-md5: 00e004ad68f9b90138b87ec729cb1607 |
ee481ed5 | 10 | Patch0: %{name}-desktop.patch |
d9c8d67c JB |
11 | Patch1: %{name}-locale-names.patch |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
81bbd770 | 14 | BuildRequires: gettext-tools |
2548027b | 15 | BuildRequires: gtk+2-devel >= 2:2.6.4 |
f1fa49e1 | 16 | BuildRequires: gstreamer08x-devel >= 0.8.9 |
2548027b | 17 | BuildRequires: libglade2-devel >= 1:2.5.1 |
18 | BuildRequires: libgnomeui-devel >= 2.10.0-2 | |
d9c8d67c | 19 | BuildRequires: libtool |
2548027b | 20 | BuildRequires: libxml2-devel >= 1:2.6.19 |
39e1b6b4 | 21 | BuildRequires: pkgconfig |
2548027b | 22 | BuildRequires: rpmbuild(macros) >= 1.197 |
6d2727b3 | 23 | BuildRequires: scrollkeeper |
ebbaebb3 JB |
24 | Requires(post,postun): /sbin/ldconfig |
25 | Requires(post,postun): scrollkeeper | |
f1fa49e1 | 26 | Requires: gstreamer08x >= 0.8.9 |
2548027b | 27 | Requires: libglade2 >= 1:2.5.1 |
28 | Requires: libgnomeui >= 2.10.0-2 | |
29 | Requires: libxml2 >= 1:2.6.19 | |
6d2727b3 | 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 | ||
6dd39dd4 JR |
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 | |
bf57706d | 43 | aplikacji opartych na GStreamerze. gst-launch-gui to rozszerzenie |
6dd39dd4 JR |
44 | gst-launch pozwalające dynamicznie włączać domeny logowania. |
45 | gst-inspect-gui to graficzna przeglądarka elementów. | |
bf57706d | 46 | |
6d2727b3 | 47 | %package devel |
48 | Summary: Development headers for the Editor | |
c6ba2e2b | 49 | Summary(pl.UTF-8): Pliki nagłówkowe edytora |
6d2727b3 | 50 | Group: Development/Libraries |
d9c8d67c | 51 | Requires: %{name} = %{version}-%{release} |
6d2727b3 | 52 | |
53 | %description devel | |
bf57706d JB |
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 | ||
6dd39dd4 JR |
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. | |
6d2727b3 | 61 | |
62 | %package static | |
63 | Summary: Static files for the Editor | |
c6ba2e2b | 64 | Summary(pl.UTF-8): Statyczne biblioteki edytora |
6d2727b3 | 65 | Group: Development/Libraries |
d9c8d67c | 66 | Requires: %{name}-devel = %{version}-%{release} |
6d2727b3 | 67 | |
68 | %description static | |
69 | This package contains static files for gst-editor. | |
70 | ||
6dd39dd4 | 71 | %description static -l pl.UTF-8 |
bf57706d JB |
72 | Ten pakiet zawiera statyczne biblioteki gst-editora. |
73 | ||
6d2727b3 | 74 | %prep |
75 | %setup -q | |
ee481ed5 | 76 | %patch0 -p1 |
d9c8d67c JB |
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 | |
6d2727b3 | 89 | |
90 | %build | |
d9c8d67c JB |
91 | %{__libtoolize} |
92 | %{__aclocal} | |
93 | %{__autoconf} | |
94 | %{__autoheader} | |
95 | %{__automake} | |
6d2727b3 | 96 | %configure |
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
bf57706d | 101 | |
6d2727b3 | 102 | %{__make} install \ |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
d9c8d67c JB |
105 | %find_lang %{name} |
106 | ||
6d2727b3 | 107 | %clean |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %post | |
111 | /sbin/ldconfig | |
2548027b | 112 | %scrollkeeper_update_post |
6d2727b3 | 113 | |
114 | %postun | |
115 | /sbin/ldconfig | |
2548027b | 116 | %scrollkeeper_update_postun |
6d2727b3 | 117 | |
d9c8d67c | 118 | %files -f %{name}.lang |
6d2727b3 | 119 | %defattr(644,root,root,755) |
ebbaebb3 | 120 | %doc AUTHORS ChangeLog NEWS README |
6d2727b3 | 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 | |
ed4ccbe9 | 124 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
6d2727b3 | 125 | %{_datadir}/%{name} |
20fc6e7e | 126 | %{_desktopdir}/*.desktop |
6d2727b3 | 127 | %{_pixmapsdir}/* |
128 | %{_omf_dest_dir}/%{name} | |
129 | %{_mandir}/man1/* | |
130 | ||
131 | %files devel | |
132 | %defattr(644,root,root,755) | |
ed4ccbe9 JB |
133 | %attr(755,root,root) %{_libdir}/lib*.so |
134 | %{_libdir}/lib*.la | |
6d2727b3 | 135 | %{_includedir}/%{name}-%{version} |
6d2727b3 | 136 | |
137 | %files static | |
138 | %defattr(644,root,root,755) | |
ed4ccbe9 | 139 | %{_libdir}/lib*.a |