Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
Name: enca |
3 |
Name: enca |
4 |
Version: 1.9 |
4 |
Version: 1.9 |
5 |
Release: alt2.0 |
5 |
Release: alt3 |
6 |
|
6 |
|
7 |
Summary: A program that guesses encoding of text files |
7 |
Summary: A program that guesses encoding of text files |
8 |
License: GPL |
8 |
License: GPL |
Lines 14-21
Source: http://trific.ath.cx/Ftp/enca/en
Link Here
|
14 |
PreReq: sed, lib%name = %version-%release |
14 |
PreReq: sed, lib%name = %version-%release |
15 |
BuildPreReq: bzip2-devel |
15 |
BuildPreReq: bzip2-devel |
16 |
|
16 |
|
17 |
# Automatically added by buildreq on Fri Apr 22 2005 |
17 |
# Optional requires for external convertors: |
18 |
BuildRequires: gcc-c++ libstdc++-devel perl-Encode perl-Unicode-Map recode xorg-x11-locales |
18 |
# recode recode-devel |
|
|
19 |
# perl-Encode perl-Unicode-Map perl-Unicode-Map8 |
20 |
%add_findreq_skiplist %_libexecdir/%name/ |
21 |
|
22 |
# Automatically added by buildreq on Sat Jan 12 2008 |
23 |
BuildRequires: gcc-c++ gtk-doc |
19 |
|
24 |
|
20 |
Summary(ru_RU.KOI8-R): ðÒÏÇÒÁÍÍÁ, "ÕÇÁÄÙ×ÁÀÝÁÑ" ËÏÄÉÒÏ×ËÕ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× |
25 |
Summary(ru_RU.KOI8-R): ðÒÏÇÒÁÍÍÁ, "ÕÇÁÄÙ×ÁÀÝÁÑ" ËÏÄÉÒÏ×ËÕ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× |
21 |
Summary(uk_UA.KOI8-U): ðÒÏÇÒÁÍÁ, ÝÏ "×ÇÁÄÕ¤" ËÏÄÕ×ÁÎÎÑ ÔÅËÓÔÏ×ÉÈ ÆÁÊÌ¦× |
26 |
Summary(uk_UA.KOI8-U): ðÒÏÇÒÁÍÁ, ÝÏ "×ÇÁÄÕ¤" ËÏÄÕ×ÁÎÎÑ ÔÅËÓÔÏ×ÉÈ ÆÁÊÌ¦× |
Lines 89-118
programs using the Extremely Naive Chars
Link Here
|
89 |
|
94 |
|
90 |
%build |
95 |
%build |
91 |
unset CC CXX |
96 |
unset CC CXX |
92 |
%configure |
97 |
%configure %{subst_enable static} --without-librecode |
93 |
# SMP-incompatible build.??? |
|
|
94 |
%make_build |
98 |
%make_build |
95 |
|
99 |
|
96 |
%install |
100 |
%install |
97 |
%makeinstall HTML_DIR=%buildroot%_docdir/%name-%version/html |
101 |
%makeinstall HTML_DIR=%buildroot%_docdir/%name-%version/html |
98 |
|
102 |
|
99 |
%if_disabled static |
|
|
100 |
%__rm -f %buildroot%_libdir/*.a |
101 |
%endif |
102 |
|
103 |
%files |
103 |
%files |
104 |
%_bindir/* |
104 |
%_bindir/enca |
|
|
105 |
%_bindir/enconv |
106 |
%_libexecdir/%name/ |
105 |
%doc %_man1dir/* |
107 |
%doc %_man1dir/* |
106 |
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib NEWS README THANKS TODO |
108 |
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib NEWS README THANKS TODO |
107 |
|
109 |
|
108 |
%files -n lib%name |
110 |
%files -n lib%name |
109 |
%_libdir/*.so.* |
111 |
%_libdir/libenca.so.* |
110 |
|
112 |
|
111 |
%files -n lib%name-devel |
113 |
%files -n lib%name-devel |
112 |
%_includedir/* |
114 |
%_includedir/enca.h |
113 |
%_libdir/*.so |
115 |
%_libdir/libenca.so |
114 |
%_libexecdir/%name/ |
116 |
%_pkgconfigdir/enca.pc |
115 |
%_libdir/pkgconfig/enca.pc |
|
|
116 |
%doc README.devel INSTALL devel-docs/html |
117 |
%doc README.devel INSTALL devel-docs/html |
117 |
|
118 |
|
118 |
%if_enabled static |
119 |
%if_enabled static |
Lines 124-129
unset CC CXX
Link Here
|
124 |
%postun -n lib%name -p %postun_ldconfig |
125 |
%postun -n lib%name -p %postun_ldconfig |
125 |
|
126 |
|
126 |
%changelog |
127 |
%changelog |
|
|
128 |
* Sat Jan 12 2008 Vitaly Lipatov <lav@altlinux.ru> 1.9-alt3 |
129 |
- cleanup spec, update buildreq |
130 |
- move libdir/%name to main package |
131 |
- disable requires from external convertors |
132 |
- strict entries in files sections |
133 |
- really disabled build with librecode |
134 |
|
127 |
* Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 1.9-alt2.0 |
135 |
* Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 1.9-alt2.0 |
128 |
- Automated rebuild. |
136 |
- Automated rebuild. |
129 |
|
137 |
|