SPECS: yum-utils.spec (NEW) - initial pld release
patrys
patrys at pld-linux.org
Thu May 24 11:04:56 CEST 2007
Author: patrys Date: Thu May 24 09:04:56 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial pld release
---- Files affected:
SPECS:
yum-utils.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/yum-utils.spec
diff -u /dev/null SPECS/yum-utils.spec:1.1
--- /dev/null Thu May 24 11:04:56 2007
+++ SPECS/yum-utils.spec Thu May 24 11:04:50 2007
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+Summary: A collection of utilities related to yum
+Name: yum-utils
+Version: 1.1.4
+Release: 1
+License: GPL
+Group: Applications/System
+Source0: http://linux.duke.edu/projects/yum/download/yum-utils/%{name}-%{version}.tar.gz
+# Source0-md5: 6d5388c557c6ca1df32f14e8509acec0
+Patch0: %{name}-yum-config.patch
+URL: http://linux.duke.edu/projects/yum/
+BuildRequires: gettext-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.228
+Requires: python >= 2.5
+Requires: yum
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Yum-utils is a collection of utilities, plugins and examples related to
+the yum package manager.
+
+%description -l pl.UTF-8
+Yum to narzędzie sprawdzające i automatycznie ściągające i instalujące
+uaktualnione pakiety RPM. Zależności są ściągane automatycznie po
+zapytaniu użytkownika w razie potrzeby.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PYLIBDIR=%{py_sitescriptdir}/..
+
+# Plugins to install
+plugins="changelog fastestmirror fedorakmod protectbase versionlock tsflags kernel-module downloadonly allowdowngrade skip-broken priorities refresh-updatesd merge-conf security"
+install -d $RPM_BUILD_ROOT/{%{_sysconfdir}/yum/pluginconf.d,%{_libdir}/yum-plugins}
+
+cd plugins
+for plug in $plugins; do
+ install $plug/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/
+ install $plug/*.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/
+done
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/debuginfo-install
+%attr(755,root,root) %{_bindir}/package-cleanup
+%attr(755,root,root) %{_bindir}/repoclosure
+%attr(755,root,root) %{_bindir}/repo-graph
+%attr(755,root,root) %{_bindir}/repomanage
+%attr(755,root,root) %{_bindir}/repoquery
+%attr(755,root,root) %{_bindir}/repo-rss
+%attr(755,root,root) %{_bindir}/reposync
+%attr(755,root,root) %{_bindir}/repotrack
+%attr(755,root,root) %{_bindir}/yum-builddep
+%attr(755,root,root) %{_bindir}/yumdownloader
+%{_sysconfdir}/yum/pluginconf.d/*
+%{_libdir}/yum-plugins/*
+%{_mandir}/man*/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/05/24 09:04:50 patrys
+- initial pld release
+
================================================================
More information about the pld-cvs-commit
mailing list