This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.0 KiB

  1. %define prefix /usr
  2. %define RELEASE 1
  3. %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
  4. Summary: analyze text for style
  5. Name: diction
  6. Version: 1.03
  7. Release: %rel
  8. Copyright: GPL
  9. Group: Text/Utilities
  10. Source: http://www.moria.de/~michael/diction/diction-%{version}.tar.gz
  11. BuildRoot: /var/tmp/%{name}-%{version}-root
  12. URL: http://www.moria.de/~michael/diction/
  13. DocDir: %{prefix}/doc
  14. %description
  15. diction [desc]
  16. %changelog
  17. * Thu May 12 2000 HWN <hanwen@cs.uu.nl>
  18. - Initial spec file copied GGV
  19. %prep
  20. %setup
  21. %build
  22. # Needed for snapshot releases.
  23. if [ ! -f configure ]; then
  24. CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS --prefix=%{prefix}
  25. else
  26. CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix}
  27. fi
  28. if [ "$SMP" != "" ]; then
  29. (make "MAKE=make -k -j $SMP"; exit 0)
  30. make
  31. else
  32. make
  33. fi
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make prefix=$RPM_BUILD_ROOT%{prefix} install
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-, root, root)
  41. %doc COPYING README
  42. %{prefix}/bin/*
  43. %{prefix}/share/*
  44. %{prefix}/man/*