forked from Etersoft/libnatspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibnatspec.spec
214 lines (162 loc) · 6.26 KB
/
libnatspec.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
Name: libnatspec
Version: 0.3.3
Release: alt1
Summary: Library for national and language-specific issues
License: LGPL
Group: System/Libraries
Url: https://github.com/vitlav/libnatspec
Packager: Vitaly Lipatov <[email protected]>
# Source-git: https://github.com/vitlav/libnatspec
Source: %name-%version.tar
# Automatically added by buildreq on Fri Jul 22 2005
BuildRequires: libpopt-devel
# due aclocaldir
BuildRequires: rpm-build-compat
%description
Library for national and language-specific issues.
This library provides userful functions for
mount, submount, mkisofs, multimedia players.
This library try to help resolve charset hell (encoding problem)
in a various programs depends on locale and messages.
See detailed description at
http://www.freesource.info/wiki/Lokalizacija/NATSPECDescription
or http://freesource.info/wiki/Lokalizacija/BibliotekaNATSPEC
%package devel
Summary: Development package of library for national and language-specific issues
Group: Development/C
Requires: %name = %version-%release
%description devel
The %name-devel package contains the necessary include files
for developing applications with %name
This library try to help resolve charset hell (encoding problem)
in a various programs depends on locale and messages.
%package devel-examples
Summary: Examples of %name using
Group: Development/Documentation
BuildArch: noarch
%description devel-examples
The %name-devel package contains examples of patches
for developing applications with %name
%package -n python-module-natspec
Summary: Python binding
Group: Development/Python
Requires: %name = %version-%release
%description -n python-module-natspec
Python binding for natspec
%prep
%setup
%build
%autoreconf
%configure
%make_build
%install
%makeinstall_std
# FIXME: I don't know how to install in /lib
# move to /lib
mkdir -p %buildroot/%_lib
mv %buildroot%_libdir/%{name}.* %buildroot/%_lib
%files
%doc AUTHORS README ChangeLog NEWS TODO README-ru.html
/%_lib/*.so.*
%_bindir/*
%_man1dir/*
#/etc/profile.d/*
%files devel
#doc docs/html
%_includedir/*
/%_lib/%name.so
%_pkgconfigdir/*
%_aclocaldir/*
%files devel-examples
%doc examples profile
#%files -n python-module-natspec
#%python_sitelibdir/natspec.py
#%python_sitelibdir/_natspec.so
%changelog
* Sat Aug 12 2023 Vitaly Lipatov <[email protected]> 0.3.3-alt1
- enrich_fs_options: fix warning about buffer overflow
- netspec: use natspec_convert() for transliteration via -a
- doc: natspec -a transliterate and print only one arg
* Wed Jul 26 2023 Vitaly Lipatov <[email protected]> 0.3.2-alt1
- update doc files
* Sat Jul 22 2023 Kirill Izmestev <[email protected]> 0.3.1-alt3
- Add Mari locale support
- Add Komi locale support
* Sat Oct 24 2015 Vitaly Lipatov <[email protected]> 0.3.1-alt2
- update version and add comment about automate it
- add p7zip patch from https://github.com/buzztaiki/pkgbuild-p7zip-natspec/
- fix URL and path to source
* Sat Oct 24 2015 Vitaly Lipatov <[email protected]> 0.3.1-alt1
- add travis support
- fix some build issues, thanks to Travis CI and Coverity
- update version and cleanup doxygen file
- natspec: fix error with compiling without popt
- fix printf size_t issues
- get_charset: fix memory leak detected by Coverity
* Sun Aug 16 2015 Vitaly Lipatov <[email protected]> 0.3.0-alt1
- netspec cli: always print with \n
- README-ru recode to utf8
* Sat Aug 15 2015 Vitaly Lipatov <[email protected]> 0.2.8-alt1
- natspec: add missed -l (--locale) option
* Wed Feb 04 2015 Vitaly Lipatov <[email protected]> 0.2.7-alt1
- remove example sources, fix authors in patches, add patch for unzip-6.0
- natspec command: small rewrite output
* Tue Apr 23 2013 Repocop Q. A. Robot <[email protected]> 0.2.6-alt2.qa3
- NMU (by repocop). See http://www.altlinux.org/Tools/Repocop
- applied repocop fixes:
* arch-dep-package-consists-of-usr-share for libnatspec-devel-examples
* Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.6-alt2.qa2
- Rebuilt for debuginfo (ALT #27806)
* Thu Nov 25 2010 Igor Vlasenko <[email protected]> 0.2.6-alt2.qa1
- rebuild using girar-nmu to require/provide setversion
by request of mithraen@
* Sun Mar 07 2010 Vitaly Lipatov <[email protected]> 0.2.6-alt2
- set in natspec.m4 require only 0.2.4 version of libnatspec for build
* Sun Jan 10 2010 Vitaly Lipatov <[email protected]> 0.2.6-alt1
- cleanup spec
- regenerate supported locales list
- check kk_KZ.UTF-8 locale support (fix alt bug #21957)
- do not use toupper_l/tolower_l (fix alt bug #21431)
* Sat Sep 05 2009 Vitaly Lipatov <[email protected]> 0.2.5-alt1
- update spec
- convert to Git, build with gear
* Fri Feb 15 2008 Vitaly Lipatov <[email protected]> 0.2.4-alt1
- natspec_convert returns original string if failed (fix bug #14301)
- small bugfixes, clean code
* Wed Jan 02 2008 Vitaly Lipatov <[email protected]> 0.2.3-alt1
- small fixes
- fix build (publish tarball with all autogenerated files)
* Fri Mar 24 2006 Vitaly Lipatov <[email protected]> 0.2.3-alt0.2beta
- fix bug with null pointer (thanks to rider@)
* Mon Mar 13 2006 Vitaly Lipatov <[email protected]> 0.2.3-alt0.1beta
- new version (with natspec_iconv), see NEWS
- remove COPYING
* Wed Aug 03 2005 Vitaly Lipatov <[email protected]> 0.2.2-alt2.1
- really fix unexpected macros
* Sat Jul 30 2005 Vitaly Lipatov <[email protected]> 0.2.2-alt2
- remove gcc-c++ requires
- fix spec (thanks to php-coder@)
- fix packages' groups
- fix bug #7495 (unexpected macros)
* Fri Jul 22 2005 Vitaly Lipatov <[email protected]> 0.2.2-alt1
- small fixes only (see NEWS)
- add html API doc in -devel
- update buildreq
* Sun Apr 10 2005 Vitaly Lipatov <[email protected]> 0.2.1-alt1
- new release, small fixes
* Thu Mar 17 2005 Vitaly Lipatov <[email protected]> 0.2.0-alt1
- new stable release
* Thu Mar 03 2005 Vitaly Lipatov <[email protected]> 0.1.9-alt1
- 0.2pre release
* Sun Feb 27 2005 Vitaly Lipatov <[email protected]> 0.1.0-alt1
- first stable release
* Sun Feb 27 2005 Vitaly Lipatov <[email protected]> 0.0.9-alt1
- new version (see NEWS)
* Thu Feb 24 2005 Vitaly Lipatov <[email protected]> 0.0.4-alt1
- new version (add descriptions, cleanup headers)
* Wed Feb 23 2005 Vitaly Lipatov <[email protected]> 0.0.3-alt1
- new version (fix bug with unix charset)
* Mon Feb 21 2005 Vitaly Lipatov <[email protected]> 0.0.2-alt1
- new version
* Sun Feb 20 2005 Vitaly Lipatov <[email protected]> 0.0.1-alt1
- first public release (for ALT Linux Sisyphus)