SPECS: actos.spec - updated to 2.25 - patch no longer needed (with...
qboosh
qboosh at pld-linux.org
Sat Dec 23 22:01:04 CET 2006
Author: qboosh Date: Sat Dec 23 21:01:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.25
- patch no longer needed (with current pygtk)
- more cleanups, use lang()
- rename actos.py to actos to avoid compilation in bindir
---- Files affected:
SPECS:
actos.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/actos.spec
diff -u SPECS/actos.spec:1.2 SPECS/actos.spec:1.3
--- SPECS/actos.spec:1.2 Sat Dec 23 21:49:23 2006
+++ SPECS/actos.spec Sat Dec 23 22:00:58 2006
@@ -2,17 +2,18 @@
Summary: ACTOS - Asterisk Configuration Tool Open Source
Summary(pl): ACTOS - Narzędzie do konfiguracji Asteriska
Name: actos
-Version: 2.1
+Version: 2.25
Release: 0.1
License: GPL v2
Group: Applications/Communications
Source0: http://www.derrier.com/pierre/code/%{name}-%{version}.tar.gz
-Patch0: %{name}-dont_use_X_server.patch
+# Source0-md5: c449a769bc527210f7dae98cef5b1666
URL: http://www.derrier.com/pierre/code/actos.html
BuildRequires: python >= 1:2.3
BuildRequires: python-pygtk-glade >= 2.0
BuildRequires: python-pygtk-gtk >= 2.0
BuildRequires: rpm-pythonprov
+%pyrequires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -32,27 +33,37 @@
%prep
%setup -q -n %{name}
-%patch0 -p1
%build
-python setup.py clean
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
python setup.py install \
--root $RPM_BUILD_ROOT
+%py_postclean
+
+mv -f $RPM_BUILD_ROOT%{_bindir}/{actos.py,actos}
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,CHANGELOG,COPYING,INSTALL,KNOWN_BUGS,README,TODO}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc KNOWN_BUGS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
+%doc AUTHORS CHANGELOG KNOWN_BUGS README TODO
+%attr(755,root,root) %{_bindir}/actos
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*.def
+%{_datadir}/%{name}/actos.conf
+%{_datadir}/%{name}/scripts
+%{_datadir}/%{name}/en.help
+%lang(fr) %{_datadir}/%{name}/fr.help
+%dir %{_datadir}/%{name}/glade
+%{_datadir}/%{name}/glade/actos_en.glade
+%lang(fr) %{_datadir}/%{name}/glade/actos_fr.glade
%{py_sitescriptdir}/actos_modules
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -61,6 +72,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/12/23 21:00:58 qboosh
+- updated to 2.25
+- patch no longer needed (with current pygtk)
+- more cleanups, use lang()
+- rename actos.py to actos to avoid compilation in bindir
+
Revision 1.2 2006/12/23 20:49:23 qboosh
- pl desc, cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/actos.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list