diff options
Diffstat (limited to 'kxmleditor.spec')
-rw-r--r-- | kxmleditor.spec | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/kxmleditor.spec b/kxmleditor.spec deleted file mode 100644 index fe28578..0000000 --- a/kxmleditor.spec +++ /dev/null @@ -1,45 +0,0 @@ -Summary: KXML Editor for TDE -Name: kxmleditor -Version: 1.1.4 -Release: 0.1 -Copyright: GPL -Vendor: Lumir Vanek <[email protected]> -Url: http://kxmleditor.sourceforge.net -Packager: Lumir Vanek <[email protected]> -Group: Development/Tools -Source: kxmleditor-1.1.4.tar.gz -BuildRoot: %{_tmppath}/%{name}-buildroot - -%description -XML Editor for TDE. - -%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.kxmleditor -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kxmleditor -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kxmleditor - -%clean -rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/kxmleditor -rm -rf ../file.list.kxmleditor - - -%files -f ../file.list.kxmleditor - |