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