Author: uzsolt                       Date: Tue Aug  4 10:31:25 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial
- needs more work

---- Files affected:
packages/xyzcommander:
   xyzcommander.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xyzcommander/xyzcommander.spec
diff -u /dev/null packages/xyzcommander/xyzcommander.spec:1.1
--- /dev/null   Tue Aug  4 12:31:25 2009
+++ packages/xyzcommander/xyzcommander.spec     Tue Aug  4 12:31:20 2009
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+%define shortname xyzcmd
+%define progrelease beta
+Summary:       XYZCommander - Console file manager
+Summary(hu.UTF-8):     XYZCommander - konzolos fájlkezelő
+Name:          xyzcommander
+Version:       0.0.1
+Release:       0.1
+License:       LGPL
+Group:         Applications/Shells
+Source0:       
http://xyzcmd.googlecode.com/files/%{shortname}-%{version}-%{progrelease}.tar.bz2
+# Source0-md5: 2fff6000ba29e146c469fdd6c4d3ebf9
+URL:           http://xyzcmd.syhpoon.name
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: sed >= 4.0
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#Requires:             python-libs
+Requires:      python-modules
+#BuildArch:    noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XYZCommander - Console file manager. Beta version!
+
+%description -l hu.UTF-8
+XYZCommander - konzolos fájlkezelő. Béta verzió!
+
+%prep
+%setup -q -n %{shortname}-%{version}-%{progrelease}
+%{__sed} -i "s,doc\/xyzcmd,doc\/xyzcmd-%{version}-%{progrelease},g" setup.py
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{shortname}
+%doc %{_docdir}/%{shortname}-%{version}-%{progrelease}
+%{py_sitescriptdir}/libxyz
+%{py_sitescriptdir}/*.egg-info
+%dir %{_datadir}/xyzcmd
+%{_datadir}/xyzcmd/conf
+%{_datadir}/xyzcmd/plugins
+%{_datadir}/xyzcmd/skins
+
+%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  2009/08/04 10:31:20  uzsolt
+- initial
+- needs more work
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to