]>
Commit | Line | Data |
---|---|---|
4f821819 | 1 | # |
2 | # TODO: BRs | |
9a11ae50 | 3 | # separate package for libgstreamer_playbin.so |
4f821819 | 4 | # |
6bfe8213 | 5 | %include /usr/lib/rpm/macros.mono |
4f821819 | 6 | Summary: A subtitle editor for the GNOME desktop |
ab72a145 | 7 | Summary(pl.UTF-8): Edytor napisów dla środowiska GNOME |
4f821819 | 8 | Name: gnome-subtitles |
9a11ae50 | 9 | Version: 0.8 |
7362ec95 | 10 | Release: 2 |
4f821819 | 11 | License: GPL v2 |
ab72a145 | 12 | Group: X11/Applications |
8c575b73 | 13 | Source0: http://dl.sourceforge.net/gnome-subtitles/%{name}-%{version}.tar.gz |
9a11ae50 | 14 | # Source0-md5: 9590389ba91f9cfd94b6b36454dc2420 |
4f821819 | 15 | URL: http://gnome-subtitles.sourceforge.net/ |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
e6f560c8 | 18 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16 |
7362ec95 | 19 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.7 |
9a11ae50 JR |
20 | BuildRequires: gstreamer-devel >= 0.10 |
21 | BuildRequires: gstreamer-plugins-base-devel >= 0.10 | |
22 | BuildRequires: mono-csharp | |
6bfe8213 | 23 | BuildRequires: rpmbuild(monoautodeps) |
9a11ae50 JR |
24 | BuildRequires: sublib-devel >= 0.9 |
25 | Requires: enchant | |
f2febcd7 | 26 | Requires: dotnet-gnome-sharp >= 2.16 |
7362ec95 | 27 | Requires: dotnet-gtk-sharp2 >= 2.12.7 |
9a11ae50 | 28 | Requires: gtkspell |
4f821819 | 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 | ||
ab72a145 JB |
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. | |
4f821819 | 40 | |
41 | %prep | |
42 | %setup -q | |
4f821819 | 43 | |
44 | %build | |
4f821819 | 45 | %configure |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
9a11ae50 JR |
54 | %{find_lang} %{name} --with-gnome --with-omf |
55 | ||
4f821819 | 56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
9a11ae50 | 59 | %files -f %{name}.lang |
4f821819 | 60 | %defattr(644,root,root,755) |
9a11ae50 | 61 | %doc AUTHORS CREDITS ChangeLog NEWS README |
4f821819 | 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 | |
9a11ae50 JR |
67 | %attr(755,root,root) %{_libdir}/%{name}/libgstreamer_playbin.so |
68 | %{_libdir}/%{name}/*.exe.config | |
4f821819 | 69 | %{_mandir}/man1/*.1* |
70 | %{_desktopdir}/*.desktop | |
71 | %{_pixmapsdir}/*.png |