SPECS: smart-config.spec (NEW) - initial

patrys patrys at pld-linux.org
Tue Jul 31 18:07:33 CEST 2007


Author: patrys                       Date: Tue Jul 31 16:07:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   smart-config.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/smart-config.spec
diff -u /dev/null SPECS/smart-config.spec:1.1
--- /dev/null	Tue Jul 31 18:07:33 2007
+++ SPECS/smart-config.spec	Tue Jul 31 18:07:27 2007
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	Configuration files for smart
+Name:		smart-config
+Version:	2.99
+Release:	1
+License:	GPL
+Group:		Base
+Source0:	%{name}-th.channel
+Source1:	%{name}-th-test.channel
+Requires:	smart
+Provides:	smart-config
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains smart configuration files for PLD.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/smart/channels
+install %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/pld-th.channel
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/pld-th-test.channel
+
+for file in $RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/*.channel; do
+	sed -i -e's, at ARCH@,%{_target_cpu},g' $file
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/smart
+%dir %{_sysconfdir}/smart/channels
+%config(noreplace) %{_sysconfdir}/smart/channels/*.channel
+
+%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/07/31 16:07:27  patrys
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list