]>
Commit | Line | Data |
---|---|---|
12d62fb9 | 1 | # |
2 | # TODO: doesn't build with gl enabled | |
3 | # | |
2e9c8671 | 4 | Summary: GTK+ tool to edit subtitles |
12d62fb9 | 5 | Summary(pl.UTF-8): Narzędzie napisane w GTK+ do edycji napisów |
2e9c8671 | 6 | Name: subtitleeditor |
e6d8925f | 7 | Version: 0.38.0 |
27adc2d8 | 8 | Release: 0.1 |
4816fd38 MB |
9 | License: GPL v3+ |
10 | Group: X11/Applications | |
e6d8925f | 11 | Source0: http://download.gna.org/subtitleeditor/0.38/%{name}-%{version}.tar.gz |
12 | # Source0-md5: 2c4d7d4bd79f45effcea279a2e06ca66 | |
27e197d7 | 13 | URL: http://home.gna.org/subtitleeditor/ |
4816fd38 | 14 | BuildRequires: autoconf >= 2.59 |
2e9c8671 | 15 | BuildRequires: automake |
4816fd38 | 16 | BuildRequires: enchant-devel >= 1.1.0 |
3f2fe629 | 17 | BuildRequires: gettext-devel |
4816fd38 MB |
18 | BuildRequires: glibmm-devel >= 2.16.3 |
19 | BuildRequires: gstreamer-audio-effects-good >= 0.10.5 | |
afa32c59 | 20 | BuildRequires: gstreamer-devel >= 0.10 |
21 | BuildRequires: gstreamer-plugins-base-devel >= 0.10 | |
12d62fb9 | 22 | BuildRequires: gstreamermm-devel >= 0.10 |
4816fd38 MB |
23 | BuildRequires: gtkglextmm-devel >= 1.2.0 |
24 | BuildRequires: gtkmm-devel >= 2.12.0 | |
25 | BuildRequires: intltool >= 0.35.0 | |
26 | BuildRequires: iso-codes | |
2e9c8671 | 27 | BuildRequires: libglademm-devel >= 2.4 |
4816fd38 | 28 | BuildRequires: libstdc++-devel |
2e9c8671 | 29 | BuildRequires: libtool |
4816fd38 | 30 | BuildRequires: libxml++-devel >= 2.20.0 |
2e9c8671 | 31 | BuildRequires: pkgconfig |
4816fd38 MB |
32 | BuildRequires: rpmbuild(macros) >= 1.311 |
33 | Requires(post,postun): desktop-file-utils | |
a11a36bb AF |
34 | Requires(post,postun): gtk-update-icon-cache |
35 | Requires(post,postun): hicolor-icon-theme | |
da416df3 | 36 | Suggests: gstreamer-aac |
37 | Suggests: gstreamer-audio-effects-base | |
59c2eb3f | 38 | Suggests: gstreamer-ffmpeg |
da416df3 | 39 | Suggests: gstreamer-imagesink-xv |
40 | Suggests: gstreamer-pango | |
41 | Suggests: gstreamer-plugins-good | |
2e9c8671 | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
43 | ||
44 | %description | |
45 | Subtitle Editor is a GTK+ tool to edit subtitles. | |
46 | ||
21f9a72d | 47 | %description -l pl.UTF-8 |
12d62fb9 | 48 | Subtitle Editor jest narzędziem napisanym w GTK+ do edycji napisów. |
2e9c8671 | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
4816fd38 | 54 | %{__intltoolize} |
2e9c8671 | 55 | %{__libtoolize} |
4816fd38 | 56 | %{__aclocal} -I m4 |
2e9c8671 | 57 | %{__autoconf} |
4816fd38 | 58 | %{__autoheader} |
2e9c8671 | 59 | %{__automake} |
12d62fb9 | 60 | %configure |
61 | #%%configure \ | |
62 | # --enable-gl | |
4816fd38 | 63 | |
2e9c8671 | 64 | %{__make} |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
4816fd38 | 72 | # remove pt_PT as there is already pt locale |
e6d8925f | 73 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/pt_PT |
4816fd38 | 74 | |
e6d8925f | 75 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/{actions,subtitleformats}/*.la |
4816fd38 MB |
76 | |
77 | %find_lang %{name} | |
8a1e4565 | 78 | |
2e9c8671 | 79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
4816fd38 MB |
82 | %post |
83 | /sbin/ldconfig | |
84 | %update_icon_cache hicolor | |
85 | %update_desktop_database | |
86 | ||
87 | %postun | |
88 | /sbin/ldconfig | |
89 | %update_icon_cache hicolor | |
90 | %update_desktop_database_postun | |
91 | ||
8a1e4565 | 92 | %files -f %{name}.lang |
2e9c8671 | 93 | %defattr(644,root,root,755) |
4816fd38 MB |
94 | %doc AUTHORS ChangeLog NEWS README TODO |
95 | %attr(755,root,root) %{_bindir}/subtitleeditor | |
96 | %attr(755,root,root) %{_libdir}/libsubtitleeditor.so* | |
97 | %dir %{_libdir}/%{name} | |
98 | %dir %{_libdir}/%{name}/plugins | |
99 | %dir %{_libdir}/%{name}/plugins/actions | |
100 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libabout.so | |
101 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libadjusttime.so | |
102 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libapplytranslation.so | |
103 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libchangeframerate.so | |
104 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libcombinesubtitles.so | |
105 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libcommand.so | |
106 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libconfigurekeyboardshortcuts.so | |
107 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libdialoguize.so | |
108 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libdocumentmanagement.so | |
109 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libduplicatesubtitle.so | |
110 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libeditcell.so | |
111 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/liberrorchecking.so | |
112 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libextendlength.so | |
113 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libexternalvideoplayer.so | |
114 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libfindandreplace.so | |
115 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libinsertsubtitle.so | |
116 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libitalicize.so | |
117 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libjoindocument.so | |
da416df3 | 118 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libkeyframesmanagement.so |
4816fd38 MB |
119 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libmoveafterprecedingsubtitle.so |
120 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libmovesubtitles.so | |
121 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libplaintext.so | |
122 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libpreferences.so | |
123 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libremovesubtitle.so | |
124 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libreversetextandtranslation.so | |
125 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libscalesubtitles.so | |
126 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libselection.so | |
da416df3 | 127 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libsortsubtitles.so |
4816fd38 MB |
128 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libspellchecking.so |
129 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libsplitdocument.so | |
130 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libsplitsubtitle.so | |
131 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libstyleeditor.so | |
132 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libtextcorrection.so | |
133 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libtimemodemanagement.so | |
da416df3 | 134 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libtimingfromplayer.so |
135 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libtypewriter.so | |
4816fd38 MB |
136 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libvideoplayermanagement.so |
137 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libviewmanager.so | |
138 | %attr(755,root,root) %{_libdir}/%{name}/plugins/actions/libwaveformmanagement.so | |
139 | %dir %{_libdir}/%{name}/plugins/subtitleformats | |
140 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libadobeencoredvdntsc.so | |
141 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libadobeencoredvdpal.so | |
142 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libadvancedsubstationalpha.so | |
da416df3 | 143 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libbitc.so |
4816fd38 MB |
144 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libmicrodvd.so |
145 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libmpl2.so | |
146 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libmpsub.so | |
da416df3 | 147 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsbv.so |
148 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsprucestl.so | |
4816fd38 MB |
149 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsubrip.so |
150 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsubstationalpha.so | |
151 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsubtitleeditorproject.so | |
152 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libsubviewer2.so | |
153 | %attr(755,root,root) %{_libdir}/%{name}/plugins/subtitleformats/libtimedtextauthoringformat1.so | |
2e9c8671 | 154 | %{_datadir}/%{name} |
afa32c59 | 155 | %{_desktopdir}/%{name}.desktop |
c7202101 | 156 | %{_iconsdir}/hicolor/*/apps/subtitleeditor.* |
4816fd38 MB |
157 | %{_pixmapsdir}/*.svg |
158 | %{_mandir}/man1/subtitleeditor.1* |