source: projects/specs/trunk/e/enca/enca-vl.spec @ 7303

Revision 7303, 7.2 KB checked in by Takemikaduchi, 11 years ago (diff)

mesa-libGLU: fix BR,
others: new upstream release

Line 
1Name:           enca
2Summary:        Character set analyzer and detector
3Version:        1.14
4Release:        1%{?_dist_release}
5License:        GPLv2
6Group:          Applications/Text
7Source:         http://dl.cihar.com/enca/enca-%{version}.tar.bz2
8URL:            http://gitorious.org/enca
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11
12%description
13Enca is an Extremely Naive Charset Analyser. It detects character set and
14encoding of text files and can also convert them to other encodings using
15either a built-in converter or external libraries and tools like libiconv,
16librecode, or cstocs.
17
18Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
19Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian,
20Chinese and some multibyte encodings (mostly variants of Unicode)
21independent on the language.
22
23This package also contains shared Enca library other programs can make use of.
24
25Install %{name} if you need to cope with text files of dubious origin
26and unknown encoding and convert them to some reasonable encoding.
27
28
29%package devel
30Summary:        Header files and libraries for %{name} charset analyzer
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33Requires:       pkgconfig
34
35%description devel
36The %{name}-devel package contains the static libraries and header files
37for writing programs using the Extremely Naive Charset Analyser library,
38and its API documentation.
39
40Install %{name}-devel if you are going to create applications using the Enca
41library.
42
43
44%prep
45%setup -q
46
47
48%build
49
50%configure \
51        --disable-dependency-tracking \
52        --without-librecode \
53        --disable-external \
54         --disable-static \
55        --disable-gtk-doc
56%{__make} %{?_smp_mflags}
57
58
59%install
60%{__rm} -rf $RPM_BUILD_ROOT
61
62%{__make} install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html
63
64%{__rm} -rf $RPM_BUILD_ROOT/tmp/html
65%{__rm} -rf $RPM_BUILD_ROOT/%{_libexecdir}
66%{__rm} -f $RPM_BUILD_ROOT/%{_libdir}/*.la
67
68
69%check
70%{__make} check
71
72
73%clean
74%{__rm} -rf $RPM_BUILD_ROOT
75
76
77%post -p /sbin/ldconfig
78
79%postun -p /sbin/ldconfig
80
81
82%files
83%defattr(-,root,root)
84%{_bindir}/*
85%{_libdir}/libenca.so.*
86%{_mandir}/*/*
87%doc AUTHORS COPYING FAQ README THANKS TODO
88
89%files devel
90%defattr(-,root,root)
91%{_includedir}/*
92%{_libdir}/pkgconfig/*
93%{?_with_static: %{_libdir}/*.a}
94%{_libdir}/*.so
95%doc devel-docs/html/*.html README.devel
96
97
98%changelog
99* Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14-1
100- new upstream release
101
102* Thu Jan 20 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.13-1
103- new upstream release
104
105* Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 1.10-1
106- initial build for Vine Linux based on fedora development
107
108* Tue Aug 25 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.10-1
109- Update to 1.10
110- Change urls for new upstream
111
112* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-6
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
114
115* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
116- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
117
118* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9-4
119- Autorebuild for GCC 4.3
120
121* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
122- Change License tag to GPLv2
123
124* Fri Sep  1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-3
125- rebuild for FC6
126
127* Tue Feb 14 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-2
128- rebuild for FC5
129
130* Mon Dec 19 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.9-1
131- upgrade to 1.9
132
133* Mon Nov 28 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.8-1
134- upgrade to 1.8
135- update description
136
137* Fri Sep 16 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-4
138- clenup in docs
139- Accepted for Fedora Extra (review by Ville Skytta <ville.skytta@iki.fi>)
140
141* Thu Sep  9 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-3
142- build static libs conditionally
143- disable external converters (#167820)
144
145* Thu Sep  8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-2
146- more cleanups (#167820)
147
148* Thu Sep  8 2005 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.7-1
149- spec cleanups for Fedora Extra
150- avoid build with librecode, use just glibc's iconv
151- avoid any gtk dependencies, html docs are already present in the source
152
153* Mon May 17 2004 David Necas (Yeti) <yeti@physics.muni.cz>
154- doubled percents in changelog
155
156* Mon Dec 22 2003 David Necas (Yeti) <yeti@physics.muni.cz>
157- moved wrappers to libexec
158
159* Thu Nov  6 2003 David Necas (Yeti) <yeti@physics.muni.cz>
160- added b-piconv
161- fixed HTML doc install paths
162
163* Tue Oct 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
164- testing whether $RPM_BUILD_ROOT is not /
165- updated for new HTML doc location
166- changed make -> %%__make, rm -> %%__rm
167
168* Sat Aug  2 2003 David Necas (Yeti) <yeti@physics.muni.cz>
169- cleaning $RPM_BUILD_ROOT in %%install
170
171* Sat Jun 28 2003 David Necas (Yeti) <yeti@physics.muni.cz>
172- removed --disable-gtk-doc, no longer needed
173
174* Fri Jun 20 2003 David Necas (Yeti) <yeti@physics.muni.cz>
175- added enca.pc to devel package
176
177* Sat Jun 14 2003 David Necas (Yeti) <yeti@physics.muni.cz>
178- updated description
179- added --disable-gtk-doc
180
181* Mon Dec 23 2002 David Necas (Yeti) <yeti@physics.muni.cz>
182- added libenca.so
183
184* Fri Dec 20 2002 David Necas (Yeti) <yeti@physics.muni.cz>
185- fixed URL and Source to trific.ath.cx
186
187* Mon Oct 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
188- added FAQ to docs
189
190* Thu Oct 10 2002 David Necas (Yeti) <yeti@physics.muni.cz>
191- removed twice-listed %%{docdir}/html
192
193* Sat Sep 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
194- added b-umap
195
196* Sun Sep 15 2002 David Necas (Yeti) <yeti@physics.muni.cz>
197- added enconv
198
199* Thu Aug 29 2002 David Necas (Yeti) <yeti@physics.muni.cz>
200- removed bzip2-devel buildprereq
201
202* Sat Aug 24 2002 David Necas (Yeti) <yeti@physics.muni.cz>
203- added postinstall and postuninstall scriptlets
204
205* Wed Aug 21 2002 David Necas (Yeti) <yeti@physics.muni.cz>
206- updated to enca-0.10.0-pre2
207- added libenca
208- split into enca and enca-devel
209- removed cache
210- fixed HTML_DIR
211
212* Tue Jul 10 2001 David Necas (Yeti) <yeti@physics.muni.cz>
213- changed rpm macros in Source and URL to autoconf macros to ease debian/
214  stuff generation
215
216* Sun May 20 2001 David Necas (Yeti) <yeti@physics.muni.cz>
217- added BuildPrereq: bzip2-devel
218
219* Wed May  2 2001 David Necas (Yeti) <yeti@physics.muni.cz>
220- changed group to standard (but much less appropriate) Applications/Text
221- rpm macros are used instead of autoconf macros (after the first definition)
222
223* Sun Mar 11 2001 David Necas (Yeti) <yeti@physics.muni.cz>
224- added defattr, doc attributes
225- uses global configure cache
226- heavy use of predefined directories
227- configure moved to build section as is usual
228
229* Sun Feb 25 2001 David Necas (Yeti) <yeti@physics.muni.cz>
230- updated to enca-0.9.0pre4 (including files and descriptions)
231- added sed dependency
232
233* Sun Oct 25 2000 David Necas (Yeti) <yeti@physics.muni.cz>
234- updated to enca-0.7.5
235
236* Sun Oct 11 2000 David Necas (Yeti) <yeti@physics.muni.cz>
237- removed redundant Provides: enca
238
239* Sun Oct  1 2000 David Necas (Yeti) <yeti@physics.muni.cz>
240- updated to enca-0.7.1
241- man page forced to be intstalled to ${prefix}/share/man
242
243* Tue Sep 26 2000 David Necas (Yeti) <yeti@physics.muni.cz>
244- updated to enca-0.7.0
245- spec autogenerated by configure
246
247* Tue Sep 19 2000 David Necas (Yeti) <yeti@physics.muni.cz>
248- fixed not installing bcstocs
249
250* Wed Sep 13 2000 David Necas (Yeti) <yeti@physics.muni.cz>
251- first packaged (0.6.2)
252
Note: See TracBrowser for help on using the repository browser.