Author: patrys Date: Sat May 3 16:50:31 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial PLD release
---- Files affected: SPECS: gcoherence.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/gcoherence.spec diff -u /dev/null SPECS/gcoherence.spec:1.1 --- /dev/null Sat May 3 18:50:31 2008 +++ SPECS/gcoherence.spec Sat May 3 18:50:26 2008 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +Summary: A simple free media server +Name: gcoherence +Version: 0.1.0 +Release: 1 +License: GPL v3 +Group: X11/Applications +Source0: http://29a.ch/gcoherence/%{name}-%{version}.tar.gz +# Source0-md5: fe71cb048cb19e0947e7f1c78b37e48d +URL: http://29a.ch/gcoherence/ +BuildRequires: python-devel >= 1:2.3.0 +BuildRequires: python-pygtk-devel +BuildRequires: rpmbuild(macros) >= 1.219 +Requires(post,postun): desktop-file-utils +Requires(post,postun): hicolor-icon-theme +Requires: python-coherence +Requires: python-pygtk-gtk +Requires: python-pyxdg +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A simple free media server. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +%{__python} setup.py install \ + --optimize=2 \ + --root=$RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps +mv $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/{,apps/}gcoherence.png + +%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} +%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} +%py_postclean + +%find_lang gcoherence --with-gnome + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_icon_cache hicolor +%update_desktop_database_post + +%postun +%update_icon_cache hicolor +%update_desktop_database_postun + +%files -f gcoherence.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/gcoherence +%{py_sitescriptdir}/x29a +%{py_sitescriptdir}/%{name}-%{version}-py*.egg-info +%{_desktopdir}/gcoherence.desktop +%{_iconsdir}/hicolor/*/apps/gcoherence.png +%{_pixmapsdir}/gcoherence.png + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-05-03 16:50:26 patrys +- initial PLD release + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
