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