diff options
Diffstat (limited to 'tdecachegrind')
-rw-r--r-- | tdecachegrind/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tdecachegrind/Makefile.am | 3 | ||||
-rw-r--r-- | tdecachegrind/configure.in.in | 1 | ||||
-rw-r--r-- | tdecachegrind/tdecachegrind.spec.in | 55 |
4 files changed, 1 insertions, 59 deletions
diff --git a/tdecachegrind/CMakeLists.txt b/tdecachegrind/CMakeLists.txt index afa2d31f..5a011aee 100644 --- a/tdecachegrind/CMakeLists.txt +++ b/tdecachegrind/CMakeLists.txt @@ -13,7 +13,6 @@ include( ConfigureChecks.cmake ) set( TDECACHEGRIND_VERSION "0.4.6kde" ) configure_file( version.h.in version.h @ONLY ) -configure_file( tdecachegrind.spec.in tdecachegrind.spec @ONLY ) add_subdirectory( tdecachegrind ) add_subdirectory( pics ) diff --git a/tdecachegrind/Makefile.am b/tdecachegrind/Makefile.am index c2ed2d26..214a8d92 100644 --- a/tdecachegrind/Makefile.am +++ b/tdecachegrind/Makefile.am @@ -1,6 +1,5 @@ SUBDIRS = tdecachegrind pics converters EXTRA_DIST = \ - AUTHORS COPYING NEWS ChangeLog INSTALL README TODO \ - tdecachegrind.spec version.h + AUTHORS COPYING NEWS ChangeLog INSTALL README TODO version.h diff --git a/tdecachegrind/configure.in.in b/tdecachegrind/configure.in.in index 8cda89d2..67a9840e 100644 --- a/tdecachegrind/configure.in.in +++ b/tdecachegrind/configure.in.in @@ -4,4 +4,3 @@ AC_SUBST(TDECACHEGRIND_VERSION) AC_FUNC_MMAP dnl AC_OUTPUT( tdecachegrind/version.h ) -dnl AC_OUTPUT( tdecachegrind/tdecachegrind.spec ) diff --git a/tdecachegrind/tdecachegrind.spec.in b/tdecachegrind/tdecachegrind.spec.in deleted file mode 100644 index 42b3e24e..00000000 --- a/tdecachegrind/tdecachegrind.spec.in +++ /dev/null @@ -1,55 +0,0 @@ -Summary: KDE Profiling Visualisation Tool -Name: tdecachegrind -Version: @TDECACHEGRIND_VERSION@ -Release: 1 -Copyright: GPL -Group: Development/Tools -Vendor: (none) -URL: http://tdecachegrind.sourceforge.net -Packager: Josef Weidendorfer <[email protected]> -Source: tdecachegrind-@[email protected] -BuildRoot: /var/tmp/build - -%description -KCachegrind is a GPL'd tool for quick browsing in and visualisation -of performance data of an application run. This data is produced by -profiling tools and typically includes distribution of cost events -to source code ranges (instructions, source lines, functions, C++ classes) -and call relationship of functions. -KCachegrind has a list of functions sorted according to different cost -types, and can provide various performance views for a function like -direct/indirect callers/callees, TreeMap visualisation of cost distribution -among callees, call graph sectors centered around the function and -annotated source/assembler. -Currently, KCachegrind depends on data delivered by the profiling tool -calltree, powered by the Valgrind runtime instrumentation framework. - -%prep -%setup -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ - \ - $LOCALFLAGS -%build -# Setup for parallel builds -numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` -if [ "$numprocs" = "0" ]; then - numprocs=1 -fi - -make -j$numprocs - -%install -make install-strip DESTDIR=$RPM_BUILD_ROOT - -cd $RPM_BUILD_ROOT -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.tdecachegrind -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.tdecachegrind -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.tdecachegrind - -%clean -rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/tdecachegrind -rm -rf ../file.list.tdecachegrind - - -%files -f ../file.list.tdecachegrind |