]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: BRs | |
3 | # separate package for libgstreamer_playbin.so | |
4 | # | |
5 | %include /usr/lib/rpm/macros.mono | |
6 | Summary: A subtitle editor for the GNOME desktop | |
7 | Summary(pl.UTF-8): Edytor napisów dla środowiska GNOME | |
8 | Name: gnome-subtitles | |
9 | Version: 0.8 | |
10 | Release: 2 | |
11 | License: GPL v2 | |
12 | Group: X11/Applications | |
13 | Source0: http://dl.sourceforge.net/gnome-subtitles/%{name}-%{version}.tar.gz | |
14 | # Source0-md5: 9590389ba91f9cfd94b6b36454dc2420 | |
15 | URL: http://gnome-subtitles.sourceforge.net/ | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
18 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16 | |
19 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.7 | |
20 | BuildRequires: gstreamer-devel >= 0.10 | |
21 | BuildRequires: gstreamer-plugins-base-devel >= 0.10 | |
22 | BuildRequires: mono-csharp | |
23 | BuildRequires: rpmbuild(monoautodeps) | |
24 | BuildRequires: sublib-devel >= 0.9 | |
25 | Requires: enchant | |
26 | Requires: dotnet-gnome-sharp >= 2.16 | |
27 | Requires: dotnet-gtk-sharp2 >= 2.12.7 | |
28 | Requires: gtkspell | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Gnome Subtitles is a subtitle editor for the GNOME desktop. It | |
33 | supports the most common text-based subtitle formats and allows for | |
34 | subtitle editing, conversion and synchronization. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Gnome Subtitles to edytor napisów dla środowiska GNOME. Obsługuje | |
38 | większość popularnych tekstowych formatów napisów i umożliwia | |
39 | modyfikowanie, konwersję i synchronizację napisów. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %{find_lang} %{name} --with-gnome --with-omf | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files -f %{name}.lang | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS CREDITS ChangeLog NEWS README | |
62 | %config(noreplace) %verify(not md5 mtime size) /etc/gconf/schemas/%{name}.schemas | |
63 | %attr(755,root,root) %{_bindir}/* | |
64 | %dir %{_libdir}/%{name} | |
65 | %attr(755,root,root) %{_libdir}/%{name}/*.dll* | |
66 | %attr(755,root,root) %{_libdir}/%{name}/*.exe | |
67 | %attr(755,root,root) %{_libdir}/%{name}/libgstreamer_playbin.so | |
68 | %{_libdir}/%{name}/*.exe.config | |
69 | %{_mandir}/man1/*.1* | |
70 | %{_desktopdir}/*.desktop | |
71 | %{_pixmapsdir}/*.png |