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