/[packages]/cauldron/kmod/current/SPECS/kmod.spec
ViewVC logotype

Annotation of /cauldron/kmod/current/SPECS/kmod.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 187108 - (hide annotations) (download)
Sat Dec 24 00:49:54 2011 UTC (12 years, 3 months ago) by tmb
File size: 1914 byte(s)
- update to version 2
- drop buildroot and defattr


1 tv 183406 %define major 1
2     %define libname %mklibname %{name} %{major}
3     %define develname %mklibname %{name} -d
4    
5     Summary: Kernel modules management tools
6     Name: kmod
7 tmb 187108 Version: 2
8 tv 183406 Release: %mkrel 1
9     Source0: http://packages.profusion.mobi/kmod/%{name}-%{version}.tar.bz2
10     License: GPLv2+
11     Group: System/Kernel and hardware
12 tv 183409 #Url1: http://www.politreco.com/2011/12/announce-kmod-1/
13 tv 183406 Url: http://git.profusion.mobi/cgit.cgi/kmod.git/
14    
15     %description
16     Simple tools for managing kernel modules.
17    
18     %package -n %{libname}
19     Summary: Kernel modules management library
20     Group: System/Libraries
21 tv 183408 License: LGPLv2+
22 tv 183406
23     %description -n %{libname}
24     Dynamic libraries for %{name}.
25    
26     The goal of the libkmod library is to offer to other programs the
27     needed flexibility and fine grained control over insertion, removal,
28     configuration and listing of kernel modules. Using the library, with
29     simple pieces of code it's possible to interact with kernel modules
30     and then there's no need to rely on other tools for that. This is a
31     thing lacking on Linux for a while and it's one of the items in the
32     Plumber's Wish List for Linux. Quoting it:
33    
34     provide a proper libmodprobe.so from module-init-tools:
35     Early boot tools, installers, driver install disks want to access
36     information about available modules to optimize boot up handling.
37    
38     %package -n %{develname}
39     Summary: Development files for %{name}
40     Group: Development/C
41     Requires: %{libname} = %{version}-%{release}
42     Provides: %{name}-devel = %{version}-%{release}
43 tv 183408 License: LGPLv2+
44 tv 183406
45     %description -n %{develname}
46     Development files and headers for %{name}.
47    
48    
49    
50     %prep
51     %setup -q
52     %configure
53    
54     %build
55     %make
56    
57     %install
58     rm -rf %{buildroot}
59     %makeinstall_std
60     rm -f %buildroot/%_libdir/libkmod.la
61    
62     %clean
63     rm -rf %{buildroot}
64    
65     %files
66     %_bindir/*
67    
68     %files -n %{libname}
69     %_libdir/libkmod.so.%major
70     %_libdir/libkmod.so.%major.*
71    
72     %files -n %{develname}
73     /usr/lib64/pkgconfig/libkmod.pc
74     %_includedir/libkmod.h
75     %_libdir/*.so
76    
77    

  ViewVC Help
Powered by ViewVC 1.1.30