1 Summary: Subtitle editor for text-based subtitles
2 Summary(pl.UTF-8): Edytor tekstowych podpisów dla filmów
7 Group: X11/Applications
8 Source0: http://download.gna.org/gaupol/0.7/%{name}-%{version}.tar.gz
9 # Source0-md5: a0fa4ba55017ab660eab03c0b9cb848e
10 URL: http://home.gna.org/gaupol/
11 BuildRequires: gettext-devel
12 BuildRequires: intltool
13 BuildRequires: python-devel >= 1:2.4
14 BuildRequires: rpm-pythonprov
15 Requires: python-pygtk-glade >= 2:2.8.0
16 %pyrequires_eq python-modules
17 #Suggests: python-pyenchant >= 1.1.3
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Gaupol is a subtitle editor for text-based subtitles. Gaupol is in
23 early development stage and does not yet contain any advanced
24 features. The aim is to make a simple, but powerful, subtitle editor
25 for multiple subtitle formats. Currently Gaupol is useful for
26 converting between different formats, translating and manual editing.
28 %description -l pl.UTF-8
29 Gaupol jest edytorem tekstowych podpisów dla filmów. Jest jeszcze w
30 początkowej fazie rozwoju i nie zawiera żadnych zaawansowanych opcji.
31 Zamiarem jest stworzenie prostego, ale potężnego edytora podpisów dla
32 wielu formatów podpisów. Aktualnie Gaupol jest użyteczny do konwersji
33 między formatami, tłumaczeń i ręcznego modyfikowania.
42 rm -rf $RPM_BUILD_ROOT
44 python setup.py install \
46 --root $RPM_BUILD_ROOT \
49 find $RPM_BUILD_ROOT%{py_sitescriptdir}/gaupol -name '*.py' -exec rm -f {} \;
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog NEWS README TODO
59 %attr(755,root,root) %{_bindir}/*
61 %{py_sitescriptdir}/gaupol
62 %{_desktopdir}/*.desktop
63 %{_iconsdir}/hicolor/*/apps/*