]> git.pld-linux.org Git - packages/sip.git/commitdiff
- adapterized
authorankry <ankry@pld-linux.org>
Fri, 13 Dec 2002 22:46:55 +0000 (22:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sip.spec -> 1.15

sip.spec

index ffc7394bcb18a456acd151907fd9d24fe496b658..09647b139e2501a1fab9f3b3ed7c2fc4c25b6b95 100644 (file)
--- a/sip.spec
+++ b/sip.spec
@@ -8,11 +8,11 @@ License:      BSD-like
 Group:         Development/Languages/Python
 Source0:       http://www.riverbankcomputing.co.uk/download/sip/%{name}-%{version}.tar.gz
 URL:           http://www.riverbankcomputing.co.uk/sip/index.php
-Patch0:                sip-build.patch
+Patch0:                %{name}-build.patch
 Requires:      python >= 2.2
 BuildRequires: qt-devel
-BuildRequires:  rpm-pythonprov
-BuildRequires:  python
+BuildRequires: rpm-pythonprov
+BuildRequires: python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,18 +31,18 @@ uruchomienia wszystkich wygenerowanych powi
 
 %build
 
-QMAKESPEC=/usr/X11R6/share/qt/mkspecs/linux-g++
+QMAKESPEC=%{_prefix}/X11R6/share/qt/mkspecs/linux-g++
 export QMAKESPEC
-install -d  $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages
-install -d $RPM_BUILD_ROOT/usr/include/python2.2
+install -d  $RPM_BUILD_ROOT%{_libdir}/python2.2/site-packages
+install -d $RPM_BUILD_ROOT%{_includedir}/python2.2
 
-python build.py -b /usr/bin  -i /usr/X11R6/include/qt -q /usr/X11R6/ -l qt  -m /usr/bin/make  -b $RPM_BUILD_ROOT/usr/bin/ -d $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages -t $RPM_BUILD_ROOT
+python build.py -b %{_bindir} -i %{_prefix}/X11R6/include/qt -q %{_prefix}/X11R6/ -l qt -m %{_bindir}/make -b $RPM_BUILD_ROOT%{_bindir}/ -d $RPM_BUILD_ROOT%{_libdir}/python2.2/site-packages -t $RPM_BUILD_ROOT
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d  $RPM_BUILD_ROOT/usr/lib/python2.2/site-packages
-install -d $RPM_BUILD_ROOT/usr/include/python2.2
+install -d  $RPM_BUILD_ROOT%{_libdir}/python2.2/site-packages
+install -d $RPM_BUILD_ROOT%{_includedir}/python2.2
 
 %{__make} install
 
This page took 0.026629 seconds and 4 git commands to generate.