Changeset 411 for spec/trunk/SPECS
- Timestamp:
- Apr 9, 2014, 5:17:45 PM (12 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 6 edited
-
libxml2-python.spec (modified) (3 diffs)
-
mercurial.spec (modified) (4 diffs)
-
s3cmd.spec (modified) (6 diffs)
-
urlgrabber.spec (modified) (3 diffs)
-
yum-metadata-parser.spec (modified) (3 diffs)
-
yum.spec (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libxml2-python.spec
r407 r411 1 1 2 %define name libxml2-python 2 3 %define version 2.7.7 … … 23 24 Requires: libxml2 = %{version} 24 25 Requires: python 25 Requires: python(abi) = 2.726 Requires: python(abi) = %{python_version} 26 27 27 28 %description … … 45 46 %install 46 47 cd python 47 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES 48 # temporary workaround for wrong paths http://trac.netlabs.org/rpm/ticket/71 49 mkdir $RPM_BUILD_ROOT/@unixroot 50 mv $RPM_BUILD_ROOT/USR $RPM_BUILD_ROOT/@unixroot/usr 51 sed -e 's#/USR/#/@unixroot/usr/#g' -i INSTALLED_FILES 48 python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES 52 49 53 50 %clean -
spec/trunk/SPECS/mercurial.spec
r408 r411 1 1 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 2 3 %global pybasever 2.74 2 5 3 Summary: A fast, lightweight distributed source control management system … … 11 9 URL: http://www.selenic.com/mercurial/ 12 10 Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz 13 Source1: mercurial-os2.zip11 Source1: python-wrapper.zip 14 12 15 13 Patch0: mercurial-os2.diff … … 22 20 23 21 Requires: python 24 Requires: python(abi) = %{py basever}22 Requires: python(abi) = %{python_version} 25 23 26 24 %description … … 139 137 140 138 #build exe wrapper 141 #cp yum.exe $RPM_BUILD_ROOT/%{_bindir} 142 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{pybasever}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/hg.exe exec-py.c 139 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/hg.exe exec-py.c 143 140 144 141 -
spec/trunk/SPECS/s3cmd.spec
r407 r411 1 1 2 %define name s3cmd 2 3 %define version 1.1.0.beta3 … … 9 10 Release: %{release} 10 11 Source0: %{name}-%{unmangled_version}.tar.gz 12 Source1: python-wrapper.zip 13 11 14 License: GPL version 2 12 15 Group: Development/Libraries … … 16 19 Vendor: Michal Ludvig <michal@logix.cz> 17 20 Url: http://s3tools.org 21 22 Requires: python(abi) = %{python_version} 18 23 19 24 %description … … 32 37 33 38 39 %package debug 40 Summary: HLL debug data for exception handling support. 41 42 %description debug 43 HLL debug data for exception handling support. 44 45 34 46 %prep 35 %setup -n %{name}-%{unmangled_version} 47 %setup -n %{name}-%{unmangled_version} -a 1 36 48 37 49 %build … … 39 51 40 52 %install 41 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES 42 # temporary workaround for wrong paths http://trac.netlabs.org/rpm/ticket/71 43 mkdir $RPM_BUILD_ROOT/@unixroot 44 mv $RPM_BUILD_ROOT/USR $RPM_BUILD_ROOT/@unixroot/usr 45 sed -e 's#/USR/#/@unixroot/usr/#g' -i INSTALLED_FILES 53 python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES 54 #build exe wrapper 55 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c 46 56 47 57 %clean … … 50 60 %files -f INSTALLED_FILES 51 61 %defattr(-,root,root) 62 %{_bindir}/*.exe 63 64 %files debug 65 %defattr(-,root,root) 66 %{_bindir}/*.dbg 52 67 53 68 %changelog -
spec/trunk/SPECS/urlgrabber.spec
r407 r411 1 1 2 %define name urlgrabber 2 3 %define version 3.1.0 … … 15 16 Vendor: Michael D. Stenner, Ryan Tomayko <mstenner@linux.duke.edu, rtomayko@naeblis.cx> 16 17 Url: http://linux.duke.edu/projects/urlgrabber/ 18 19 Requires: python(abi) = %{python_version} 17 20 18 21 %description … … 53 56 %install 54 57 rm -rf $RPM_BUILD_ROOT 55 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES 56 # temporary workaround for wrong paths http://trac.netlabs.org/rpm/ticket/71 57 mkdir $RPM_BUILD_ROOT/@unixroot 58 mv $RPM_BUILD_ROOT/USR $RPM_BUILD_ROOT/@unixroot/usr 59 sed -e 's#/USR/#/@unixroot/usr/#g' -i INSTALLED_FILES 58 python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES 60 59 61 60 %clean -
spec/trunk/SPECS/yum-metadata-parser.spec
r405 r411 3 3 Name: yum-metadata-parser 4 4 Version: 1.1.4 5 Release: 4%{?dist}5 Release: 5%{?dist} 6 6 Source0: %{name}-%{version}.tar.gz 7 7 License: GPL … … 17 17 18 18 Requires: sqlite, glib2, libxml2 19 Requires: python(abi) = 2.719 Requires: python(abi) = %{python_version} 20 20 21 21 %description … … 26 26 27 27 %build 28 export EMXSHELL="cmd.exe" 28 29 %{__python} setup.py build 29 30 30 31 %install 31 %{__python} setup.py install -O1 --root=%{buildroot} 32 export EMXSHELL="cmd.exe" 33 %{__python} setup.py install -O1 --prefix %{_prefix} --root=%{buildroot} 32 34 33 35 %clean -
spec/trunk/SPECS/yum.spec
r405 r411 1 1 %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 2 3 %global pybasever 2.74 2 5 3 Summary: RPM installer/updater … … 10 8 Group: System Environment/Base 11 9 Source0: http://yum.baseurl.org/download/3.2/%{name}-%{version}.tar.gz 12 Source1: yum-os2.zip 13 #Source1: yum.conf.fedora 14 #Source2: yum-updatesd.conf.fedora 10 Source1: python-wrapper.zip 15 11 16 12 Patch0: yum-os2.diff … … 45 41 46 42 Requires: python 47 Requires: python(abi) = %{py basever}43 Requires: python(abi) = %{python_version} 48 44 49 45 %description … … 109 105 110 106 #build exe wrapper 111 #cp yum.exe $RPM_BUILD_ROOT/%{_bindir} 112 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{pybasever}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/yum.exe exec-py.c 107 gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c 113 108 114 109
Note:
See TracChangeset
for help on using the changeset viewer.
