Update of /cvsroot/freevo/freevo/contrib/rpm
In directory sc8-pr-cvs1:/tmp/cvs-serv10325
Modified Files:
freevo-deps.txt freevo-src.spec
Added Files:
lcdproc.spec pylcd.spec
Log Message:
More dependency spec files. Updated freevo-src.spec to latest (Sept 26 2003) snapshot
--- NEW FILE: lcdproc.spec ---
Summary: LCDproc displays real-time system information on a 20x4 backlit LCD.
Name: lcdproc
Version: 0.4.3
Release: 4_freevo
License: GPL
Url: http://lcdproc.omnipotent.net
Group: Monitoring
Source: http://lcdproc.omnipotent.net.net/%{name}-%{version}.tar.bz2
Source1: LCDd.init
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: ncurses-devel
%description
LCDproc is a client/server suite inclduding drivers for all
kinds of nifty LCD displays. The server supports several
serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216,
LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD; and some
devices connected to the LPT port: HD44780, STV5730, T6963,
SED1520 and SED1330. Various clients are available that display
things like CPU load, system load, memory usage, uptime, and a lot more.
See also http://lcdproc.omnipotent.net.
Available rpmbuild rebuild options :
--with: metar
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%configure --enable-stat-nfs --enable-stat-smbfs
--enable-drivers=hd44780,lcdm001,mtxorb,cfontz,curses,text,lb216,bayrad,glk,joy,t6963
%build
%{__make} CFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall
%{__make} install-strip DESTDIR=$RPM_BUILD_ROOT
# init
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
install %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/LCDd
# conf files
install -d $RPM_BUILD_ROOT%{_sysconfdir}/lcdproc
install LCDd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lcdproc/LCDd.conf
touch scripts/lcdproc.conf $RPM_BUILD_ROOT%{_sysconfdir}/lcdproc/lcdproc.conf
echo "-s localhost -p 13666 C M X U P S" > \
$RPM_BUILD_ROOT%{_sysconfdir}/lcdproc/lcdproc.conf
%if %{?_with_metar:0}%{!?_with_metar:1}
rm $RPM_BUILD_ROOT%{_bindir}/lcdmetar.pl
%endif
%post
if [ -x /sbin/chkconfig ]; then
chkconfig --add LCDd
fi
depmod -a
%preun
if [ "$1" = 0 ] ; then
if [ -x /sbin/chkconfig ]; then
chkconfig --del LCDd
fi
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, 0755)
%{_bindir}/*
%{_sbindir}/*
%{_mandir}/man?/*
%dir %{_sysconfdir}/lcdproc
%config(noreplace) %{_sysconfdir}/lcdproc/*
%doc README* INSTALL COPYING TODO ChangeLog
%defattr(-, root, root, 0700)
%config(noreplace) %{_sysconfdir}/rc.d/init.d/LCDd
%changelog
* Fri Sep 26 2003 TC Wan <[EMAIL PROTECTED]>
- Fixed spec file for RH 9, made metar dependency optional
* Sun Oct 6 2002 Arnaud de Lorbeau <[EMAIL PROTECTED]> 0.4.3-2mdk
- Add docs
* Thu Sep 12 2002 Nicolas Chipaux <[EMAIL PROTECTED]> 0.4.3-1mdk
- new release
* Fri Oct 26 2001 Rex Dieter <[EMAIL PROTECTED]> 0.4.1-1
- --enable-stat-smbfs
- TODO: make server/client init scripts
* Mon Oct 22 2001 Rex Dieter <[EMAIL PROTECTED]> -0
- first try, 0.4.1
- --enable-stat-nfs
--- NEW FILE: pylcd.spec ---
%define name pylcd
%define version 0.2
%define release 1_freevo
Summary: Library interface for LCDproc daemon
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
Copyright: GPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Vendor: Tobias Klausmann <[EMAIL PROTECTED]>
Url: http://www.schwarzvogel.de/software-pylcd.shtml
Requires: lcdproc
%description
PyLCD is a Library that interfaces with the LCDproc daemon. It abstracts the
network connection handling and provides a remap function for special
characters.
Information on LCDproc can be found at http://lcdproc.omnipotent.net
%prep
%setup
%build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
cat >>INSTALLED_FILES <<EOF
%doc README COPYING Changes PKG-INFO
EOF
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog
* Fri Sep 26 2003 TC Wan <[EMAIL PROTECTED]>
- Initial SPEC file for RH 9
Index: freevo-deps.txt
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo-deps.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** freevo-deps.txt 25 Sep 2003 09:31:41 -0000 1.2
--- freevo-deps.txt 26 Sep 2003 08:17:31 -0000 1.3
***************
*** 3,7 ****
$Id$
! Version 0.5 2003/09/25 TC Wan (tcwan at cs dot usm dot my)
> Contributed by Jorn A Hansen (jornh at person dot dk)
--- 3,7 ----
$Id$
! Version 0.51 2003/09/26 TC Wan (tcwan at cs dot usm dot my)
> Contributed by Jorn A Hansen (jornh at person dot dk)
***************
*** 144,148 ****
# pylirc-0.0.4-1.i386.rpm
! pylcd http://unattached.i-no.de/software-pylcd.shtml
pygphoto ?
--- 144,149 ----
# pylirc-0.0.4-1.i386.rpm
! pylcd http://unattached.i-no.de/software-pylcd.shtml lcdproc
http://lcdproc.omnipotent.net
! [0.2, RPMs available from freevo downloads]
[0.4.3, RPMs available from freevo downloads]
pygphoto ?
Index: freevo-src.spec
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo-src.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** freevo-src.spec 18 Sep 2003 06:54:11 -0000 1.7
--- freevo-src.spec 26 Sep 2003 08:17:32 -0000 1.8
***************
*** 4,20 ****
%define display x11
- %define _us_defaults 1
- %{?_without_us_defaults:%define _us_defaults 0}
-
- # Use system provided (not binary runtime) apps (default)
- %define _sysfirst "--sysfirst"
- %{?_without_use_sysapps:%define _sysfirst ""}
-
- # Compile python object files (default)
- %{?_without_compile_obj:%define _nopycompile 1}
##########################################################################
! %if %{_us_defaults}
%define tv_norm ntsc
%define chanlist us-cable
--- 4,11 ----
%define display x11
##########################################################################
! %if %{?_without_us_defaults:0}%{!?_without_us_defaults:1}
%define tv_norm ntsc
%define chanlist us-cable
***************
*** 26,31 ****
##########################################################################
%define name freevo-src
! %define version 1.4
! %define release 3_freevo
%define _cachedir /var/cache
%define _logdir /var/log
--- 17,22 ----
##########################################################################
%define name freevo-src
! %define version 1.4.0
! %define release 4_freevo
%define _cachedir /var/cache
%define _logdir /var/log
***************
*** 40,43 ****
--- 31,35 ----
Group: Applications/Multimedia
BuildRoot: %{_tmppath}/%{name}-buildroot
+ BuildRequires: docbook-utils, wget
Prefix: %{_prefix}
URL: http://freevo.sourceforge.net/
***************
*** 52,55 ****
--- 44,54 ----
--without: us_defaults use_sysapps compile_obj
+ Note: In order to build the source package, you must have an Internet connection.
+ If you need to configure a proxy server, set the shell environmental variable
'http_proxy'
+ to the URL of the proxy server before rebuilding the package.
+
+ E.g. for bash:
+ # export http_proxy=http://myproxy.server.net:3128
+
%package boot
Summary: Files to enable a standalone Freevo system (started from initscript)
***************
*** 65,75 ****
Note: This installs the initscripts necessary for a standalone Freevo system.
- %package testfiles
- Summary: Sample multimedia files to test freevo
- Group: Applications/Multimedia
-
- %description testfiles
- Test files that came with freevo. Placed in %{_cachedir}/freevo
-
%prep
rm -rf $RPM_BUILD_ROOT
--- 64,67 ----
***************
*** 84,87 ****
--- 76,81 ----
find . -name "*.py" |xargs chmod 644
+ ./autogen.sh
+
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
***************
*** 109,121 ****
chmod 777 %{buildroot}%{_logdir}/freevo
- # test files
- cp -av testfiles %{buildroot}%{_cachedir}/freevo/
-
%install
! python setup.py install %{?_nopycompile:--no-compile} \
--root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
cat >>INSTALLED_FILES <<EOF
! %doc BUGS COPYING ChangeLog FAQ INSTALL README TODO VERSION Docs
local_conf.py.example
%attr(755,root,root) %dir %{_sysconfdir}/freevo
%attr(777,root,root) %dir %{_logdir}/freevo
--- 103,112 ----
chmod 777 %{buildroot}%{_logdir}/freevo
%install
! python setup.py install %{?_without_compile_obj:--no-compile} \
--root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
cat >>INSTALLED_FILES <<EOF
! %doc BUGS COPYING ChangeLog FAQ INSTALL README TODO Docs local_conf.py.example
%attr(755,root,root) %dir %{_sysconfdir}/freevo
%attr(777,root,root) %dir %{_logdir}/freevo
***************
*** 134,138 ****
# Copy old local_conf.py to replace dummy file
freevo setup --geometry=%{geometry} --display=%{display} \
! --tv=%{tv_norm} --chanlist=%{chanlist} %{_sysfirst}
%preun
--- 125,130 ----
# Copy old local_conf.py to replace dummy file
freevo setup --geometry=%{geometry} --display=%{display} \
! --tv=%{tv_norm} --chanlist=%{chanlist} \
! %{!?_without_use_sysapps:--sysfirst}
%preun
***************
*** 154,161 ****
%attr(644,root,root) %config %{_sysconfdir}/freevo/boot_config
- %files testfiles
- %defattr(644,root,root,755)
- %{_cachedir}/freevo/testfiles
-
%post boot
if [ -x /sbin/chkconfig ]; then
--- 146,149 ----
***************
*** 178,181 ****
--- 166,173 ----
%changelog
+ * Fri Sep 26 2003 TC Wan <[EMAIL PROTECTED]>
+ - Removed testfiles from build since it's no longer part of the package
+ Cleaned up conditional flags
+
* Thu Sep 18 2003 TC Wan <[EMAIL PROTECTED]>
- Added supporting directories and files to package
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog