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