source: projects/specs/branches/6/c/checkinstall/checkinstall-vl.spec @ 3992

Revision 3992, 6.3 KB checked in by tanakanata, 13 years ago (diff)

fix missed update

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