source: projects/specs/trunk/c/checkinstall/checkinstall-vl.spec @ 8072

Revision 8072, 6.8 KB checked in by tanakanata, 10 years ago (diff)

update checkinstall-fix-glibc-detection.patch to new glibc version

Line 
1Summary:        CheckInstall installations tracker
2Summary(ja):    パッケージ作成、インストール援助ツール CheckInstall
3Name:           checkinstall
4Version:        1.6.2
5Release:        7%{?_dist_release}
6License:        GPL
7Group:          Applications/Administration
8URL:            http://www.asic-linux.com.mx/~izto/checkinstall/
9Source0:        %{name}-%{version}.tar.gz
10Source1:        checkinstall-vine-64x64.svg
11Source2:        checkinstall-vine-info
12Patch0:         %{name}-%{version}-vine.patch
13Patch2:         checkinstall-1.6.1-rpm-version-check.patch
14Patch3:         checkinstall-fix-glibc-detection.patch
15Patch4:         checkinstall-rpm-set-buildroot.patch
16Patch5:         21build-glibc-2.10.diff
17Patch6:         fixdir-vine.patch
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildRequires:  gettext-devel
20#Requires:      rpm-build gettext-devel
21Requires:       build-essential
22
23%description
24CheckInstall  keeps  track of all the files created  or
25modified  by your installation  script  ("make install"
26"make install_modules",  "setup",   etc),   builds    a
27standard   binary   package and  installs  it  in  your
28system giving you the ability to uninstall it with your
29distribution's  standard package management  utilities.
30'
31
32%description -l ja
33CheckInstallは tar ball で配布されているソフトウェアを
34ディストリビューションのパッケージ管理システムに則った
35パッケージ形式に作成、インストールするユーティリティです。
36オリジナルでは deb、tgz パッケージも作成可能ですが、
37このパッケージでは Vine Linux に合わせてデフォルトで
38rpm パッケージを作成するようにしてあります。
39
40%prep
41
42%setup -q #-n %name-%version
43%patch0 -p1
44%patch2 -p0
45%patch3 -p1
46%patch4 -p1
47ln -s installwatch installwatch-0.7.0beta5
48%patch5 -p1
49%patch6 -p1
50
51%build
52make
53
54%install
55rm -rf %buildroot
56install -D -m 755 checkinstall %buildroot/%{_bindir}/checkinstall
57install -D -m 755 makepak %buildroot/%{_sbindir}/makepak
58install -m 755 installwatch/installwatch %buildroot/%{_bindir}
59install -D -m 755 installwatch/installwatch.so %buildroot/%{_libdir}/checkinstall/installwatch.so
60install -m 755 checkinstallrc-dist %buildroot/%{_libdir}/checkinstall/checkinstallrc
61install -D -m 644 locale/checkinstall-ja.mo %buildroot%_libdir/checkinstall/locale/ja/LC_MESSAGES/checkinstall.mo
62perl -pi -e "s!#PREFIX#!%_prefix!" %buildroot%_bindir/installwatch
63perl -pi -e "s!/lib/!/%_lib/!" %buildroot%_bindir/*
64install -D -m 755  %{_sourcedir}/checkinstall-vine-info %buildroot/%{_bindir}/checkinstall-vine-info
65
66# icons
67%__mkdir_p %{buildroot}%{_datadir}/pixmaps
68%__cp -a %{_sourcedir}/checkinstall-vine-64x64.svg %{buildroot}%{_datadir}/pixmaps
69
70# desktop menu entry
71%__mkdir -p %{buildroot}%{_datadir}/applications
72%__cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
73[Desktop Entry]
74Name=Checkinstall Information
75Name[ja]=Checkinstall について
76Comment=about Checkinstall
77Comment[ja]=Checkinstall の説明ダイアログ
78Exec=/usr/bin/checkinstall-vine-info
79Icon=/usr/share/pixmaps/checkinstall-vine-64x64.svg
80Terminal=false
81MultipleArgs=false
82Type=Application
83Categories=Application;Development;
84EOF
85
86%files
87%defattr(-,root,root,755)
88%doc README INSTALL RELNOTES BUGS TODO CREDITS COPYING
89%{_bindir}/installwatch
90%{_bindir}/checkinstall
91%{_bindir}/checkinstall-vine-info
92%{_sbindir}/makepak
93%dir %{_libdir}/checkinstall/
94%{_libdir}/checkinstall/checkinstallrc
95%{_libdir}/checkinstall/installwatch.so
96%lang(ja) %{_libdir}/checkinstall/locale/ja
97%dir %{_libdir}/checkinstall/locale/
98%{_datadir}/pixmaps/checkinstall-vine-64x64.svg
99%{_datadir}/applications/checkinstall.desktop
100
101%changelog
102* Sun Dec 29 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.6.2-7
103- update checkinstall-fix-glibc-detection.patch
104- build with gcc-4.8
105
106* Sun Oct  6 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.6.2-6
107- change Requires to build-essential
108
109* Sat Jun 30 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.6.2-5
110- fix some typo in spec
111- fix obsoleted URL in checkinstall-vine-info
112- update checkinstall-fix-glibc-detection.patch
113
114* Sun Oct 10 2010 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.6.2-4
115- rebuild on rpm-4.8.1
116- change spec file name
117
118* Wed Mar 3 2010 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.6.2-3
119- debug wrong icon-name
120
121* Tue Mar 2 2010 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.6.2-2
122- add gnome application entry
123- add unofficial icon svg
124
125* Tue Feb 27 2010 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.6.2-1
126- new source version 1.6.2
127- drop old patches all
128- add patch2,3,4,5 from mandriva pkg 1.6.2.16-1mdv2010.1
129
130* Mon Jul  6 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.6.1-4vl5
131- add patch1 to fix x86_64 env. (/usr/lib -> /usr/lib64)
132- renumber patch1 -> patch2
133- change BR: gettext -> gettext-devel
134
135* Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-3vl5
136- added checkinstall-1.6.1-readlink.patch
137
138* Sun Oct 12 2008 Tanaka hiroaki<mosaicist@par.odn.ne.jp>
139- convert spec.file to utf-8 without BOM format
140
141* Mon Sep 22 2008 Tanaka hiroaki<mosaicist@par.odn.ne.jp>
142- update spec file to follow Vine Linux guide line
143
144* Mon Nov  6 2006 Tanaka hiroaki<mosaicist@par.odn.ne.jp> 1.6.1
145- update the patch
146
147* Fri Dec 10 2005 Tanaka hiroaki<mosaicist@par.odn.ne.jp> 1.6.0-1.1
148- fix bug
149
150* Thu Aug 25 2005 Tanaka hiroaki<mosaicist@par.odn.ne.jp> 1.6.0-1.
151- new version
152
153* Sat Feb 12 2005 Tanaka hiroaki<mosaicist@par.odn.ne.jp> 1.6.0-beta4.1.
154- require rpm-build
155- update the patch 0
156
157* Mon May  3 2004 Gz Waschk <waschk@linux-mandrake.com> 1.6.0-0.beta3.1mdk
158- rediff patch
159- new version
160
161* Thu Aug 28 2003 Gz Waschk <waschk@linux-mandrake.com> 1.6.0-0.beta2.1mdk
162- fix installation
163- rediff the patch
164- 1.6.0beta2
165
166* Mon Jul 28 2003 Gz Waschk <waschk@linux-mandrake.com> 1.5.3-5mdk
167- own %{_libdir}/checkinstall/
168
169* Fri Jul 25 2003 Gz Waschk <waschk@linux-mandrake.com> 1.5.3-4mdk
170- move makepak to %_sbindir as configured in checkinstall
171
172* Fri Jul 25 2003 Gz Waschk <waschk@linux-mandrake.com> 1.5.3-3mdk
173- move the preload library to %{_libdir}/checkinstall/
174- merge all patches into one
175
176* Fri Jul 25 2003 Gz Waschk <waschk@linux-mandrake.com> 1.5.3-2mdk
177- remove library package, no soname
178- can't be noarch, there's a shared library
179- patch2: docdir is /usr/share/doc, default release is 1mdk
180
181* Wed Sep 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5.3-1mdk
182- 1.5.3
183- url
184
185* Mon Jun 17 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5.2-1mdk
186- 1.5.2
187
188* Wed Apr 10 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5.1-3mdk
189- patch1: fixes PREFIX in installwatch ( we don't use make install in %%install )
190
191* Sat Jan 12 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5.1-2mdk
192- %name-paths.patch : fix paths in scripts ( thx Rainer Koschnick )
193
194* Fri Jan 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5.1-1mdk
195- apply changes from Jorg Pitts <jorgp@bartnet.net> (thx! )
196        - new release 1.5.1
197        - split package and make rpmlint happier
198
199* Thu Apr 12 2001 Gregory Letoquart <gletoquart@mandrakesoft.com> 1.4.1-1mdk
200- First package
Note: See TracBrowser for help on using the repository browser.