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