]> git.pld-linux.org Git - packages/gaupol.git/blame - gaupol.spec
BR: rpmbuild(macros) >= 1.710
[packages/gaupol.git] / gaupol.spec
CommitLineData
58516b2f 1%define _major 0.15
043a6693 2Summary: Subtitle editor for text-based subtitles
5a7d3eb3 3Summary(pl.UTF-8): Edytor tekstowych podpisów dla filmów
043a6693 4Name: gaupol
a20e0739 5Version: %{_major}.1
594dcf0a 6Release: 2
043a6693 7License: GPL
8Group: X11/Applications
58516b2f 9Source0: http://download.gna.org/gaupol/%{_major}/%{name}-%{version}.tar.gz
a20e0739 10# Source0-md5: d5ca4714a2b4f1386d860a2d79fba5f7
043a6693 11URL: http://home.gna.org/gaupol/
3033bd1f 12BuildRequires: rpmbuild(macros) >= 1.710
06339f7a 13BuildRequires: gettext-tools
19327a1a 14BuildRequires: intltool
121c2efb 15BuildRequires: python-devel >= 1:2.5
50566b68 16BuildRequires: rpm-pythonprov
1c2b4e73 17Requires: python-pygtk-glade >= 2:2.12
f35dc8be 18%pyrequires_eq python-modules
ef1d3336 19Suggests: python-chardet >= 1.0.1
1c2b4e73 20Suggests: python-pyenchant >= 1.1.3
f35dc8be 21BuildArch: noarch
043a6693 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Gaupol is a subtitle editor for text-based subtitles. Gaupol is in
26early development stage and does not yet contain any advanced
27features. The aim is to make a simple, but powerful, subtitle editor
28for multiple subtitle formats. Currently Gaupol is useful for
29converting between different formats, translating and manual editing.
30
3d591e0c
JR
31%description -l pl.UTF-8
32Gaupol jest edytorem tekstowych podpisów dla filmów. Jest jeszcze w
33początkowej fazie rozwoju i nie zawiera żadnych zaawansowanych opcji.
34Zamiarem jest stworzenie prostego, ale potężnego edytora podpisów dla
35wielu formatów podpisów. Aktualnie Gaupol jest użyteczny do konwersji
36między formatami, tłumaczeń i ręcznego modyfikowania.
043a6693 37
38%prep
39%setup -q
40
41%build
f9e062b1 42%py_build
043a6693 43
44%install
45rm -rf $RPM_BUILD_ROOT
46
f9e062b1 47%py_install \
043a6693 48 --root $RPM_BUILD_ROOT \
49 --prefix %{_prefix}
50
594dcf0a 51#find $RPM_BUILD_ROOT%{py_sitescriptdir}/gaupol -name '*.py' -exec rm -f {} \;
043a6693 52
53%find_lang %{name}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f %{name}.lang
59%defattr(644,root,root,755)
60%doc AUTHORS ChangeLog NEWS README TODO
61%attr(755,root,root) %{_bindir}/*
a16fc327
MWP
62%{_datadir}/%{name}
63%{py_sitescriptdir}/%{name}
64%{_desktopdir}/%{name}.desktop
65%{_iconsdir}/hicolor/*/apps/%{name}*
66%{_mandir}/man1/%{name}*
67%{py_sitescriptdir}/%{name}*.egg-info
This page took 0.07552 seconds and 4 git commands to generate.