Skip to content

Commit

Permalink
tagging 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Joungkyun committed Feb 10, 2014
1 parent 74d670b commit 5e3f779
Show file tree
Hide file tree
Showing 12 changed files with 855 additions and 632 deletions.
683 changes: 683 additions & 0 deletions aclocal.m4

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions autogen

This file was deleted.

98 changes: 98 additions & 0 deletions chardet-config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/* chardet-config.h. Generated from chardet-config.h.in by configure. */
/* chardet-config.h.in. Generated from configure.ac by autoheader. */
/* $Id$ */
#ifndef CHARDEC_CONFIG_H
#define CHARDEC_CONFIG_H


/* config.h: a general config file */



/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if `stat' has the bug that it succeeds when given the
zero-length file name argument. */
/* #undef HAVE_STAT_EMPTY_STRING_BUG */

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1, depending whether the compiler supports simple visibility
declarations. */
#define HAVE_VISIBILITY 1

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1

/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"

/* Name of package */
#define PACKAGE "libchardet"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "http://oops.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "libchardet"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libchardet 1.0.3"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libchardet"

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.0.3"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Version number of package */
#define VERSION "1.0.3"

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

#endif /* CHARDEC_CONFIG_H */
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -17328,7 +17328,7 @@ $debug ||
if test -n "$CONFIG_FILES"; then


ac_cr=''
ac_cr=''
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
Expand Down
71 changes: 71 additions & 0 deletions libchardet.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
%define revisions "$Id$"
%define _unpackaged_files_terminate_build 0

Summary: Mozilla Universal Chardet library
Summary(ko): 모질라 유니버샬 캐릭터셋 디텍트 라이브러리
Name: libchardet
Version: 1.0.3
Release: 1
Epoch: 1
License: MPL
Group: System Environment/Libraries
Source0: http://mirror.oops.org/pub/oops/%{name}/%{name}-%{version}.tar.bz2
URL: http://oops.org
BuildRequires: libstdc++-devel
Requires: libstdc++

Buildroot: /var/tmp/%{name}-%{version}-root

%description
libchardet provides an interface to Mozilla's universal charset detector,
which detects the charset used to encode data.

%package devel
Summary: Header and object files for development using libchardet
Summary(ko): libchardet 를 이용하여 개발하기 위한 header 파일과 목적 파일들
Group: System Environment/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}, libstdc++-devel

%description devel
The libchardet-devel package contains the header and object files necessary
for developing programs which use the libchardet libraries.

%prep
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%setup -q

%build
%configure

%{__make} %{?_smp_mflags}

%install
%{__make} DESTDIR=%{buildroot} install

%clean
%{__rm} -rf %{buildroot}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(0755,root,root)
%{_libdir}/%{name}.so.*

%files devel
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/chardet-config
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/chardet.pc
%{_includedir}/chardet/*.h
%{_mandir}/man3/*
%{_mandir}/ko/man3/*

%changelog
* Mon Feb 10 2014 JoungKyun.Kim <http://oops.org> 1:1.0.3-1
- packaged 1.0.3
Loading

0 comments on commit 5e3f779

Please sign in to comment.