]> git.pld-linux.org Git - packages/python-burn.git/blame - python-burn.spec
- noarch package
[packages/python-burn.git] / python-burn.spec
CommitLineData
5f966194 1%define module burn
b34f26fd 2Summary: simple and quick way to burn CDs or DVDs
3Summary(pl.UTF-8): prosty skrypt umożliwiający wypalanie CD/DVD
4Name: python-%{module}
5Version: 0.4.4
0dbf46b0 6Release: 4
b34f26fd 7License: GPL v2
8Group: Development/Languages/Python
9Source0: http://www.bigpaul.org/burn/download/%{module}-%{version}.tar.gz
10# Source0-md5: 89526cac818f216eb93407b47d05f971
a98a821e 11Patch0: %{name}-confdir.patch
b34f26fd 12URL: http://www.bigpaul.org/burn/
13BuildRequires: python-devel
14BuildRequires: python-setuptools
15BuildRequires: rpm-pythonprov
76889345 16BuildRequires: rpmbuild(macros) >= 1.710
b34f26fd 17Requires: cdrdao
18Requires: cdrecord
19Requires: mkisofs
20Requires: python-eyeD3
c84bb180 21Requires: python-mad
b34f26fd 22Requires: python-modules
c84bb180 23Requires: python-pyao
b34f26fd 24Requires: python-pyvorbis
5f966194 25BuildArch: noarch
b34f26fd 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Burn is a simple program/script written in Python. It's aim is to make
30it simple and quick to burn CDs or DVDs.
31
32%description -l pl.UTF-8
33Burn jest prostym skryptem napisanym w języku Python. Jego zadaniem
34jest umożliwienie wypalenia płyt CD/DVD w możliwie prosty i szybki
35sposób.
36
37%prep
38%setup -q -n %{module}-%{version}
a98a821e 39%patch0 -p1
b34f26fd 40
41%build
a8041b8c 42%py_build
b34f26fd 43
44%install
45rm -rf $RPM_BUILD_ROOT
a8041b8c 46%py_install
b34f26fd 47
a98a821e 48install -d $RPM_BUILD_ROOT%{_sysconfdir}/burn
b34f26fd 49install -d $RPM_BUILD_ROOT%{_mandir}/man1
50cp doc/{burn.1,burn-configure.1} $RPM_BUILD_ROOT%{_mandir}/man1
a98a821e 51cp burn.conf $RPM_BUILD_ROOT%{_sysconfdir}/burn
b34f26fd 52
53%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
54%py_comp $RPM_BUILD_ROOT%{py_sitedir}
55%py_postclean
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc doc/AUTHORS doc/BUGS changelog doc/KNOWN_BUGS README doc/TODO doc/WISHLIST burn.conf-dist burn.conf
a98a821e 63%dir %{_sysconfdir}/burn
64%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/burn/burn.conf
b34f26fd 65%attr(755,root,root) %{_bindir}/burn
66%attr(755,root,root) %{_bindir}/burn-configure
67%dir %{py_sitescriptdir}/burnlib
68%{py_sitescriptdir}/burnlib/*.py[co]
69%if "%{py_ver}" > "2.4"
70%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
71%endif
72%{_mandir}/man1/burn.1*
73%{_mandir}/man1/burn-configure.1*
This page took 0.075065 seconds and 4 git commands to generate.