-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
856 additions
and
630 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/* 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, depending whether the compiler DLL_EXPORT declarations. */ | ||
/* #undef HAVE_DLL_EXPORT */ | ||
|
||
/* 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.4" | ||
|
||
/* 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.4" | ||
|
||
/* 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.4" | ||
|
||
/* 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 */ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.4 | ||
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 | ||
* Fri Feb 14 2014 JoungKyun.Kim <http://oops.org> 1:1.0.4-1 | ||
- packaged 1.0.4 |
Oops, something went wrong.