]> git.pld-linux.org Git - packages/gcoherence.git/commitdiff
- initial PLD release
authorPatryk Zawadzki <patrys@room-303.com>
Sat, 3 May 2008 16:50:26 +0000 (16:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcoherence.spec -> 1.1

gcoherence.spec [new file with mode: 0644]

diff --git a/gcoherence.spec b/gcoherence.spec
new file mode 100644 (file)
index 0000000..7f0ce33
--- /dev/null
@@ -0,0 +1,64 @@
+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
This page took 0.0667990000000001 seconds and 4 git commands to generate.