aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-mandriva-setup.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-mandriva-setup.spec')
-rw-r--r--rpm-mandriva-setup.spec31
1 files changed, 27 insertions, 4 deletions
diff --git a/rpm-mandriva-setup.spec b/rpm-mandriva-setup.spec
index c41abcc..1c369d9 100644
--- a/rpm-mandriva-setup.spec
+++ b/rpm-mandriva-setup.spec
@@ -1,6 +1,6 @@
%define name rpm-mandriva-setup
%define version 1.1
-%define release %mkrel 1
+%define release %mkrel 2
# This can be usefull for backport as rpm-4.2
# provide the emacs-spec mode
@@ -22,13 +22,20 @@ License: GPL
Group: System/Configuration/Packaging
Url: http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/rpm-setup/
BuildRoot: %{_tmppath}/%{name}-buildroot
+
+%description
+The Mandriva rpm configuration and scripts
+
+%package build
+Group: System/Configuration/Packaging
+Summary: The Mandriva rpm configuration and scripts to build rpms
Requires: spec-helper >= 0.6-5mdk
%if have_emacsmodespec
Conflicts: rpm < 4.4.1
%endif
-%description
-The Mandriva rpm configuration and scripts
+%description build
+The Mandriva rpm configuration and scripts dedicated to build rpms.
%prep
%setup -q
@@ -61,15 +68,31 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog
-%_prefix/lib/rpm/mandriva
+%dir %_prefix/lib/rpm/mandriva
+%_prefix/lib/rpm/mandriva/rpmrc
+%_prefix/lib/rpm/mandriva/macros
+%_prefix/lib/rpm/mandriva/rpmpopt
+%_prefix/lib/rpm/mandriva/*-%_target_os
+
%dir %{_sysconfdir}/rpm/macros.d
+%files build
+%defattr(-,root,root)
+%exclude %_prefix/lib/rpm/mandriva/rpmrc
+%exclude %_prefix/lib/rpm/mandriva/macros
+%exclude %_prefix/lib/rpm/mandriva/rpmpopt
+%exclude %_prefix/lib/rpm/mandriva/*-%_target_os
+%_prefix/lib/rpm/mandriva/*
+
%if have_emacsmodespec
%{_datadir}/emacs/site-lisp/rpm-spec-mode.el
%config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el
%endif
%changelog
+* Wed Jun 22 2005 Olivier Thauvin <nanardon@mandriva.org> 1.1-2mdk
+- split package for dep
+
* Mon Jun 13 2005 Olivier Thauvin <nanardon@zarb.org> 1.1-1mdk
- few connectiva macros
- from Gwenole Beauchesne