rpms/enca/devel enca.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dmitry Butskoy (buc) fedora-extras-commits at redhat.com
Fri Sep 16 11:21:04 UTC 2005


Author: buc

Update of /cvs/extras/rpms/enca/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29951/devel

Modified Files:
	.cvsignore sources 
Added Files:
	enca.spec 
Log Message:
auto-import enca-1.7-4 on branch devel from enca-1.7-4.src.rpm


--- NEW FILE enca.spec ---
Name: enca
Summary: Character set analyzer and detector
Version: 1.7
Release: 4%{?dist}
License: GPL
Group: Applications/Text
Source: http://trific.ath.cx/Ftp/enca/enca-1.7.tar.bz2
URL: http://trific.ath.cx/software/enca/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
Enca is an Extremely Naive Charset Analyser. It detects character set and
encoding of text files and can also convert them to other encodings using
either a built-in converter or external libraries and tools like libiconv,
librecode, or cstocs.

Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, and
Ukrainian and some multibyte encodings (mostly variants of Unicode)
independently on the language.

This package also contains shared Enca library other programs can make use of.

Install %{name} if you need to cope with text files of dubious origin
and unknown encoding and convert them to some reasonable encoding.


%package devel
Summary: Header files and libraries for %{name} charset analyzer
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
The %{name}-devel package contains the static libraries and header files
for writing programs using the Extremely Naive Charset Analyser library,
and its API documentation.

Install %{name}-devel if you are going to create applications using the Enca
library.


%prep
%setup -q


%build

%configure \
	--disable-dependency-tracking \
	--without-librecode \
	--disable-external \
	%{!?_with_static:--disable-static} \
	--disable-gtk-doc
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT HTML_DIR=/tmp/html

rm -rf $RPM_BUILD_ROOT/tmp/html
rm -rf $RPM_BUILD_ROOT/%{_libexecdir}
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/libenca.so.*
%{_mandir}/*/*
%doc AUTHORS COPYING FAQ NEWS README THANKS TODO

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{?_with_static: %{_libdir}/*.a}
%{_libdir}/*.so
%doc devel-docs/html/*.html README.devel


%changelog
* Fri Sep 16 2005 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.7-4
- clenup in docs
- Accepted for Fedora Extra (review by Ville Skytta <ville.skytta at iki.fi>)

* Thu Sep  9 2005 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.7-3
- build static libs conditionally
- disable external converters (#167820)

* Thu Sep  8 2005 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.7-2
- more cleanups (#167820)

* Thu Sep  8 2005 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.7-1
- spec cleanups for Fedora Extra
- avoid build with librecode, use just glibc's iconv 
- avoid any gtk dependencies, html docs are already present in the source

* Mon May 17 2004 David Necas (Yeti) <yeti at physics.muni.cz>
- doubled percents in changelog

* Mon Dec 22 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- moved wrappers to libexec

* Thu Nov  6 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- added b-piconv
- fixed HTML doc install paths

* Tue Oct 14 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- testing whether $RPM_BUILD_ROOT is not /
- updated for new HTML doc location
- changed make -> %%__make, rm -> %%__rm

* Sat Aug  2 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- cleaning $RPM_BUILD_ROOT in %%install

* Sat Jun 28 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- removed --disable-gtk-doc, no longer needed

* Fri Jun 20 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- added enca.pc to devel package

* Sat Jun 14 2003 David Necas (Yeti) <yeti at physics.muni.cz>
- updated description
- added --disable-gtk-doc

* Mon Dec 23 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- added libenca.so

* Fri Dec 20 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- fixed URL and Source to trific.ath.cx

* Mon Oct 21 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- added FAQ to docs

* Thu Oct 10 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- removed twice-listed %%{docdir}/html

* Sat Sep 21 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- added b-umap

* Sun Sep 15 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- added enconv

* Thu Aug 29 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- removed bzip2-devel buildprereq

* Sat Aug 24 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- added postinstall and postuninstall scriptlets

* Wed Aug 21 2002 David Necas (Yeti) <yeti at physics.muni.cz>
- updated to enca-0.10.0-pre2
- added libenca
- split into enca and enca-devel
- removed cache
- fixed HTML_DIR

* Tue Jul 10 2001 David Necas (Yeti) <yeti at physics.muni.cz>
- changed rpm macros in Source and URL to autoconf macros to ease debian/
  stuff generation

* Sun May 20 2001 David Necas (Yeti) <yeti at physics.muni.cz>
- added BuildPrereq: bzip2-devel

* Wed May  2 2001 David Necas (Yeti) <yeti at physics.muni.cz>
- changed group to standard (but much less appropriate) Applications/Text
- rpm macros are used instead of autoconf macros (after the first definition)

* Sun Mar 11 2001 David Necas (Yeti) <yeti at physics.muni.cz>
- added defattr, doc attributes
- uses global configure cache
- heavy use of predefined directories
- configure moved to build section as is usual

* Sun Feb 25 2001 David Necas (Yeti) <yeti at physics.muni.cz>
- updated to enca-0.9.0pre4 (including files and descriptions)
- added sed dependency

* Sun Oct 25 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- updated to enca-0.7.5

* Sun Oct 11 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- removed redundant Provides: enca

* Sun Oct  1 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- updated to enca-0.7.1
- man page forced to be intstalled to ${prefix}/share/man

* Tue Sep 26 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- updated to enca-0.7.0
- spec autogenerated by configure

* Tue Sep 19 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- fixed not installing bcstocs

* Wed Sep 13 2000 David Necas (Yeti) <yeti at physics.muni.cz>
- first packaged (0.6.2)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/enca/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Sep 2005 11:20:13 -0000	1.1
+++ .cvsignore	16 Sep 2005 11:21:02 -0000	1.2
@@ -0,0 +1 @@
+enca-1.7.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/enca/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Sep 2005 11:20:13 -0000	1.1
+++ sources	16 Sep 2005 11:21:02 -0000	1.2
@@ -0,0 +1 @@
+01dd5dbd4154c85cbf4a42d3580c517f  enca-1.7.tar.bz2




More information about the fedora-extras-commits mailing list