SPECS: luma.spec (NEW) - added

twittner twittner at pld-linux.org
Wed Aug 17 18:12:09 CEST 2005


Author: twittner                     Date: Wed Aug 17 16:12:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   luma.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/luma.spec
diff -u /dev/null SPECS/luma.spec:1.1
--- /dev/null	Wed Aug 17 18:12:08 2005
+++ SPECS/luma.spec	Wed Aug 17 18:12:01 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+Summary:	LDAP browser, utility and more
+Name:		luma
+Version:	2.2
+Release:	0.1
+License:	GPL v2
+Group:		Applications/Networking
+Source0:	http://mesh.dl.sourceforge.net/sourceforge/luma/%{name}-%{version}.tar.bz2
+# Source0-md5:	2dce8ec50eddaff4b8d8a487e514cc4f
+Source1:	%{name}.desktop
+Patch0:		%{name}-dont_check_req_while_build.patch
+URL:		http://luma.sourceforge.net/
+BuildRequires:	python >= 2.3
+BuildRequires:	rpmbuild(macros) >= 1.231
+Requires:	python-ldap >= 2.0.1
+Requires:	python-PyQt >= 3.10
+Requires:	py-smbpasswd
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LDAP browser, utility and more.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_prefix},%{_desktopdir},%{_pixmapsdir}}
+
+./install.py \
+	--prefix=$RPM_BUILD_ROOT%{_prefix}
+
+rm -f $RPM_BUILD_ROOT%{_bindir}/luma
+echo "%{__python} %{_libdir}/%{name}/luma.py" > $RPM_BUILD_ROOT%{_bindir}/luma
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install $RPM_BUILD_ROOT%{_datadir}/%{name}/icons/luma-48.png $RPM_BUILD_ROOT%{_pixmapsdir}/luma.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*
+%{_mandir}/man1/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/17 16:12:01  twittner
+- added
+
================================================================



More information about the pld-cvs-commit mailing list