Group :: Sistema/Configurações/Rede
RPM: cmotech-tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Tools for using C-motech hardware with Linux
Name: cmotech-tools
Version: 0.1
Release: alt1.r17.qa2
License: GPLv3
Group: System/Configuration/Networking
Url: http://cmotech-tools.sourceforge.net/
Source0: %name-%version.tar.gz
%description
Tools for using C-motech hardware with Linux. Initially, a program to
switch the CNU-680 USB Modem from CD to modem mode will be
provided. It is typically used in conjunction with udev. The CNU-680
is sold as "D-50" by ice.net.
%prep
%setup -q
%build
./bootstrap
%configure
make
%install
make install DESTDIR=%buildroot rulesdir=%_sysconfdir/udev/rules.d udevdir=/lib/udev
# sysconf/udev policy - /etc is for user
mkdir -p %buildroot%_udevrulesdir/
mv %buildroot%_sysconfdir/udev/rules.d/* %buildroot%_udevrulesdir/
%files
%doc README
%_sbindir/cmotech-cdswitch
%config %_udevrulesdir/cmotech.rules
/lib/udev/cmotech-cdswitch.sh
%changelog
…
Todas as alterações você pod ver aqui
Name: cmotech-tools
Version: 0.1
Release: alt1.r17.qa2
License: GPLv3
Group: System/Configuration/Networking
Url: http://cmotech-tools.sourceforge.net/
Source0: %name-%version.tar.gz
%description
Tools for using C-motech hardware with Linux. Initially, a program to
switch the CNU-680 USB Modem from CD to modem mode will be
provided. It is typically used in conjunction with udev. The CNU-680
is sold as "D-50" by ice.net.
%prep
%setup -q
%build
./bootstrap
%configure
make
%install
make install DESTDIR=%buildroot rulesdir=%_sysconfdir/udev/rules.d udevdir=/lib/udev
# sysconf/udev policy - /etc is for user
mkdir -p %buildroot%_udevrulesdir/
mv %buildroot%_sysconfdir/udev/rules.d/* %buildroot%_udevrulesdir/
%files
%doc README
%_sbindir/cmotech-cdswitch
%config %_udevrulesdir/cmotech.rules
/lib/udev/cmotech-cdswitch.sh
%changelog
…
Todas as alterações você pod ver aqui