4982
|
1 |
#
|
|
2 |
# spec file for package liby2util (Version 2.10.6)
|
|
3 |
#
|
|
4 |
# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany.
|
|
5 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
6 |
#
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
|
|
11 |
# norootforbuild
|
|
12 |
# neededforbuild dejagnu doxygen expect gpp libgpp libpng libxcrypt libxcrypt-devel openssl-devel pkgconfig tcl yast2-devtools
|
|
13 |
|
|
14 |
Name: liby2util
|
|
15 |
Version: 2.10.6
|
5333
|
16 |
Release: 2.33
|
4982
|
17 |
License: GPL
|
|
18 |
Group: System/YaST
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
Source0: liby2util-2.10.6.tar.bz2
|
|
21 |
Patch1: liby2util-01-Sun-string.diff
|
|
22 |
prefix: /usr
|
|
23 |
Summary: YaST2 - Utilities Library
|
|
24 |
|
5003
|
25 |
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils dejagnu doxygen expect gcc gcc-c++ gdbm gettext libpng libstdc++-devel libtool libxcrypt-devel openssl-devel perl pkgconfig rpm tcl yast2-devtools
|
|
26 |
|
4984
|
27 |
Distribution: Java Desktop System, Release 3
|
|
28 |
Vendor: Sun Microsystems, Inc.
|
|
29 |
|
4982
|
30 |
%description
|
|
31 |
YaST2 - Utilities Library
|
|
32 |
|
|
33 |
Authors:
|
|
34 |
--------
|
|
35 |
Michael Andres <[email protected]>
|
|
36 |
Alvaro Lopez <[email protected]>
|
|
37 |
|
|
38 |
%package devel
|
|
39 |
Requires: liby2util = %version
|
|
40 |
Group: System/YaST
|
|
41 |
Summary: YaST2 - Include Files and Documentation for Utilities Library
|
|
42 |
Requires: openssl-devel pkgconfig
|
|
43 |
|
|
44 |
%description devel
|
|
45 |
YaST2 - Include Files and Documentation for Utilities Library
|
|
46 |
|
|
47 |
Authors:
|
|
48 |
--------
|
|
49 |
Michael Andres <[email protected]>
|
|
50 |
Alvaro Lopez <[email protected]>
|
|
51 |
|
|
52 |
%prep
|
|
53 |
%setup -n liby2util-2.10.6
|
|
54 |
%patch1 -p1
|
|
55 |
|
|
56 |
%build
|
|
57 |
%{prefix}/bin/y2tool y2autoconf
|
|
58 |
%{prefix}/bin/y2tool y2automake
|
|
59 |
autoreconf --force --install
|
|
60 |
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
61 |
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
62 |
%{?suse_update_config:%{suse_update_config -f}}
|
|
63 |
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
|
|
64 |
make %{?jobs:-j%jobs}
|
|
65 |
|
|
66 |
%install
|
|
67 |
make install DESTDIR="$RPM_BUILD_ROOT"
|
|
68 |
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
|
|
69 |
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
|
|
70 |
d=${f##*/}
|
|
71 |
%suse_update_desktop_file ${d%.desktop}
|
|
72 |
done
|
|
73 |
|
|
74 |
%clean
|
|
75 |
rm -rf "$RPM_BUILD_ROOT"
|
|
76 |
|
|
77 |
%files
|
|
78 |
%defattr(-,root,root)
|
|
79 |
%{_libdir}/lib*.so.*
|
|
80 |
|
|
81 |
%files devel
|
|
82 |
%defattr(-,root,root)
|
|
83 |
%{_libdir}/lib*.so
|
|
84 |
%{_libdir}/lib*.la
|
|
85 |
%{prefix}/include/YaST2
|
|
86 |
%doc %{prefix}/share/doc/packages/liby2util
|
|
87 |
|
|
88 |
%changelog -n liby2util
|
|
89 |
* Mon Jan 31 2005 - [email protected]
|
|
90 |
- Added patch liby2util-01-Sun-string.diff
|
|
91 |
* Thu Sep 30 2004 - [email protected]
|
|
92 |
- Added class KVMap
|
|
93 |
- 2.10.6
|
|
94 |
* Tue Sep 21 2004 - [email protected]
|
|
95 |
- Allow passing environment varaibles to ExternalProgram. (#38261)
|
|
96 |
- 2.10.5
|
|
97 |
* Sat Sep 18 2004 - [email protected]
|
|
98 |
- Fix C++ syntax.
|
|
99 |
* Mon Aug 30 2004 - [email protected]
|
|
100 |
- use pkgconfig macro to check for OpenSSL
|
|
101 |
- use get() instead of readsome() as readsome() seems to be non-blocking and
|
|
102 |
returns zero in the middle of a file
|
|
103 |
- add Makefile target to test Digest class
|
|
104 |
- 2.10.4
|
|
105 |
* Thu Aug 12 2004 - [email protected]
|
|
106 |
- added libpng to neededforbuild
|
|
107 |
- 2.10.3
|
|
108 |
* Tue Jul 13 2004 - [email protected]
|
|
109 |
- don't use system() for calling gpg (#42776)
|
|
110 |
- always log executed external programs and their status if they fail
|
|
111 |
- 2.10.2
|
|
112 |
* Thu Jul 01 2004 - [email protected]
|
|
113 |
- New PathInfo::md5sum
|
|
114 |
* Thu Jun 24 2004 - [email protected]
|
|
115 |
- link against openssl so that the dependencies are added to liby2util.la
|
|
116 |
- new class for message digests (MD5, SHA1 etc)
|
|
117 |
- 2.10.1
|
|
118 |
* Thu Jun 17 2004 - [email protected]
|
|
119 |
- merge 9.1 branch
|
|
120 |
- 2.10.0
|
|
121 |
* Fri May 21 2004 - [email protected]
|
|
122 |
- fixed logging configuration (#40970)
|
|
123 |
- 2.9.24
|
|
124 |
* Tue Apr 20 2004 - [email protected]
|
|
125 |
- New enum PathInfo::file_type (file, directory, link, etc.)
|
|
126 |
- New PathInfo::readdir which retrieves directory content and
|
|
127 |
file_type of each entry.
|
|
128 |
- 2.9.23
|
|
129 |
* Tue Apr 06 2004 - [email protected]
|
|
130 |
- SUSE is great (#38495)
|
|
131 |
- 2.9.22
|
|
132 |
* Sun Apr 04 2004 - [email protected]
|
|
133 |
- add 'cifs' to URL (#37871)
|
|
134 |
- 2.9.21
|
|
135 |
* Fri Apr 02 2004 - [email protected]
|
|
136 |
- finally changed license to GPL for good
|
|
137 |
* Tue Mar 23 2004 - [email protected]
|
|
138 |
PathInfo::md5sum- use GNU-like output for log_simple mode
|
|
139 |
- 2.9.19
|
|
140 |
* Mon Mar 22 2004 - [email protected]
|
|
141 |
- TagCacheRetrieval::retrieveData must clear any old data in case
|
|
142 |
of retrieval error.
|
|
143 |
- 2.9.18
|
|
144 |
* Thu Mar 18 2004 - [email protected]
|
|
145 |
- Added convenience classes for callback redirection.
|
|
146 |
- 2.9.17
|
|
147 |
* Wed Mar 17 2004 - [email protected]
|
|
148 |
- include MemUsage.h unconditionally, let *it* (un)define D_MEMUSAGE
|
|
149 |
- 2.9.16
|
|
150 |
* Tue Mar 16 2004 - [email protected]
|
|
151 |
- disable -DD_MEMUSAGE otherwise all depending packages need to enable it too
|
|
152 |
- 2.9.15
|
|
153 |
* Mon Mar 15 2004 - [email protected]
|
|
154 |
- fixed initialization of LangCode::_nameHash
|
|
155 |
- 2.9.14
|
|
156 |
* Sun Mar 14 2004 - [email protected]
|
|
157 |
- enable MemUsage with -DD_MEMUSAGE
|
|
158 |
- add size tracking
|
|
159 |
* Tue Mar 02 2004 - [email protected]
|
|
160 |
- add access functions to internal debug variable
|
|
161 |
* Mon Mar 01 2004 - [email protected]
|
|
162 |
- Added common set operations (setutil.h)
|
|
163 |
- 2.9.12
|
|
164 |
* Tue Feb 24 2004 - [email protected]
|
|
165 |
- Toggle debug on SIGUSR1, reread log.conf on SIGUSR2.
|
|
166 |
* Tue Feb 24 2004 - [email protected]
|
|
167 |
- use normal log behavior in ycpc when Y2DEBUG is set
|
|
168 |
* Mon Feb 23 2004 - [email protected]
|
|
169 |
- Reread log.conf on SIGUSR1
|
|
170 |
- 2.9.11
|
|
171 |
* Sat Feb 21 2004 - [email protected]
|
|
172 |
- Reimplemented counted pointer classes
|
|
173 |
- 2.9.10
|
|
174 |
* Thu Feb 19 2004 - [email protected]
|
|
175 |
- ensure initialization of memusage counter
|
|
176 |
- 2.9.9
|
|
177 |
* Wed Feb 18 2004 - [email protected]
|
|
178 |
- better function name for the simple log mode
|
|
179 |
* Tue Feb 17 2004 - [email protected]
|
|
180 |
- Added MemUsage
|
|
181 |
- 2.9.8
|
|
182 |
* Mon Feb 09 2004 - [email protected]
|
|
183 |
- added simple log mode (mainly for ycpc)
|
|
184 |
- 2.9.7
|
|
185 |
* Tue Jan 27 2004 - [email protected]
|
|
186 |
- Let parser classes use std::streamoff instead of std::streampos.
|
|
187 |
* Sat Jan 24 2004 - [email protected]
|
|
188 |
- Added PathInfo::hardlink
|
|
189 |
- 2.9.6
|
|
190 |
* Fri Jan 23 2004 - [email protected]
|
|
191 |
- added possibility to use a custom log.conf
|
|
192 |
* Thu Jan 22 2004 - [email protected]
|
|
193 |
- Compile with gcc-3.4
|
|
194 |
- 2.9.5
|
|
195 |
* Thu Dec 18 2003 - [email protected]
|
|
196 |
- Restored Y2SLog providing a default log component name.
|
|
197 |
- 2.9.4
|
|
198 |
* Fri Dec 12 2003 - [email protected]
|
|
199 |
- merge again the logging functionality from core
|
|
200 |
- implement better logging configuration
|
|
201 |
- 2.9.3
|
|
202 |
* Thu Nov 13 2003 - [email protected]
|
|
203 |
- Fixed ProgressCounter::updateIfNewPercent. After reset, update
|
|
204 |
should be triggered anyway. Otherwise an initial 0%% report may
|
|
205 |
get lost. (#30382)
|
|
206 |
- 2.9.2
|
|
207 |
* Thu Nov 06 2003 - [email protected]
|
|
208 |
- Switched autodocs from kdoc to doxygen
|
|
209 |
- 2.9.1
|
|
210 |
* Tue Sep 23 2003 - [email protected]
|
|
211 |
- Added PathInfo::symlink
|
|
212 |
- 2.8.15
|
|
213 |
* Thu Sep 18 2003 - [email protected]
|
|
214 |
- Provide virtual methods Rep::ref_to and Rep::unref_to triggered
|
|
215 |
whenever the reference counter changes.
|
|
216 |
- 2.8.12
|
|
217 |
* Thu Sep 11 2003 - [email protected]
|
|
218 |
- ExternalProgram: Close excess file descriptors on exec. (#30410)
|
|
219 |
- 2.8.11
|
|
220 |
* Fri Aug 29 2003 - [email protected]
|
|
221 |
- Adapt CallBack and ProgressCounter to packagemanager needs.
|
|
222 |
- 2.8.10
|
|
223 |
* Mon Aug 25 2003 - [email protected]
|
|
224 |
- Second part of fix for bug #19603: RPM groups not translated
|
|
225 |
Moved gettext initialization out to from Y2PM.cc (in packagemanager)
|
|
226 |
to YRpmGroupsTree.cc
|
|
227 |
* Tue Aug 12 2003 - [email protected]
|
|
228 |
- fixed PtrClasses: call to nonstatic member before class is
|
|
229 |
completely initialized.
|
|
230 |
- 2.8.9
|
|
231 |
* Tue Jul 29 2003 - [email protected]
|
|
232 |
- Suppress ".." in PathInfo::readDir().
|
|
233 |
* Mon Jul 28 2003 - [email protected]
|
|
234 |
- Fix test suite for autobuild.
|
|
235 |
- 2.8.8
|
|
236 |
* Sun Jul 27 2003 - [email protected]
|
|
237 |
- Fixes to CallBack class.
|
|
238 |
- 2.8.7
|
|
239 |
* Tue Jul 15 2003 - [email protected]
|
|
240 |
- Added CallBack template classes.
|
|
241 |
- Added ProgressCounter incl. callback support.
|
|
242 |
- 2.8.6
|
|
243 |
* Tue Jul 08 2003 - [email protected]
|
|
244 |
- Added support for "file:" URLs.
|
|
245 |
- Added Url class tests.
|
|
246 |
- Removed "get" suffix from Url accessor functions.
|
|
247 |
- Added Protocol enum to Url class.
|
|
248 |
- Changed Url::setPort/port() to use int value.
|
|
249 |
- 2.8.5
|
|
250 |
* Tue Jun 24 2003 - [email protected]
|
|
251 |
- Fixed ExternalProgram::running().
|
|
252 |
* Tue Jun 17 2003 - [email protected]
|
|
253 |
- Added FSize constructor with string argument.
|
|
254 |
* Wed Jun 11 2003 - [email protected]
|
|
255 |
- add /usr/include/YaST2 to file list of devel subpackage
|
|
256 |
* Tue Jun 03 2003 - [email protected]
|
|
257 |
- Build fix: Don't package unmaintained validate_* programs at all.
|
|
258 |
- Added PathInfo::zipType
|
|
259 |
- 2.8.2
|
|
260 |
* Fri May 30 2003 - [email protected]
|
|
261 |
- Build fix: package also validate_packages_lang, validate_selection.
|
|
262 |
- 2.8.1
|
|
263 |
* Tue Apr 22 2003 - [email protected]
|
|
264 |
- 2.8.0
|
|
265 |
* Tue Apr 22 2003 - [email protected]
|
|
266 |
- Also use separate GPG home dir when running as non-root (#26360).
|
|
267 |
* Fri Mar 14 2003 - [email protected]
|
|
268 |
- In vendor check isSuSE() return true for "UnitedLinux" too.
|
|
269 |
- 2.7.15
|
|
270 |
* Thu Mar 06 2003 - [email protected]
|
|
271 |
- Added 'int PathInfo::chmod( const Pathname & path, mode_t mode );'
|
|
272 |
- 2.7.14
|
|
273 |
* Mon Mar 03 2003 - [email protected]
|
|
274 |
- 2.7.13
|
|
275 |
* Thu Feb 27 2003 - [email protected]
|
|
276 |
- use std::set instead of hash in Ustring.h for speed reasons
|
|
277 |
- increase library version number to reflect binary incompatible changes
|
|
278 |
* Tue Feb 25 2003 - [email protected]
|
|
279 |
- GPGCheck now also works for non-root users.
|
|
280 |
* Tue Feb 25 2003 - [email protected]
|
|
281 |
- 2.7.12 #include <assert.h> added
|
|
282 |
* Mon Feb 24 2003 - [email protected]
|
|
283 |
- Don't report missing config file as error (#23799).
|
|
284 |
* Fri Feb 21 2003 - [email protected]
|
|
285 |
- 2.7.10
|
|
286 |
* Wed Feb 19 2003 - [email protected]
|
|
287 |
- GPGCheck: Don't prompt user, when destination file can't be removed.
|
|
288 |
* Tue Feb 18 2003 - [email protected]
|
|
289 |
- Added PathInfo::userMay methods, evaluating file permissions according
|
|
290 |
to current uid/gid.
|
|
291 |
- 2.7.9
|
|
292 |
* Tue Feb 11 2003 - [email protected]
|
|
293 |
- (Partial) fix for bug #19603: RPM groups not translated
|
|
294 |
YRpmGroupsTree / YStringTree now use dgettext( "rpm-groups", msg )
|
|
295 |
to retrieve the translations.
|
|
296 |
* Mon Feb 03 2003 - [email protected]
|
|
297 |
- Url::operator== should be 'const'.
|
|
298 |
- 2.7.7
|
|
299 |
* Wed Jan 29 2003 - [email protected]
|
|
300 |
- Added FSize::fillBlock (and FSize::fullBlock) to adjust (return adjusted)
|
|
301 |
size to provided blocksize boundary.
|
|
302 |
- 2.7.6
|
|
303 |
* Thu Jan 23 2003 - [email protected]
|
|
304 |
- Added class PathInfo::devino_cache. Standalone simple cache
|
|
305 |
remembering device/inode to detect hardlinks.
|
|
306 |
- 2.7.5
|
|
307 |
- Added class PathInfo::stat_mode. Standalone wrapper class for mode_t
|
|
308 |
values (filetype and protection) as derived from ::stat().
|
|
309 |
- 2.7.4
|
|
310 |
- Added stringutil::splitToLines. Split string into a list of lines
|
|
311 |
using per default '\n' as line delimiter.
|
|
312 |
- Added stringutil::dumpOn. Helper for stream output of string list
|
|
313 |
and vector.
|
|
314 |
- 2.7.3
|
|
315 |
* Wed Jan 22 2003 - [email protected]
|
|
316 |
- Added numstring, hexstring and optstring functions for long long
|
|
317 |
parameters.
|
|
318 |
* Wed Dec 18 2002 - [email protected]
|
|
319 |
- Added Url::operator==().
|
|
320 |
- Added PathInfo::copy().
|
|
321 |
- Cleaned up GPGCheck class.
|
|
322 |
- Folded TaggedParser::lookupYouEndTag() into TaggedParser::lookupEndTag().
|
|
323 |
* Thu Nov 14 2002 - [email protected]
|
|
324 |
- Fixed bug that inhibits logging on big-endian architectures.
|
|
325 |
- 2.7.1
|
|
326 |
* Thu Nov 14 2002 - [email protected]
|
|
327 |
- Added SysConfig class for accessing /etc/sysconfig/* files.
|
|
328 |
* Mon Oct 14 2002 - [email protected]
|
|
329 |
- Fixed TagRetrievalPos. Failed to read multiline entries containing
|
|
330 |
lines longer than 1024 byte.
|
|
331 |
- 2.6.21
|
|
332 |
* Wed Oct 09 2002 - [email protected]
|
|
333 |
- Fixed pathInfo::copy_dir. Check for existing target dir didn't work.
|
|
334 |
- 2.6.20
|
|
335 |
* Wed Oct 02 2002 - [email protected]
|
|
336 |
- Added support for YOU-style localized multiline tags.
|
|
337 |
- 2.6.19
|
|
338 |
* Wed Sep 11 2002 - [email protected]
|
|
339 |
- Handle empty values in TaggedParser more gracefully
|
|
340 |
- 2.6.18
|
|
341 |
* Tue Sep 10 2002 - [email protected]
|
|
342 |
- Added LangCode::hasCountry() and LangCode::languageOnly()
|
|
343 |
- 2.6.17
|
|
344 |
* Tue Sep 10 2002 - [email protected]
|
|
345 |
- reduce logging (bug #19289)
|
|
346 |
* Tue Sep 10 2002 - [email protected]
|
|
347 |
- add PathInfo::rename()
|
|
348 |
- 2.6.15
|
|
349 |
* Mon Sep 09 2002 - [email protected]
|
|
350 |
- do not output password by default, use saveAsString if you need it
|
|
351 |
* Sun Sep 08 2002 - [email protected]
|
|
352 |
- ignore case of end tags when parsing
|
|
353 |
- 2.6.13
|
|
354 |
* Fri Sep 06 2002 - [email protected]
|
|
355 |
- dont output stderr of "diff" to console
|
|
356 |
- 2.6.12
|
|
357 |
* Thu Sep 05 2002 - [email protected]
|
|
358 |
- improve Rep handling
|
|
359 |
- improve Url handling
|
|
360 |
- count sizes in 1024, not 1000
|
|
361 |
- 2.6.11
|
|
362 |
* Tue Sep 03 2002 - [email protected]
|
|
363 |
- add vendor checks
|
|
364 |
- improve TaggedParser/TaggedFile to read old common.pkd format
|
|
365 |
- 2.6.10
|
|
366 |
* Tue Sep 03 2002 - [email protected]
|
|
367 |
- kdoc cleanup: better cross references and fixed some parsing issues.
|
|
368 |
* Sun Sep 01 2002 - [email protected]
|
|
369 |
- add Vendor hash
|
|
370 |
- 2.6.9
|
|
371 |
* Wed Aug 28 2002 - [email protected]
|
|
372 |
- add PathInfo::copy_file2dir()
|
|
373 |
- 2.6.8
|
|
374 |
* Wed Aug 28 2002 - [email protected]
|
|
375 |
- add PathInfo::copy_dir()
|
|
376 |
- 2.6.7
|
|
377 |
* Sun Aug 25 2002 - [email protected]
|
|
378 |
- add TaggedFile and TaggedParser for easier packages parsing
|
|
379 |
* Fri Aug 23 2002 - [email protected]
|
|
380 |
- drop BitField implementation.
|
|
381 |
* Wed Aug 21 2002 - [email protected]
|
|
382 |
- add group tag cache
|
|
383 |
* Sun Aug 18 2002 - [email protected]
|
|
384 |
- add TagCacheRetrievalPtr
|
|
385 |
- add reference pointer statistics
|
|
386 |
* Fri Aug 16 2002 - [email protected]
|
|
387 |
- split off core logging functions for use by liby2util
|
|
388 |
and yast2-core
|
|
389 |
* Thu May 16 2002 - [email protected]
|
|
390 |
- Initial version.
|