Changes of Revision 3
[-] | Changed | enca.spec |
x 1
2 # no shared library policy on 10.3 as the library package 3 # contains a plugin directory that would conflict with other 4 # soname versions 5 - 6 +%define lib libenca 7 +%define soname 0 8 +%define libname %{lib}%{soname} 9 Name: enca 10 Version: 1.9 11 Release: 3 12
13 encoding of text files and can also convert them to other encodings. The 14 charset detecing functionality is also available as a library. 15 16 -%package -n libenca 17 +%package -n %{libname} 18 Summary: Charset and Encoding Analyzer/Converter Library 19 Group: Development/Libraries/C and C++ 20 +Provides: %{lib} 21 Requires: recode perl 22 23 -%description -n libenca 24 +%description -n %{libname} 25 Enca is an Extremely Naive Charset Analyser. It detects character set and 26 encoding of text files and can also convert them to other encodings. 27 28
29 %clean 30 %__rm -rf "%{buildroot}" 31 32 +%post -n %{libname} 33 +/sbin/ldconfig 34 + 35 +%postun -n %{libname} 36 +/sbin/ldconfig 37 + 38 %files 39 %defattr(-,root,root) 40 %doc AUTHORS README NEWS ChangeLog TODO 41
42 %doc %{_mandir}/man1/enca.1* 43 %doc %{_mandir}/man1/enconv.1* 44 45 -%files -n libenca 46 +%files -n %{libname} 47 %defattr(-,root,root) 48 %doc AUTHORS ChangeLog* COPYING FAQ NEWS README* THANKS TODO 49 %dir %{_libexecdir}/enca 50 |