From cdb9df53166a7464d35e6e7e17da4f6527673d1d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 18 Oct 2004 21:28:30 +0000 Subject: [PATCH] - new Changed files: driconf.spec -> 1.1 --- driconf.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 driconf.spec diff --git a/driconf.spec b/driconf.spec new file mode 100644 index 0000000..6a4933e --- /dev/null +++ b/driconf.spec @@ -0,0 +1,51 @@ +Summary: DRI configuration GUI +Summary(pl): Graficzny interfejs do konfiguracji DRI +Name: driconf +Version: 0.2.2 +Release: 1 +License: GPL +Group: X11/Applications +Source0: http://dri.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz +# Source0-md5: 8e543d068518b7f9bd0b7140fd148239 +URL: http://dri.sourceforge.net/cgi-bin/moin.cgi/DriConf +BuildRequires: python +BuildRequires: python-modules +# xdriinfo exists only in X.org X11 >= 6.8 +Requires: X11-tools >= 1:6.8.0 +Requires: python-pygtk-gtk >= 2:2.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DRIConf is the first configuration GUI for DRI and the new +ConfigurationInfrastructure. It is written in Python with the +python-gtk toolkit bindings. + +%description -l pl +DRIConf to pierwszy graficzny interfejs do konfiguracji DRI i nowej +infrastruktury konfiguracji. Jest napisany w Pythonie z u¿yciem wi±zañ +python-gtk. + +%prep +%setup -q + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python setup.py install \ + --optimize=2 \ + --prefix=%{_prefix} \ + --root=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG README TODO +%attr(755,root,root) %{_bindir}/* +%{py_sitescriptdir}/*.py[co] -- 2.44.0