source: projects/self-build-setup/tags/0.9.6/self-build-setup.spec @ 461

Revision 461, 5.8 KB checked in by kazutaka, 12 years ago (diff)

0.9.6 向けに更新

Line 
1%define name            self-build-setup
2%define version         0.9.6
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* Mon Feb 08 2010 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.6-1
88- added CACHE_DOWNLOADED_FILES option to cache downloaded files
89  (by munepi-san)
90
91* Sun Jan 31 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.5-1
92- move this project to Trac/SVN (by munepi-san)
93- define bar(), percentage() in self-build-rpm.sh (by harada)
94- keep downloaded source files to /var/cache/self-build for self-build-rpm.sh
95  (by munepi-san)
96- check downloaded rpm files in /var/cache/apt/archives for get-binary-rpm.sh
97  (by munepi-san)
98- update ja.po (harada)
99
100* Tue Jun 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.4-1
101- fix temporary directory in get-binary-rpm.sh (rpm/SOURCES not required)
102
103* Sun May 31 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.3-1
104- delete DL_USE_GUI option (self-build.conf)
105- show GUI progress bar if synaptic is running (self-build-rpm.sh)
106- apply same change to get-binary-rpm.sh
107- update translation
108
109* Thu May 28 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.2-1
110- drop -u %%{user_uid} from useradd option (use automatic numbering for uid)
111- remove previsous build log before starting rpmbuild (self-build-rpm.sh)
112- add self-build.conf for some options
113- update self-build-rpm.sh to get options from self-build.conf
114- add Requires: zenity used for showing progress bar
115
116* Wed May 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-1
117- add an user in %%pre for non-root user selfbuild
118- update self-build-rpm.sh to run rpmbuild command by non-root user
119
120* Thu May 14 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-1
121- add get-binary-rpm.sh as Source8 to support install-assist package
122- update japanese message catalog for get-binary-rpm.sh
123
124* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.2-2
125- spec in utf8
126
127* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-1
128- set indent for some messages.
129
130* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-1
131- make building process more verbose. <BTS:wishes:155>
132
133* Sun Apr 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8-1
134- add pre-allocate-rpm.sh to allocate files from created rpm packages
135  before install them.
136 
137* Tue Apr 15 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7-1
138- update self-build-rpm.sh to handle multiple source URL <BTS:VineLinux:603>
139- fix typo <BTS:VineLinux:605>
140- add Requires: build-essential <BTS:VineLinux:614>
141
142* Sat Nov 10 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6-0vl1
143- disable check script. (Now comment out in install-self-build.conf)
144
145* Thu Nov 08 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5-0vl1
146- use --force option to install created rpm files.
147- add check scripts Source5 & Source6 to aboid to install multiple
148  self-build-* packages at same time.
149- add some messages and updated japanese message catalogue.
150 
151* Thu Nov 01 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4-0vl1
152- add que directory %{_localstatedir}/cache/self-build.
153- change archive directory to /var/cache/apt/archives.
154
155* Thu Oct 25 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3-0vl1
156- update helper scripts to make messages as translatable.
157- add japanese message catalogue (Source4)
158
159* Mon Oct 22 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2-0vl1
160- update Source3 (use mktemp to create dir and add error check)
161
162* Thu Oct 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-0vl1
163- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.