blob: 6d1ed876ba1480ed9258abb94e92f98401b3050c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
Summary: Configuration files for smart
Summary(pl.UTF-8): Pliki konfiguracyjne dla smarta
Name: smart-config
Version: 2.99
Release: 1
License: GPL
Group: Base
Source0: %{name}-th.channel
Source1: %{name}-th-test.channel
Requires: smart
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This package contains smart configuration files for PLD.
%description -l pl.UTF-8
Ten pakiet zawiera pliki konfiguracyjne smarta dla 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,@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
|