rpms/thinkpad-kmod-common/devel thinkpad-kmod-common-console.perms, NONE, 1.1 thinkpad-kmod-common.modules, NONE, 1.1 thinkpad-kmod-common.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jan 26 22:14:12 UTC 2006


Author: scop

Update of /cvs/extras/rpms/thinkpad-kmod-common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18532/devel

Modified Files:
	.cvsignore sources 
Added Files:
	thinkpad-kmod-common-console.perms 
	thinkpad-kmod-common.modules thinkpad-kmod-common.spec 
Log Message:
auto-import thinkpad-kmod-common-5.8-5 on branch devel from thinkpad-kmod-common-5.8-5.src.rpm
Initial import.


--- NEW FILE thinkpad-kmod-common-console.perms ---
# console.perms definitions for ThinkPad devices, http://tpctl.sourceforge.net/

<console>  0600 /dev/thinkpad 0600 root


--- NEW FILE thinkpad-kmod-common.modules ---
#!/bin/sh

# Script for loading ThinkPad modules at boot time.

modprobe thinkpad >/dev/null 2>&1


--- NEW FILE thinkpad-kmod-common.spec ---
%define debug_package %{nil}
%define kmod_name     thinkpad

Name:           %{kmod_name}-kmod-common
Version:        5.8
Release:        5%{?dist}
Summary:        Supplemental kernel modules for ThinkPad® laptop computers

License:        GPL
Group:          System Environment/Kernel
URL:            http://tpctl.sourceforge.net/
Source0:        http://download.sf.net/tpctl/%{kmod_name}_%{version}.tar.gz
Source1:        %{name}-console.perms
Source2:        %{name}.modules
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	kmod-%{kmod_name} = %{version}
Requires:       pam >= 0.79-8
Requires:       initscripts >= 8.08-1

ExclusiveArch:  i386

%description
This package contains common files for kernel modules that interface
the System Management Application Program Interface (SMAPI) BIOS found
in some ThinkPad® laptop computers, and drivers for certain ThinkPad
hardware components.

ThinkPad is a registered trademark of Lenovo in the United States,
other countries, or both.


%prep
%setup -q -n %{kmod_name}-%{version}


%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 644 man/thinkpad.4 $RPM_BUILD_ROOT%{_mandir}/man4/thinkpad.4
install -Dpm 644 %{SOURCE1} \
    $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.perms.d/60-thinkpad.perms
install -Dpm 755 %{SOURCE2} \
    $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/thinkpad.modules


%clean
rm -rf $RPM_BUILD_ROOT


