]> git.pld-linux.org Git - packages/gcoherence.git/blame - gcoherence.spec
- BR: rpm-pythonprov
[packages/gcoherence.git] / gcoherence.spec
CommitLineData
5d562c9e
PZ
1Summary: A simple free media server
2Name: gcoherence
3Version: 0.1.0
c3cbb3a1 4Release: 2
5d562c9e
PZ
5License: GPL v3
6Group: X11/Applications
7Source0: http://29a.ch/gcoherence/%{name}-%{version}.tar.gz
8# Source0-md5: fe71cb048cb19e0947e7f1c78b37e48d
9URL: http://29a.ch/gcoherence/
10BuildRequires: python-devel >= 1:2.3.0
11BuildRequires: python-pygtk-devel
7366c9a3 12BuildRequires: rpm-pythonprov
5d562c9e
PZ
13BuildRequires: rpmbuild(macros) >= 1.219
14Requires(post,postun): desktop-file-utils
c3cbb3a1 15Requires(post,postun): gtk-update-icon-cache
5d562c9e
PZ
16Requires(post,postun): hicolor-icon-theme
17Requires: python-coherence
18Requires: python-pygtk-gtk
19Requires: python-pyxdg
20%pyrequires_eq python-modules
f5c3c394 21BuildArch: noarch
5d562c9e
PZ
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25A simple free media server.
26
27%prep
28%setup -q
29
30%build
31%{__python} setup.py build
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36%{__python} setup.py install \
37 --optimize=2 \
38 --root=$RPM_BUILD_ROOT
39
40install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps
41mv $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/{,apps/}gcoherence.png
42
43%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
44%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
45%py_postclean
46
47%find_lang gcoherence --with-gnome
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%post
5d562c9e 53%update_desktop_database_post
f5c3c394 54%update_icon_cache hicolor
5d562c9e
PZ
55
56%postun
5d562c9e 57%update_desktop_database_postun
f5c3c394 58%update_icon_cache hicolor
5d562c9e
PZ
59
60%files -f gcoherence.lang
61%defattr(644,root,root,755)
62%attr(755,root,root) %{_bindir}/gcoherence
63%{py_sitescriptdir}/x29a
64%{py_sitescriptdir}/%{name}-%{version}-py*.egg-info
65%{_desktopdir}/gcoherence.desktop
66%{_iconsdir}/hicolor/*/apps/gcoherence.png
67%{_pixmapsdir}/gcoherence.png
This page took 0.036961 seconds and 4 git commands to generate.