]> git.pld-linux.org Git - packages/gcoherence.git/blame - gcoherence.spec
BR: rpmbuild(macros) >= 1.710
[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
febbdba5 13BuildRequires: rpmbuild(macros) >= 1.710
5d562c9e 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
67b7c4f9 31%py_build
5d562c9e
PZ
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
67b7c4f9 36%py_install
5d562c9e
PZ
37
38install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps
39mv $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/{,apps/}gcoherence.png
40
41%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
42%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
43%py_postclean
44
45%find_lang gcoherence --with-gnome
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post
5d562c9e 51%update_desktop_database_post
f5c3c394 52%update_icon_cache hicolor
5d562c9e
PZ
53
54%postun
5d562c9e 55%update_desktop_database_postun
f5c3c394 56%update_icon_cache hicolor
5d562c9e
PZ
57
58%files -f gcoherence.lang
59%defattr(644,root,root,755)
60%attr(755,root,root) %{_bindir}/gcoherence
61%{py_sitescriptdir}/x29a
62%{py_sitescriptdir}/%{name}-%{version}-py*.egg-info
63%{_desktopdir}/gcoherence.desktop
64%{_iconsdir}/hicolor/*/apps/gcoherence.png
65%{_pixmapsdir}/gcoherence.png
This page took 0.133134 seconds and 4 git commands to generate.