Skip to content
Browse files

updates

  • Loading branch information...
1 parent d011e12 commit 4426a3e6008b75dd4e9d47fdd23e513fed2502bd @dagwieers dagwieers committed Nov 28, 2004
View
2 specs/bash-completion/bash-completion.spec
@@ -7,7 +7,7 @@
Summary: Programmable completion for Bash
Name: bash-completion
Version: 20041017
-Release: 1
+Release: 2
License: GPL
Group: System Environment/Shells
URL: http://www.caliban.org/bash/
View
8 specs/dconf/dconf.spec
@@ -4,7 +4,7 @@
Summary: Collect a system's hardware and software configuration
Name: dconf
-Version: 0.4
+Version: 0.4.1
Release: 1
License: GPL
Group: System Environment/Base
@@ -42,6 +42,9 @@ files to send out or compare with other systems.
%{__rm} -rf %{buildroot}
%makeinstall
+### Install configfile for this distribution
+%{__install} -D -m0644 dconf-redhat.conf %{buildroot}%{_sysconfdir}/dconf.conf
+
%clean
%{__rm} -rf %{buildroot}
@@ -53,6 +56,9 @@ files to send out or compare with other systems.
%{_bindir}/dconf
%changelog
+* Wed Nov 24 2004 Dag Wieers <dag@wieers.com> - 0.4.1-1
+- Updated to release 0.4.1.
+
* Sun Nov 21 2004 Dag Wieers <dag@wieers.com> - 0.4-1
- Updated to release 0.4.
View
11 specs/dsniff/dsniff.spec
@@ -8,16 +8,16 @@
Summary: Tools for network auditing and penetration testing
Name: dsniff
-Version: 2.3
-Release: 0
+Version: 2.4
+Release: 0.b1
License: GPL
Group: Applications/Internet
URL: http://www.monkey.org/~dugsong/dsniff/
Packager: Dag Wieers <dag@wieers.com>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
-Source: http://www.monkey.org/~dugsong/dsniff/dsniff-%{version}.tar.gz
+Source: http://www.monkey.org/~dugsong/dsniff/dsniff-%{version}b1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libnet > 1.0, libnet < 1.1, libnids >= 1.16, openssl-devel >= 0.9.5a
@@ -50,10 +50,13 @@ dsniff is a collection of tools for network auditing and penetration testing.
%files
%defattr(-, root, root, 0755)
%doc CHANGES LICENSE README TODO
-%doc %{_mandir}/man?/*
+%doc %{_mandir}/man8/*.8*
%config(noreplace) %{_sysconfdir}/*
%{_sbindir}/*
%changelog
+* Fri Nov 26 2004 Dag Wieers <dag@wieers.com> - 2.4-0.b1
+- Updated to release 2.4b1.
+
* Mon Sep 15 2003 Dag Wieers <dag@wieers.com> - 2.3-0
- Initial package. (using DAR)
View
10 specs/ffmpeg/ffmpeg.spec
@@ -1,6 +1,13 @@
# $Id$
# Authority: matthias
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?rh9:%define _without_fast_memcpy 1}
+%{?rh8:%define _without_fast_memcpy 1}
+%{?rh7:%define _without_fast_memcpy 1}
+%{?el2:%define _without_fast_memcpy 1}
+
%define date 2004-11-10
#define prever pre1
%{?date: %define sqdate %(echo %{date} | tr -d '-')}
@@ -123,7 +130,8 @@ to use MPlayer, transcode or other similar programs.
# %{!?_without_a52: --enable-a52} \
# Make!
%{__make} %{?_smp_mflags} -C libavcodec/libpostproc
-%{__make} %{?_smp_mflags}
+%{__make} %{?_smp_mflags} \
+%{?_without_fast_memcpy:OPTFLAGS="-fPIC -fomit-frame-pointer %{optflags} -UUSE_FASTMEMCPY"}
%{__make} documentation
# Leftover, for reference :
# OPTFLAGS="-fPIC -fomit-frame-pointer %{optflags} -UUSE_FASTMEMCPY"
View
4 specs/libmusepack/libmusepack.spec
@@ -1,4 +1,4 @@
-# $Id.
+# $Id$
Summary: Musepack audio decoding library
Name: libmusepack
@@ -7,7 +7,7 @@ Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://www.musepack.net/
-Source0: http://www.saunalahti.fi/grimmel/mpc/source/libmusepack-%{version}.zip
+Source0: http://www.saunalahti.fi/grimmel/musepack.net/source/libmusepack-%{version}.zip
Source1: LGPL.txt
Patch: libmusepack-1.0.2-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
View
5 specs/liferea/liferea.spec
@@ -5,7 +5,7 @@
Summary: RSS/RDF feed reader
Name: liferea
-Version: 0.6.1
+Version: 0.6.3
Release: 1
License: GPL
Group: Applications/Internet
@@ -89,6 +89,9 @@ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas
%{_libdir}/liferea/*.so*
%changelog
+* Fri Nov 26 2004 Dag Wieers <dag@wieers.com> - 0.6.3-1
+- Updated to release 0.6.3.
+
* Mon Nov 01 2004 Dag Wieers <dag@wieers.com> - 0.6.1-1
- Updated to release 0.6.1.
View
7 specs/nagios/nagios.spec
@@ -1,5 +1,4 @@
# $Id$
-
# Authority: dag
# Upstream: Ethan Galstad <nagios$nagios,org>
@@ -9,7 +8,7 @@
Summary: Open Source host, service and network monitoring program
Name: nagios
Version: 1.2
-Release: 0
+Release: 1
License: GPL
Group: Applications/System
URL: http://www.nagios.org/
@@ -107,6 +106,7 @@ you will need to install %{name}-devel.
#%{__install} -m0644 common/common.h common/config.h common/locations.h ./cgi/cgiutils.h cgi/popen.h %{buildroot}%{_includedir}/nagios/
### FIXME: Add default .htpasswd file in /etc/nagios/ (in nagios.conf) (Please fix upstream)
+%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|' contrib/htaccess.sample
%{__install} -m0644 contrib/htaccess.sample %{buildroot}%{_sysconfdir}/httpd/conf.d/nagios.conf
%makeinstall -C contrib INSTALL="%{__install}" INSTALL_OPTS="" CGIDIR="%{buildroot}%{_libdir}/nagios/cgi"
@@ -183,6 +183,9 @@ fi
%{_includedir}/nagios/
%changelog
+* Fri Nov 26 2004 Dag Wieers <dag@wieers.com> - 1.2-1
+* Fixed %%{_libdir} in httpd nagios.conf. (Thomas Zehetbauer)
+
* Wed Feb 11 2004 Dag Wieers <dag@wieers.com> - 1.2-0
- Added embedded perl patch for perl > 5.8. (Stanley Hopcroft)
- Updated to release 1.2.
View
16 specs/samba/smb.init
@@ -34,10 +34,6 @@ fi
# Check that smb.conf exists.
[ -f /etc/samba/smb.conf ] || exit 0
-# Check that we can write to it... so non-root users stop here
-[ -w /etc/samba/smb.conf ] || exit 0
-
-
RETVAL=0
@@ -90,6 +86,18 @@ rhstatus() {
status nmbd
}
+
+# Allow status as non-root.
+if [ "$1" = status ]; then
+ rhstatus
+ exit $?
+fi
+
+# Check that we can write to it... so non-root users stop here
+[ -w /etc/samba/smb.conf ] || exit 0
+
+
+
case "$1" in
start)
start
View
8 specs/samba/swat.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Samba Configuration
+Name[de]=Samba Konfiguration
+Type=Application
+Comment=Configure Samba with a web based interface
+Exec=htmlview http://127.0.0.1:901/
+Terminal=false
+Categories=X-Red-Hat-Extra;Application;System;X-Red-Hat-ServerConfig;
View
118 specs/subversion/subversion.spec
@@ -3,6 +3,11 @@
# Tag: test
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?el3:%define _without_perl 1}
+%{?el3:%define _without_python 1}
+
# set to zero to avoid running test suite
%define make_check 0
@@ -11,7 +16,7 @@
Summary: Modern Version Control System designed to replace CVS
Name: subversion
Version: 1.0.9
-Release: 1
+Release: 2
License: BSD
Group: Development/Tools
URL: http://subversion.tigris.org/
@@ -27,10 +32,11 @@ Patch5: subversion-r8822.patch
Patch6: subversion-1.0.3-pie.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildPreReq: autoconf, libtool, python, python-devel, texinfo
-#BuildPreReq: db4-devel >= 4.1.25, swig >= 1.3.15, docbook-style-xsl
-BuildPreReq: db4-devel >= 4.1.25, swig, docbook-style-xsl
-BuildPreReq: apr-devel, apr-util-devel, neon-devel >= 0:0.24.6-1
+BuildRequires: autoconf, libtool, python, python-devel, texinfo
+BuildRequires: db4-devel >= 4.1.25, expat-devel, docbook-style-xsl
+BuildRequires: apr-devel >= 0.9.3-2, apr-util-devel >= 0.9.3-2, openssl-devel
+%{!?_without_python:BuildRequires: swig}
+%{!?_without_perl:BuildRequires: neon-devel >= 0.24.6-1}
%define __perl_requires %{SOURCE3}
@@ -92,66 +98,91 @@ rm -rf neon apr apr-util db4
./autogen.sh
# requirement for apr 0.9.5 seems to be bogus
-perl -pi -e 's/\.\[5-9\]/\.\[4-9\]/' configure
+%{__perl} -pi.orig -e 's/\.\[5-9\]/\.\[4-9\]/' configure
# fix shebang lines, #111498
-perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in
+%{__perl} -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in
export CC=gcc CXX=g++
-%configure --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
- --with-swig --with-neon=%{_prefix} \
- --with-apxs=%{_sbindir}/apxs --disable-mod-activation
-make %{?_smp_mflags} all swig-py %{swigdirs} swig-pl-lib
+%configure \
+ --with-apr="%{_prefix}" \
+ --with-apr-util="%{_prefix}" \
+ --with-apxs="%{_sbindir}/apxs" \
+ --disable-mod-activation \
+%{!?_without_perl:--with-neon=%{_prefix} --with-swig} \
+%{!?_without_python:--with-swig} \
+ --with-expat \
+ --with-ssl
+%{__make} %{?_smp_mflags} all
+
+%if %{!?_without_python:1}0
+%{__make} %{?_smp_mflags} swig-py %{swigdirs}}
+%endif
+
+%if %{!?_without_perl:1}0
+%{__make} %{?_smp_mflags} swig-pl-lib %{swigdirs}}
# build the perl modules
pushd subversion/bindings/swig/perl
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor"
+%{__make} %{?_smp_mflags}
popd
+%endif
%install
-rm -rf ${RPM_BUILD_ROOT}
-make install install-swig-py install-swig-pl-lib \
- DESTDIR=$RPM_BUILD_ROOT %{swigdirs}
+%{__rm} -rf %{buildroot}
+%{__make} install \
+ DESTDIR="%{buildroot}"
+
+%if %{!?_without_python:1}0
+%{__make} install-swig-py %{swigdirs} \
+ DESTDIR="%{buildroot}"
+%endif
+
+%if %{!?_without_perl:1}0
+%{__make} install-swig-pl-lib %{swigdirs} \
+ DESTDIR="%{buildroot}"
-make pure_install -C subversion/bindings/swig/perl \
- PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__make} pure_install -C subversion/bindings/swig/perl \
+ PERL_INSTALL_ROOT="%{buildroot}"
+%endif
# Add subversion.conf configuration file into httpd/conf.d directory.
-install -m 755 -d ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d
-install -m 644 $RPM_SOURCE_DIR/subversion.conf ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d
+%{__install} -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/subversion.conf
# Remove unpackaged files
-rm -rf ${RPM_BUILD_ROOT}%{_includedir}/subversion-*/*.txt \
- ${RPM_BUILD_ROOT}%{pydir}/*/*.{a,la}
+%{__rm} -rf %{buildroot}%{_includedir}/subversion-*/*.txt \
+ %{buildroot}%{pydir}/*/*.{a,la}
+%if %{!?_without_perl:1}0
# remove stuff produced with Perl modules
-find $RPM_BUILD_ROOT -type f \
+find %{buildroot} -type f \
-a \( -name .packlist -o \( -name '*.bs' -a -empty \) \) \
-print0 | xargs -0 rm -f
# make Perl modules writable so they get stripped
-find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -perm 555 -print0 |
+find %{buildroot}%{_libdir}/perl5 -type f -perm 555 -print0 |
xargs -0 chmod 755
+%endif
# unnecessary libraries for swig bindings
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsvn_swig_*.{so,la,a}
+%{__rm} -f %{buildroot}%{_libdir}/libsvn_swig_*.{so,la,a}
# Trim what goes in docdir
-rm -rf tools/*/*.in tools/test-scripts \
+%{__rm} -rf tools/*/*.in tools/test-scripts \
doc/book/book/images/images doc/book/book/images/*.ppt
# Rename authz_svn INSTALL doc for docdir
-ln subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
+ln -f subversion/mod_authz_svn/INSTALL mod_authz_svn-INSTALL
%if %{make_check}
%check
-make check CLEANUP=yes
-make -C subversion/bindings/swig/perl test
+%{__make} check CLEANUP=yes
+%{__make} -C subversion/bindings/swig/perl test
%endif
%clean
-rm -rf ${RPM_BUILD_ROOT}
+%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
@@ -162,40 +193,49 @@ rm -rf ${RPM_BUILD_ROOT}
%postun perl -p /sbin/ldconfig
%files
-%defattr(-,root,root)
+%defattr(-, root, root, 0755)
%doc BUGS COMMITTERS COPYING HACKING INSTALL README CHANGES
%doc tools subversion/LICENSE mod_authz_svn-INSTALL
%doc doc/book/book/book.html doc/book/book/images
%{_bindir}/*
%{_libdir}/libsvn_*.so.*
%{_mandir}/man*/*
-%{pydir}/svn
-%{pydir}/libsvn
-%exclude %{_libdir}/libsvn_swig_perl*
-%exclude %{_mandir}/man*/*::*
+#%exclude %{_bindir}/neon-config
+#%exclude %{_mandir}/man3/*
+%{!?_without_perl:%exclude %{_libdir}/libsvn_swig_perl*}
+%{!?_without_perl:%exclude %{_mandir}/man*/*::*}
+%{!?_without_python:%{pydir}/svn}
+%{!?_without_python:%{pydir}/libsvn}
%files devel
-%defattr(-,root,root)
+%defattr(-, root, root, 0755)
+#%{_bindir}/neon-config
%{_includedir}/subversion-1
%{_libdir}/libsvn*.a
%{_libdir}/libsvn*.la
%{_libdir}/libsvn*.so
-%exclude %{_libdir}/libsvn_swig_perl*
+#%{_mandir}/man3/*
+%{!?_without_perl:%exclude %{_libdir}/libsvn_swig_perl*}
%files -n mod_dav_svn
-%defattr(-,root,root)
+%defattr(-, root, root, 0755)
%config(noreplace) %{_sysconfdir}/httpd/conf.d/subversion.conf
%{_libdir}/httpd/modules/mod_dav_svn.so
%{_libdir}/httpd/modules/mod_authz_svn.so
+%if %{!?_without_perl:1}0
%files perl
-%defattr(-,root,root,-)
+%defattr(-, root, root, 0755)
%{perl_vendorarch}/auto/SVN
%{perl_vendorarch}/SVN
%{_libdir}/libsvn_swig_perl*
%{_mandir}/man*/*::*
+%endif
%changelog
+* Mon Nov 01 2004 Dag Wieers <dag@wieers.com> - 1.0.9-2
+- Backported changes from Red Hat's EL3 packages. (Joe Orton)
+
* Mon Nov 01 2004 Dag Wieers <dag@wieers.com> - 1.0.9-1
- Updated to release 1.0.9.
View
3 specs/videolan-client/videolan-client.spec
@@ -23,11 +23,14 @@
%{?rh7:%define _without_freedesktop 1}
%{?rh7:%define _without_fribidi 1}
%{?rh7:%define _without_theora 1}
+%{?rh7:%define _without_vorbis 1}
%{?el2:%define _without_alsa 1}
+%{?el2:%define _without_arts 1}
%{?el2:%define _without_freedesktop 1}
%{?el2:%define _without_fribidi 1}
%{?el2:%define _without_theora 1}
+%{?el2:%define _without_vorbis 1}
%{?yd3:%define _without_alsa 1}
%{?yd3:%define _without_fribidi 1}
View
16 specs/windowmaker/windowmaker.spec
@@ -46,6 +46,9 @@ you will need to install %{name}-devel.
%prep
%setup -n %{real_name}-%{version}
+### FIXME: Replace fixed /usr/lib by $(libdir). (Please fix upstream)
+%{__perl} -pi.orig -e 's|/usr/lib\b|\$(libdir)|g' WPrefs.app/Makefile.in
+
%{__cat} <<EOF >windowmaker.xsession
#!/bin/sh
exec /etc/X11/xdm/Xsession wmaker
@@ -75,15 +78,13 @@ export LINGUAS="$(cd po; echo *.po | sed -e 's|zh_TW.Big5.po||g; s|.po||g')"
--enable-usermenu \
--enable-xinerama \
--enable-vdesktop
-%{__make} %{?_smp_mflags}
+### Does not build with -j X and X > 1
+%{__make} #%{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall \
- NLSDIR="%{buildroot}%{_datadir}/locale" \
- wprefsdir="%{buildroot}%{_libdir}/GNUstep/WPrefs.app" \
- wpexecbindir="%{buildroot}%{_libdir}/GNUstep/WPrefs.app" \
- wpdatadir="%{buildroot}%{_libdir}/GNUstep/WPrefs.app"
+ NLSDIR="%{buildroot}%{_datadir}/locale"
%find_lang %{real_name}
%find_lang WPrefs
%find_lang WINGs
@@ -111,15 +112,16 @@ export LINGUAS="$(cd po; echo *.po | sed -e 's|zh_TW.Big5.po||g; s|.po||g')"
%files devel
%defattr(-, root, root, 0755)
%{_includedir}/*.h
-%{_libdir}/libwraster.a
+%{_libdir}/lib*.a
%exclude %{_libdir}/libwraster.la
%{_libdir}/libwraster.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Thu Nov 25 2004 Juergen Moellenhoff <jm@tp1.rub.de> - 0.91.0-1
- New package for version 0.91.0.
-- Changed wprefsdir, wpexecbindir and wpdatadir to the correct install path.
+- Fixed $(libdir) for correct wprefspath. (Vamsi K Kambhampati)
+- Remove %%{?_smp_mflags} for %%{__make}. (Vamsi K Kambhampati)
* Sun Oct 24 2004 Chris Gordon <chris-rpm@linux-dr.net> - 0.90.0-1
- New package for version 0.90.0.
View
2 specs/yumi/yumi.spec
@@ -1,6 +1,8 @@
# $Id$
# Authority: matthias
+# ExcludeDist: fc3
+
Summary: Graphical user interface for the yum package manager
Name: yumi
Version: 2.0.7

0 comments on commit 4426a3e

Please sign in to comment.
Something went wrong with that request. Please try again.