]>
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 |
7a82f05a | 20 | BuildRequires: gnome-doc-utils >= 0.3.2 |
9a11ae50 JR |
21 | BuildRequires: gstreamer-devel >= 0.10 |
22 | BuildRequires: gstreamer-plugins-base-devel >= 0.10 | |
7a82f05a | 23 | BuildRequires: intltool |
9a11ae50 | 24 | BuildRequires: mono-csharp |
6bfe8213 | 25 | BuildRequires: rpmbuild(monoautodeps) |
9a11ae50 JR |
26 | BuildRequires: sublib-devel >= 0.9 |
27 | Requires: enchant | |
f2febcd7 | 28 | Requires: dotnet-gnome-sharp >= 2.16 |
7362ec95 | 29 | Requires: dotnet-gtk-sharp2 >= 2.12.7 |
9a11ae50 | 30 | Requires: gtkspell |
4f821819 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Gnome Subtitles is a subtitle editor for the GNOME desktop. It | |
35 | supports the most common text-based subtitle formats and allows for | |
36 | subtitle editing, conversion and synchronization. | |
37 | ||
ab72a145 JB |
38 | %description -l pl.UTF-8 |
39 | Gnome Subtitles to edytor napisów dla środowiska GNOME. Obsługuje | |
40 | większość popularnych tekstowych formatów napisów i umożliwia | |
41 | modyfikowanie, konwersję i synchronizację napisów. | |
4f821819 | 42 | |
43 | %prep | |
44 | %setup -q | |
4f821819 | 45 | |
46 | %build | |
4f821819 | 47 | %configure |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
9a11ae50 JR |
56 | %{find_lang} %{name} --with-gnome --with-omf |
57 | ||
4f821819 | 58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
9a11ae50 | 61 | %files -f %{name}.lang |
4f821819 | 62 | %defattr(644,root,root,755) |
9a11ae50 | 63 | %doc AUTHORS CREDITS ChangeLog NEWS README |
4f821819 | 64 | %config(noreplace) %verify(not md5 mtime size) /etc/gconf/schemas/%{name}.schemas |
65 | %attr(755,root,root) %{_bindir}/* | |
66 | %dir %{_libdir}/%{name} | |
67 | %attr(755,root,root) %{_libdir}/%{name}/*.dll* | |
68 | %attr(755,root,root) %{_libdir}/%{name}/*.exe | |
9a11ae50 JR |
69 | %attr(755,root,root) %{_libdir}/%{name}/libgstreamer_playbin.so |
70 | %{_libdir}/%{name}/*.exe.config | |
4f821819 | 71 | %{_mandir}/man1/*.1* |
72 | %{_desktopdir}/*.desktop | |
73 | %{_pixmapsdir}/*.png |