Revision 4566,
1.2 KB
checked in by yasumichi, 13 years ago
(diff) |
add spec file of update-from-skel
|
Line | |
---|
1 | %define pkg_version 0.1 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: update config files from etcskel |
---|
5 | Summary(ja): etcskel のファイルから設定ファイルを更新する |
---|
6 | Name: update-from-skel |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source: %{name}-%{version}.tar.bz2 |
---|
10 | License: GPLv3 |
---|
11 | Group: Applications/Administration |
---|
12 | URL: http://vinelinux.org/ |
---|
13 | |
---|
14 | #Requires: |
---|
15 | #BuildRequires: |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildArch: noarch |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: yasumichi |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | FIXME!! |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | /etc/skel にある設定ファイルとホームディレクトリにある設定ファイルを比較して |
---|
30 | 違いがあれば、sdiff や vim を利用して更新します。 |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | |
---|
36 | %build |
---|
37 | %configure |
---|
38 | %{__make} %{?_smp_mflags} |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
43 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
44 | |
---|
45 | %find_lang %{name} |
---|
46 | |
---|
47 | %clean |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | |
---|
50 | |
---|
51 | %files -f %{name}.lang |
---|
52 | %defattr(-,root,root) |
---|
53 | %doc COPYING ChangeLog NEWS README |
---|
54 | %{_bindir}/%{name} |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Wed Aug 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1-1%{?_dist_release} |
---|
60 | - initial build for Vine Linux |
---|
61 | |
---|
Note: See
TracBrowser
for help on using the repository browser.