aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-mandriva-setup.spec
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-06-22 12:00:58 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-06-22 12:00:58 +0000
commit0a42f012cf27cecf6310da77c89ef22b38bd4847 (patch)
treef9af5be527b82a80044fb9ce2c3cd2379af64109 /rpm-mandriva-setup.spec
parent9945cdeb7514d7dc4f210501a2406e33602709e1 (diff)
downloadrpm-setup-0a42f012cf27cecf6310da77c89ef22b38bd4847.tar
rpm-setup-0a42f012cf27cecf6310da77c89ef22b38bd4847.tar.gz
rpm-setup-0a42f012cf27cecf6310da77c89ef22b38bd4847.tar.bz2
rpm-setup-0a42f012cf27cecf6310da77c89ef22b38bd4847.tar.xz
rpm-setup-0a42f012cf27cecf6310da77c89ef22b38bd4847.zip
- split for dep
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