source: projects/self-build-setup/tags/0.9.7/self-build-setup.spec @ 476

Revision 476, 6.0 KB checked in by kazutaka, 12 years ago (diff)

0.9.7 に更新

Line 
1%define name            self-build-setup
2%define version         0.9.7
3%define release         1%{?_dist_release}
4
5Summary:        Setup files for self-build package
6Summary(ja):    self-build パッケージ用の設定ファイル
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10Source0:        %{name}-%{version}.tar.bz2
11
12License:        GPL
13Group:          Applications/Administration
14
15Requires:       rpm, wget, zenity
16Requires:       build-essential
17BuildArch:      noarch
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19
20Packager:       kazutaka, munepi
21
22%description
23This package includes setup files and helper scripts
24required to install self-build package.
25You have to install this package if you want to install
26self-build package.
27
28[Note]
29This package includes configuratin file for apt.
30Please install this package without other package.
31
32Also if you install this package using synaptic package
33manager, please restart it after installation.
34
35%description -l ja
36このパッケージは self-build パッケージ及び install-assist
37パッケージのインストールに必要な設定ファイル及びヘルパースク
38リプトを含みます。
39self-build パッケージをインストールする場合はこのパッケージを
40インストールしてください。
41
42[注意]
43このパッケージは apt の設定ファイルを含んでいます。必ず他の
44self-build-* パッケージより先に、単体でインストールしてくだ
45さい。
46
47また synaptic パッケージマネージャからインストールする場合は、
48インストール後に一度 synaptic を再起動してください。
49
50
51%prep
52[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
53
54%setup
55
56%build
57%__make
58
59%install
60[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
61%__make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
62
63%clean
64[ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT}
65
66%pre
67# Add the "Self build rpm" user
68%{_sbindir}/useradd -c 'Self build' -r \
69                    -d '/var/lib/self-build' selfbuild 2> /dev/null || :
70       
71%files
72%defattr(-,root,root)
73%{_sysconfdir}/apt/apt.conf.d/install-self-build.conf
74%config %{_sysconfdir}/self-build.conf
75%{_datadir}/apt/scripts/install-self-build-rpm.lua
76%{_datadir}/apt/scripts/check-self-build.lua
77%{_libdir}/rpm/check-self-build.sh
78%{_libdir}/rpm/install-self-build-rpm.sh
79%{_libdir}/rpm/pre-allocate-rpm.sh
80%{_libdir}/rpm/self-build-rpm.sh
81%{_libdir}/rpm/get-binary-rpm.sh
82%{_localedir}/ja/LC_MESSAGES/%{name}.mo
83%dir %{_localstatedir}/cache/self-build
84%dir %{_localstatedir}/lib/self-build
85
86%changelog
87* Thu Feb 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.7-1
88- fix rpm build fail when smaller log size is given to self-build-rpm.sh
89
90* Mon Feb 08 2010 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.6-1
91- added CACHE_DOWNLOADED_FILES option to cache downloaded files
92  (by munepi-san)
93
94* Sun Jan 31 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.5-1
95- move this project to Trac/SVN (by munepi-san)
96- define bar(), percentage() in self-build-rpm.sh (by harada)
97- keep downloaded source files to /var/cache/self-build for self-build-rpm.sh
98  (by munepi-san)
99- check downloaded rpm files in /var/cache/apt/archives for get-binary-rpm.sh
100  (by munepi-san)
101- update ja.po (harada)
102
103* Tue Jun 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.4-1
104- fix temporary directory in get-binary-rpm.sh (rpm/SOURCES not required)
105
106* Sun May 31 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.3-1
107- delete DL_USE_GUI option (self-build.conf)
108- show GUI progress bar if synaptic is running (self-build-rpm.sh)
109- apply same change to get-binary-rpm.sh
110- update translation
111
112* Thu May 28 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.2-1
113- drop -u %%{user_uid} from useradd option (use automatic numbering for uid)
114- remove previsous build log before starting rpmbuild (self-build-rpm.sh)
115- add self-build.conf for some options
116- update self-build-rpm.sh to get options from self-build.conf
117- add Requires: zenity used for showing progress bar
118
119* Wed May 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-1
120- add an user in %%pre for non-root user selfbuild
121- update self-build-rpm.sh to run rpmbuild command by non-root user
122
123* Thu May 14 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-1
124- add get-binary-rpm.sh as Source8 to support install-assist package
125- update japanese message catalog for get-binary-rpm.sh
126
127* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.2-2
128- spec in utf8
129
130* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-1
131- set indent for some messages.
132
133* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-1
134- make building process more verbose. <BTS:wishes:155>
135
136* Sun Apr 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8-1
137- add pre-allocate-rpm.sh to allocate files from created rpm packages
138  before install them.
139 
140* Tue Apr 15 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7-1
141- update self-build-rpm.sh to handle multiple source URL <BTS:VineLinux:603>
142- fix typo <BTS:VineLinux:605>
143- add Requires: build-essential <BTS:VineLinux:614>
144
145* Sat Nov 10 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6-0vl1
146- disable check script. (Now comment out in install-self-build.conf)
147
148* Thu Nov 08 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5-0vl1
149- use --force option to install created rpm files.
150- add check scripts Source5 & Source6 to aboid to install multiple
151  self-build-* packages at same time.
152- add some messages and updated japanese message catalogue.
153 
154* Thu Nov 01 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4-0vl1
155- add que directory %{_localstatedir}/cache/self-build.
156- change archive directory to /var/cache/apt/archives.
157
158* Thu Oct 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3-0vl1
159- update helper scripts to make messages as translatable.
160- add japanese message catalogue (Source4)
161
162* Mon Oct 22 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-0vl1
163- update Source3 (use mktemp to create dir and add error check)
164
165* Thu Oct 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-0vl1
166- initial build for Vine Linux
167
Note: See TracBrowser for help on using the repository browser.