]> git.pld-linux.org Git - packages/eric4.git/commitdiff
- new (PyQt4)
authorKarol Krenski <charles@pld-linux.org>
Tue, 26 Dec 2006 03:52:37 +0000 (03:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eric4.spec -> 1.1

eric4.spec [new file with mode: 0644]

diff --git a/eric4.spec b/eric4.spec
new file mode 100644 (file)
index 0000000..2cd256c
--- /dev/null
@@ -0,0 +1,66 @@
+%define                _snap   20061222
+Summary:       Eric4 is a full featured Python IDE
+Summary(pl):   Eric4 - pe³nowarto¶ciowe IDE dla Pythona
+Name:          eric4
+Version:       4.0
+Release:       0.1
+License:       GPL
+Group:         X11/Development/Tools
+Source0:       http://www.die-offenbachs.de/detlev/snapshots4/%{name}-snapshot-%{_snap}.tar.gz
+# Source0-md5: 04a4b2a1193427fba18a779c070683ed
+URL:           http://www.die-offenbachs.de/detlev/eric.html
+BuildRequires: python-qscintilla2-devel
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-modules
+Requires:      python-qscintilla2
+Requires:      python-devel-tools
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Eric4 is a full featured Python IDE that is written in PyQt4 using the
+QScintilla editor widget.
+
+%description -l pl
+Eric4 jest pe³nowarto¶ciowym IDE dla Pythona napisanym w PyQt4 i
+u¿ywaj±cym edytora QScintilla.
+
+%package doc
+Summary:       Documentation for Eric4
+Summary(pl):   Dodatkowa dokumentacja dla Eric4
+Group:         X11/Development/Tools
+Requires:      %{name} = %{version}-%{release}
+
+%description doc
+Documentation for Eric4.
+
+%description doc -l pl
+Dodatkowa dokumentacja dla Eric4.
+
+%prep
+%setup -q -n %{name}-snapshot-%{_snap}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python install.py -c -b %{_bindir} -d %{py_sitedir} -i $RPM_BUILD_ROOT
+
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}/*
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# NOTE: eric4 uses *.py files for it's own purposes
+# so do not remove them from package
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README* THANKS
+%attr(755,root,root) %{_bindir}/*
+%{py_sitedir}/eric4config.py
+%{py_sitedir}/%{name}
+%exclude %{py_sitedir}/%{name}/Documentation
+
+%files doc
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/%{name}/Documentation
+%{py_sitedir}/%{name}/Documentation/Source
This page took 0.055825 seconds and 4 git commands to generate.