packages: sysprof/sysprof.spec - up to 1.1.6

arekm arekm at pld-linux.org
Wed Jan 19 20:06:29 CET 2011


Author: arekm                        Date: Wed Jan 19 19:06:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.1.6

---- Files affected:
packages/sysprof:
   sysprof.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/sysprof/sysprof.spec
diff -u packages/sysprof/sysprof.spec:1.6 packages/sysprof/sysprof.spec:1.7
--- packages/sysprof/sysprof.spec:1.6	Wed Apr 29 15:48:36 2009
+++ packages/sysprof/sysprof.spec	Wed Jan 19 20:06:24 2011
@@ -1,25 +1,18 @@
 # $Revision$, $Date$
-# Conditional build:
-%bcond_without  dist_kernel     # without distribution kernel
-%bcond_without  kernel          # don't build kernel modules
-%bcond_without  userspace       # don't build userspace tools
 #
-%define	rel	2
 Summary:	Sampling CPU profiler for Linux
 Name:		sysprof
-Version:	1.0.12
-Release:	%{rel}
+Version:	1.1.6
+Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.daimi.au.dk/~sandmann/sysprof/%{name}-%{version}.tar.gz
-# Source0-md5:	9566040f3175678e75133b1c52a473f8
+# Source0-md5:	219f888777771f3709cb35a64bb008a9
 URL:		http://www.daimi.au.dk/~sandmann/sysprof/
 BuildRequires:	binutils-devel
 BuildRequires:	gtk+2-devel
 BuildRequires:	rpmbuild(macros) >= 1.217
-Requires:	uname(release) >= 2.6
-Conflicts:	kernel < 2.6
-ExclusiveArch:	%{ix86} %{x8664}
+Requires:	uname(release) >= 2.6.9
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,70 +23,29 @@
 
 Just insert the kernel module and start sysprof.
 
-%package -n kernel%{_alt_kernel}-sysprof
-Summary:	sysprof kernel driver
-Release:	%{rel}@%{_kernel_ver_str}
-Group:		Base/Kernel
-Requires(post,postun):	/sbin/depmod
-%if %{with dist_kernel}
-%requires_releq_kernel
-Requires(postun):	%releq_kernel
-%endif
-
-%description -n kernel%{_alt_kernel}-sysprof
-sysprof Linux kernel driver.
-
 %prep
 %setup -q
 
 %build
-%configure \
-	--disable-kernel-module
-%if %{with userspace}
+%configure
 %{__make}
-%endif
-
-%if %{with kernel}
-cd module
-%build_kernel_modules SUBDIRS=$PWD -m sysprof-module
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with userspace}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-%endif
-
-%if %{with kernel}
-cd module
-%install_kernel_modules -m sysprof-module -d misc
-%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -n kernel%{_alt_kernel}-sysprof
-%depmod %{_kernel_ver}
-
-%postun -n kernel%{_alt_kernel}-sysprof
-%depmod %{_kernel_ver}
-
-%if %{with userspace}
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_pixmapsdir}/*.png
 %{_datadir}/%{name}
-%endif
-
-%if %{with kernel}
-%files -n kernel%{_alt_kernel}-sysprof
-%defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}/misc/*.ko*
-%endif
+/etc/udev/rules.d/60-sysprof.rules
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -101,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/01/19 19:06:24  arekm
+- up to 1.1.6
+
 Revision 1.6  2009/04/29 13:48:36  baggins
 - rel 2
 - exclusivearch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sysprof/sysprof.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list