%files 
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README SUPPORTED-MODELS TECHNOTES
%config(noreplace) %{_sysconfdir}/security/console.perms.d/*-thinkpad.perms
%{_sysconfdir}/sysconfig/modules/thinkpad.modules
%{_mandir}/man4/thinkpad.4*


%changelog
* Tue Dec 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.8-5
- Rename to thinkpad-kmod-common.

* Mon Dec 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.8-4
- Provide kmod-config(thinkpad).

* Mon Dec 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.8-3
- Resync with old kernel-module-thinkpad-5.8-2:
  - Autoload modules at boot time.
  - Add console.perms.d snippet, drop obsolete README.Fedora.

* Sun Dec 18 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 5.8-2
- Split into thinkpad and thinkpad-kmod.

* Sat Apr  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.8-1
- Adjust for FC4 kernel-devel.
- Drop console.perms munging, document it in README.Fedora instead.

* Sat Jan  8 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:5.8-0.fdr.3
- Patch to work with kernel 2.6.10.
- Drop udev stuff and thinkpad group, intruduce console.perms munging.

* Sun Dec  5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.8-0.fdr.2
- Drop support for kernels < 2.6, require udev, clean up specfile.
- Install modules into /lib/modules/$uname/updates/thinkpad
  (was /lib/modules/$uname/thinkpad).

* Mon Nov 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.8-0.fdr.1
- Update to 5.8.
- Patch to work with kernel 2.6.9 (final).

* Wed Sep 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.7-0.fdr.1
- Update to 5.7.

* Sat Sep 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.6-0.fdr.2
- Reset module file modes to 644 for 2.6 kernels too.
- Drop private copy of kmodhelper, use the one in fedora-rpmdevtools instead
  (2.4 kernels only).

* Tue Sep  7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.6-0.fdr.1
- Update to 5.6, parmdesc patch applied upstream.
- Patch to honor kernel optflags for 2.6 kernels.

* Fri Jul 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.5-0.fdr.1
- Update to 5.5.
- Clean up kernel >= 2.6 support.

* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.4
- Fix README path in %%description (#503).
- Avoid misleading build error message when no kernel-source is installed.

* Mon Feb  9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.3
- Update to kmodhelper 0.9.8.

* Sat Jan 31 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.2
- Further spec cleanups, kmodhelper 0.9.7.

* Fri Jan 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:5.0-0.fdr.1
- Update to 5.0, and kmodhelper to 0.9.6.
- Use MAKEDEV again.

* Thu Jan  8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:4.999-0.fdr.0.2.trial1
- Cosmetic specfile changes.

* Sun Dec 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.999-0.fdr.0.1.trial1
- Update to 4.999-trial1.
- Experimental, untested support for kernel 2.6.
- New version (0.9.5) of kmodhelper.

* Sat Dec 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.7
- Honor --target again.
- New version of kmodhelper.

* Fri Dec 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.6
- Pretty much reworked specfile, it should now be relatively easy to build
  modules for all kernel variants if one so desires.
- Back to providing kernel-module instead of kernel-modules because the
  naming scheme doesn't coexist prettily with up2date's kernel-modules
  behavior.
- Run depmod only if installing/uninstalling modules for the running kernel.

* Sat Dec  6 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.5
- Require /boot/vmlinuz-%%{kversion} (bug 503).
- Provide kernel-modules instead of kernel-module (bug 503).
- Build modules with the correct $CC.

* Tue Nov 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.4
- Don't use MAKEDEV to create /dev/thinkpad.

* Sat Nov 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.3
- Use sourceforge.net tarball.

* Sun Nov 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.2
- Add kernel config location workararound for .nptl kernels.

* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.8-0.fdr.1
- Update to 4.8.
- Include kernel cflags scripts in the package.

* Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.6-0.fdr.2
- Nuke reference to README.modules.conf in %%description (bug 503).
- Use fedora-rpm-helper.

* Thu Jul 24 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.6-0.fdr.1
- Update to 4.6.
- Drop README.modules.conf; upstream README has the necessary info.

* Sat May 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.4-0.fdr.1
- Update to 4.4 (from Debian).
- Un-hardwire 2.4.x build.
- Use proper kernel CFLAGS.
- Require specific kernel version.
- Use /dev/MAKEDEV for creating the device node, and own it.
- %%{buildroot} -> $RPM_BUILD_ROOT.
- Post(un)install scriptlet cleanups.

* Fri Apr 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.3-0.fdr.4
- Actually build for a 2.4.x kernel, hardwired for now (#214).

* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.3-0.fdr.3
- Rename to kernel-module-thinkpad.
- Obsolete kernel-mod-thinkpad.
- Add ExclusiveArch: i586 i686.
- Fix missing epoch in kernel-source dependency.

* Mon Apr  7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.3-0.fdr.2
- Actually include README.modules.conf (#8 comment 13).

* Sat Apr  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.3-0.fdr.1
- Update to 4.3.
- More spec file cleanups.

* Mon Mar 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:3.7-0.fdr.3
- Small spec cleanups.

* Sun Mar 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:3.7-0.fdr.2
- %%postun tricks for better cleanup after erase.

* Thu Mar 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:3.7-0.fdr.1
- Updated according to Fedora naming guidelines RC3.

* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 3.7-1.fedora.4
- Proof-of-concept for new kernel module packaging guideline proposal.
- Create group and /dev/thinkpad only on new install.
- Renamed to thinkpad-kernel.

* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 3.7-1.fedora.3
- Do install_modules instead of install in %%install to avoid unnecessary
  modprobing (#8).

* Sat Feb 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 3.7-1.fedora.2
- Add support for %%kernel define.

* Sat Feb  8 2003 Ville Skyttä <ville.skytta at iki.fi> - 3.7-1.fedora.1
- First Fedora release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/thinkpad-kmod-common/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Jan 2006 22:12:32 -0000	1.1
+++ .cvsignore	26 Jan 2006 22:14:12 -0000	1.2
@@ -0,0 +1 @@
+thinkpad_5.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/thinkpad-kmod-common/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Jan 2006 22:12:32 -0000	1.1
+++ sources	26 Jan 2006 22:14:12 -0000	1.2
@@ -0,0 +1 @@
+288ab19587bb3a8a4d6097448059b4c6  thinkpad_5.8.tar.gz




More information about the fedora-extras-commits mailing list