]> git.pld-linux.org Git - packages/Zope-dirs.git/commitdiff
- added package with common dirs for Zope packages
authorwrobell <wrobell@pld-linux.org>
Wed, 12 Sep 2007 22:35:57 +0000 (22:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-dirs.spec -> 1.1

Zope-dirs.spec [new file with mode: 0644]

diff --git a/Zope-dirs.spec b/Zope-dirs.spec
new file mode 100644 (file)
index 0000000..70e87db
--- /dev/null
@@ -0,0 +1,36 @@
+Summary:       Common dirs for Zope libraries
+Name:          Zope-dirs
+Version:       1.0
+Release:       1
+License:       Public Domain
+Group:         Libraries/Python
+BuildRequires: python
+BuildRequires: python-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Common dirs for Zope libraries.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}/zope
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/zope
+
+touch $RPM_BUILD_ROOT%{py_sitedir}/zope/__init__.py
+touch $RPM_BUILD_ROOT%{py_sitescriptdir}/zope/__init__.py
+
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}/zope
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/zope
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/zope
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/zope
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/zope
+%{py_sitescriptdir}/zope
This page took 0.116522 seconds and 5 git commands to generate.