source: projects/self-build-setup/trunk/self-build-setup-vl.spec @ 7448

Revision 7448, 7.0 KB checked in by munepi, 9 years ago (diff)

bump vertion to 1.0.2

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