]> git.pld-linux.org Git - packages/gaupol.git/blob - gaupol.spec
- updated 0.5.0
[packages/gaupol.git] / gaupol.spec
1 Summary:        Subtitle editor for text-based subtitles
2 Summary(pl):    Edytor tekstowych podpisów dla filmów
3 Name:           gaupol
4 Version:        0.5.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://download.gna.org/gaupol/0.5/%{name}-%{version}.tar.gz
9 # Source0-md5:  6b4386c76c1756b035306c0b5c179602
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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
27
28 %description -l pl
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.
34
35 %prep
36 %setup -q
37
38 %build
39 python setup.py build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 python setup.py install \
45         --optimize=2 \
46         --root $RPM_BUILD_ROOT \
47         --prefix %{_prefix}
48
49 find $RPM_BUILD_ROOT%{py_sitescriptdir}/gaupol -name '*.py' -exec rm -f {} \;
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog NEWS README TODO
59 %attr(755,root,root) %{_bindir}/*
60 %{_datadir}/gaupol
61 %{py_sitescriptdir}/gaupol
62 %{_desktopdir}/*
63 %{_iconsdir}/hicolor/*/apps/*
This page took 0.100184 seconds and 4 git commands to generate.