Displaying 20 results from an estimated 77 matches for "rpm_build_root".
2003 Jan 28
2
rsync-2.5.6 build on Red Hat 8.0 fails
...Standards Base compliant
* Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de>
@@ -62,23 +68,25 @@
%setup
%build
-./configure --prefix=/usr --mandir=/usr/share/man
+./configure --prefix=/usr --mandir=%{_mandir}
make CFLAGS="$RPM_OPT_FLAGS"
strip rsync
%install
-mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}}
+mkdir -p $RPM_BUILD_ROOT/usr/bin
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5}
install -m755 rsync $RPM_BUILD_ROOT/usr/bin
-install -m644 rsync.1 $RPM_BUILD_ROOT/usr/share/man/man1
-install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
+install -m644 rsync...
2006 Sep 12
4
2.6.9-42.ELsmp kernel and 3ware 9550 tools
I have the latest kernel with the drivers for my 3ware 9550SX built in.
Where
can I find the tools and monitoring apps for this card? Are there rpms
hiding
somewhere, or do I need to build it from source?
--
Bowie
2015 Mar 18
2
Need help for write rpm spec
...p: Application
License: BSOFT
Source0: Install_tomcat-1.0.tar.gz
BuildArch: noarch
BuildRoot: %(mktemp -ud
%{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
#BuildRequires:
#Requires:
%description
This RPM is used to install the tomcat application
%clean
rm -rf $RPM_BUILD_ROOT
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/local
cd $RPM_BUILD_ROOT/usr/local
tar -xf %{_topdir}/SOURCES/Install_tomcat-1.0.tar.gz --strip 1
tar -xf jdk-7u13-linux-x64.gz
ln -s jdk1.7.0_13/ $RPM_BUILD_ROOT/usr/local/java
echo "export JAVA_HO...
2004 Sep 10
1
Problems with FLAC make
...layers (Winamp, XMMS, and more in the works)
%package -n flac-xmms
Summary: flac-xmms plugin
Group: Libraries/Multimedia
Requires: %{name} = %{version}
%description -n flac-xmms
flac plugin for XMMS
%files -n flac-xmms
%defattr(-, root, root)
%{prefix}/lib/xmms/Input/libxmms-flac*
%prep
rm -rf $RPM_BUILD_ROOT
%setup
./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir}
%build
make CCFLAGS='-c %{optflags} -D_REENTRANT -DNeedFunctionPrototypes=1' all
%install
make install
mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/xm...
2001 Feb 21
0
bug?: building RPM of 2.5.1p1 uses wrong pam.d/ssh file for RH6 vs RH7
...en
the name of the define (and the documents comments) could really use to be
made more clear...
Steve
--
Steve Tell tell at telltronics.org
*** openssh.spec Mon Feb 19 05:51:50 2001
--- /usr/src/redhat/SPECS/openssh.spec Wed Feb 21 01:36:49 2001
***************
*** 190,198 ****
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh
%if %{redhat7}
- install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
- %else
install -m644 contrib/redhat/sshd.pam-7.x $RPM_BUILD_ROOT/etc/pam.d/sshd
%endif
install -m755 contrib/redhat/sshd.init $RPM_BUILD_...
2012 Mar 25
2
build postfix rpm with mysql
...%whinge "Detected a possible previous non-RPM startup script
%{initdir}/postfix."
%whinge "- going to move it out of the way to
%{initdir}/postfix.$timenow."
mv %{initdir}/postfix %{initdir}/postfix.$timenow
}
fi
exit 0
%install
umask 022
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] && {
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
}
%{?!debug:strip -R .comment --strip-unneeded bin/* libexec/*}
# rename man pages which may conflict with sendmail's
mv man/man1/mailq.1 man/man1/mailq.p...
2001 Jan 11
3
contrib/redhat/openssh.spec question
...eq? openssh statically links to openssl during
build by default (rightfully so, you don't want your security library a
shared object if possible)
2. I don't understand the following line in the spec file during the
install step (it makes it not build for me):
%{makeinstall} \
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}/ssh \
libexecdir=$RPM_BUILD_ROOT%{_libexecdir}/openssh \
DESTDIR=/ # Hack to disable key generation
The problem here is that make install will then put everything in the
root directory (/usr/bin, etc.) instead of
/usr/src/redhat/INSTALL/usr/bin, etc. (depends on RPM_ROOT) and thus...
2000 Sep 03
0
[PATCH]: openssh.spec file for SuSE 6.4 & 7.0
...re --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \
--with-tcp-wrappers --with-ipv4-default
make
cd contrib
gcc -O -g `gnome-config --cflags gnome gnomeui` \
gnome-ssh-askpass.c -o gnome-ssh-askpass \
`gnome-config --libs gnome gnomeui`
cd ..
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/
install -d $RPM_BUILD_ROOT/etc/ssh/
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/sbin/init.d/
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -d $RPM_BUILD_ROOT/usr/lib/ssh
install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/e...
2011 Nov 19
4
build postfix spec w/ mysql
...%whinge "Detected a possible previous non-RPM startup script %{initdir}/postfix."
%whinge "- going to move it out of the way to %{initdir}/postfix.$timenow."
mv %{initdir}/postfix %{initdir}/postfix.$timenow
}
fi
exit 0
%install
umask 022
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] && {
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
}
%{?!debug:strip -R .comment --strip-unneeded bin/* libexec/*}
# rename man pages which may conflict with sendmail's
mv man/man1/mailq.1 man/man1/mailq.p...
2012 Jan 22
1
Packaging GObject for Fedora (was: [rjones@fedoraproject.org: New upstream version 1.15.19.])
...%{name}.
+
+This package is needed if you want to write software using the
+GObject bindings. It also contains GObject Introspection information.
+
+
%package man-pages-uk
Summary: Ukrainian (uk) man pages for %{name}
Group: Development/Libraries
@@ -740,6 +779,8 @@ make DESTDIR=$RPM_BUILD_ROOT install
# Delete static libraries, libtool files.
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.a
rm $RPM_BUILD_ROOT%{_libdir}/libguestfs.la
+rm $RPM_BUILD_ROOT%{_libdir}/libguestfs-gobject-1.0.a
+rm $RPM_BUILD_ROOT%{_libdir}/libguestfs-gobject-1.0.la
find $RPM_BUILD_ROOT -name perllocal.pod -delet...
2013 Apr 05
2
mock and iaxmodem
...akefile.in provided
with the source.
I have found a spec file from opensuse that provides this in the
install portion:
%build
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
# . . .
./configure
%{__make} %{?_smp_mflags}
%install
# install the bunch manually
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d $RPM_BUILD_ROOT/etc/iaxmodem
$RPM_BUILD_ROOT/usr/bin
%{__install} -m 644 %{S:1} $RPM_BUILD_ROOT/etc/logrotate.d/iaxmodem
%{__install} -D -m 755 iaxmodem %{buildroot}%{_sbindir}/iaxmodem
%{__install} -D -m 644 iaxmodem.1 %{buildroot}%{_mandir}/man1/iaxmodem.1
perl -pi -e 's,/usr/...
2014 Jan 03
1
Need help with spec file for Apache-2.4.7
...with-suexec-gidmin=100 \
--enable-pie \
--with-pcre \
--enable-mods-shared=all \
--enable-ssl --with-ssl --enable-socache-dc --enable-bucketeer \
--enable-case-filter --enable-case-filter-in \
--disable-imagemap
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# for holding mod_dav lock database
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav
# create a prototype session cache
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl
touch $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl/scache.{dir,pag,sem}
# Make t...
2007 Jul 11
1
RPM Build Question
...ram.com/
Source0: mathematica.tar.bz2
BuildRoot:
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
AutoReqProv: no
#BuildRequires:
#Requires:
%description
Long recognized as the world's most powerful mathematical software system
#%prep
#%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
tar xvjf $RPM_SOURCE_DIR/mathematica.tar.bz2
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/local/
%defattr(-,root,root,-)
%doc
%changelog
* Wed Jul 11 2007 SCMS, Waikato University
Initial RPM release - Clint Dilks
When testing the install phase I use...
2005 Oct 06
7
Patch: FC4 spec file
..._prefix} \
--localstatedir=/var \
--sysconfdir=/etc \
@@ -127,6 +127,7 @@
make proto
make %{?_smp_mflags} all modules
nsswitch/libnss_wins.so debug2html
+( cd client ; gcc -lmcheck -o mount.cifs
$RPM_OPT_FLAGS -Wall -O -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE mount.cifs.c )
%install
rm -rf $RPM_BUILD_ROOT
@@ -153,6 +154,7 @@
install -m644 %{SOURCE7}
$RPM_BUILD_ROOT/etc/pam.d/samba
install -m644 %{SOURCE1}
$RPM_BUILD_ROOT/etc/logrotate.d/samba
install -m755 source/script/mksmbpasswd.sh
$RPM_BUILD_ROOT%{_bindir}
+install -m755 source/client/mount.cifs
$RPM_BUILD_ROOT/sbin/mount.cifs
install -m75...
2007 Jul 02
3
Bacula in CentOS 5
Hi all,
I'm planning to use Bacula in production environment. I've seen the
Bacula packages are not provided neither by any official repo nor any
third popular repo (as rpmforge).
?Anyone use bacula in CentOS 5?
--
Thanks,
Jordi Espasa Clofent
2008 Oct 06
1
python-sybase on Centos 5 x86_64
...ugust/msg01790.html
This spec file modified to compile on x86_64:
http://gohanman.com/rpm/Fedora9/freetds-devel/freetds-devel.spec
--- python-sybase.spec 2008-10-05 21:53:49.000000000 -0600
+++ python-sybase.spec.new 2008-10-05 21:53:36.000000000 -0600
@@ -27,6 +27,6 @@
%install
rm -rf $RPM_BUILD_ROOT
-PYVERSION=`python --version 2>&1 | sed -e "s/.*
\([0-9]*\.[0-9]*\)\.[0-9]*/\1/g"`
-export PYTHONPATH="$RPM_BUILD_ROOT/usr/lib/python$PYVERSION/site-packages"
+PYVERSION=`python -V 2>&1 | sed -e "s/.* \([0-9]*\.[0-9]*\)\.[0-9]*/\1/g"`
+export
PYTHONPATH...
2000 Sep 03
1
installing OpenSSH rpm on SuSE 6.2
...ke
%if ! %{no_x11_askpass}
cd x11-ssh-askpass-%{aversion}
xmkmf -a
make
cd ..
%endif
%if ! %{no_gnome_askpass}
cd contrib
gcc -O -g `gnome-config --cflags gnome gnomeui` \
gnome-ssh-askpass.c -o gnome-ssh-askpass \
`gnome-config --libs gnome gnomeui`
cd ..
%endif
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -d $RPM_BUILD_ROOT/usr/libexec/ssh
install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/ini...
2007 May 02
0
mingw-cross rpm spec file
...rl -pi -e "s(assume WORKING_DIR.+)(assume WORKING_DIR
${RPM_BUILD_DIR}/mingw-3.4.5)" x86-mingw32-build.sh.conf
perl -pi -e "s(assume PACKAGE_DIR.+)(assume PACKAGE_DIR
${RPM_SOURCE_DIR})" x86-mingw32-build.sh.conf
perl -pi -e "s(assume INSTALL_DIR.+)(assume INSTALL_DIR
${RPM_BUILD_ROOT}/opt/mingw)" x86-mingw32-build.sh.conf
%build
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
sh ./x86-mingw32-build.sh --no-download --use-latest-versions --unattended
%install
# no op
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm...
2007 Feb 09
6
1.2.4 symbols
Hi,
Everything compiled correctly for the ocfs2 package, but so far the
modules will not load with the "well known" module symbol error.
FATAL: Error inserting ocfs2
(/lib/modules/2.6.16.27-0.6-smp/kernel/fs/ocfs2/ocfs2.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
Okay not sure what is up here, any suggestions? BTW, this is the correct
module location and I
2002 Mar 14
1
rsync 2.5.4 released
A new version of rsync has been released:
rsync 2.5.4 (13 March 2002)
"Imitation lizard skin"
BUG FIXES:
* Additional fix for zlib double-free bug. (Martin Pool, Andrew
Tridgell) (CVE CAN-2002-0059)
ENHANCEMENTS:
* Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
(Note that rsync still uses a custom version of zlib; you can
not just