Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
enca
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
enca.spec
@@ -5,7 +5,9 @@ # no shared library policy on 10.3 as the library package # contains a plugin directory that would conflict with other # soname versions - +%define lib libenca +%define soname 0 +%define libname %{lib}%{soname} Name: enca Version: 1.9 Release: 3 @@ -24,12 +26,13 @@ encoding of text files and can also convert them to other encodings. The charset detecing functionality is also available as a library. -%package -n libenca +%package -n %{libname} Summary: Charset and Encoding Analyzer/Converter Library Group: Development/Libraries/C and C++ +Provides: %{lib} Requires: recode perl -%description -n libenca +%description -n %{libname} Enca is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings. @@ -62,6 +65,12 @@ %clean %__rm -rf "%{buildroot}" +%post -n %{libname} +/sbin/ldconfig + +%postun -n %{libname} +/sbin/ldconfig + %files %defattr(-,root,root) %doc AUTHORS README NEWS ChangeLog TODO @@ -70,7 +79,7 @@ %doc %{_mandir}/man1/enca.1* %doc %{_mandir}/man1/enconv.1* -%files -n libenca +%files -n %{libname} %defattr(-,root,root) %doc AUTHORS ChangeLog* COPYING FAQ NEWS README* THANKS TODO %dir %{_libexecdir}/enca