]> git.pld-linux.org Git - packages/gnome-subtitles.git/blob - gnome-subtitles.spec
8594ea511907274b35542c9917411e5ee09494fb
[packages/gnome-subtitles.git] / gnome-subtitles.spec
1 #
2 # TODO: BRs
3 #
4 %include        /usr/lib/rpm/macros.mono
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.4
9 Release:        0.1
10 License:        GPL v2
11 Group:          X11/Applications
12 Source0:        http://dl.sourceforge.net/gnome-subtitles/%{name}-%{version}.tar.gz
13 # Source0-md5:  5ae670478a278e83daf900a73dd906c9
14 Patch0:         %{name}-sh_wrapper.patch
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.10
20 BuildRequires:  rpmbuild(monoautodeps)
21 Requires:       dotnet-gnome-sharp >= 2.16
22 Requires:       dotnet-gtk-sharp2 >= 2.10
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
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.
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
This page took 0.027015 seconds and 3 git commands to generate.