aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-05-20 13:12:50 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-05-20 13:12:50 +0000
commit657c75055954c53ac17ca66167832a0b4ecf5f8c (patch)
treea23e4cb4e1db6bb216d479885c4436a34926e43e
parentbe6ed81942ebc1687b80f89533a321cda1823157 (diff)
downloadspec-helper-657c75055954c53ac17ca66167832a0b4ecf5f8c.tar
spec-helper-657c75055954c53ac17ca66167832a0b4ecf5f8c.tar.gz
spec-helper-657c75055954c53ac17ca66167832a0b4ecf5f8c.tar.bz2
spec-helper-657c75055954c53ac17ca66167832a0b4ecf5f8c.tar.xz
spec-helper-657c75055954c53ac17ca66167832a0b4ecf5f8c.zip
- add this macros file to easier spec-helper integration in latest rpm
-rw-r--r--spec-helper.macros.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec-helper.macros.in b/spec-helper.macros.in
new file mode 100644
index 0000000..ecac331
--- /dev/null
+++ b/spec-helper.macros.in
@@ -0,0 +1,16 @@
+# $Id$
+
+%_spec_helper_dir @SPEC_HELPER_ROOT@
+
+%__spec_helper_post \
+ %{?!dont_clean_files: [ -n "$DONT_CLEANUP" ] || %_spec_helper_dir/clean_files} \
+ %{?!dont_compress: [ -n "$DONT_COMPRESS" ] || %_spec_helper_dir/compress_files} \
+ %{?!dont_strip: [ -n "$DONT_STRIP" ] || %_spec_helper_dir/strip_files} \
+ %{?!dont_relink: [ -n "$DONT_RELINK" ] || %_spec_helper_dir/relative_me_babe} \
+ %{?!dont_lceanup_perl: [ -n "$DONT_CLEAN_PERL" ] || %_spec_helper_dir/clean_perl} \
+ %{?!dont_symlinks_libs: [ -n "$DONT_SYMLINK_LIBS" ] || %_spec_helper_dir/lib_symlinks} \
+ %{?!dont_gprintify: [ -n "$DONT_GPRINTIFY" ] || %_spec_helper_dir/gprintify} \
+ %{?!dont_fix_mo: [ -n "$DONT_FIX_MO" ] || %_spec_helper_dir/fix_mo} \
+ %{?!dont_translate_menu: [ -n "$DONT_TRANSLATE_MENU"] || %_spec_helper_dir/translate_menu.pl} \
+%nil
+