2 %define sysconfdir
/etc
5 # official/beta release:
7 #define distrel %{version}
11 %define distrel
%{version}-%{release}
13 %define serial
2002051501
16 %define distsrc
%{name}-%{distrel}-src
21 Copyright: distributable
22 Group: System Environment
23 Source: %{distsrc}.tar.gz
24 BuildRoot: /var
/tmp
/%{name}-root
26 Summary: Internationalized Domain
Name kit
(idnkit
/JPNIC
)
28 Packager: Japan Network Information Center
31 idnkit is a kit
for handling Internationalized Domain
Name.
34 Group: Development
/Libraries
35 Summary: The development files
for idnkit
38 The header files and libraries
(libidnkit.a and libidnkitlite.a
)
39 to develop applications that use the libraries.
45 if [ -f
/usr
/lib
/libiconv.a
-o
-f
/usr
/lib
/libiconv.so
]
47 if [ -f
/lib
/libc
-2.0* ]
49 ICONV
="
--with
-iconv
=yes"
53 CFLAGS
="$RPM_OPT_FLAGS" .
/configure \
54 --prefix
=%{prefix} --sysconfdir=%{sysconfdir} \
60 rm -fr $RPM_BUILD_ROOT
61 make DESTDIR
=$RPM_BUILD_ROOT
install
62 mv $RPM_BUILD_ROOT
/etc
/idn.conf.sample $RPM_BUILD_ROOT
/etc
/idn.conf
63 mv $RPM_BUILD_ROOT
/etc
/idnalias.conf.sample $RPM_BUILD_ROOT
/etc
/idnalias.conf
66 #install -c lib/libidnkit.a $RPM_BUILD_ROOT/usr/lib
67 #cp -r include/idn $RPM_BUILD_ROOT/usr/include
71 (cp NEWS INSTALL INSTALL.ja DISTFILES README.ja README LICENSE.txt \
76 rm -fr $RPM_BUILD_ROOT
79 %defattr(-, root
, root
)
82 %{prefix}/lib
/libidnkit.so.
*
83 %{prefix}/lib
/libidnkitlite.so.
*
84 %{prefix}/lib
/libidnkitres.so.
*
85 %{prefix}/share
/idnkit
/*
86 %config %{sysconfdir}/idn.conf
87 %config %{sysconfdir}/idnalias.conf
88 %attr(0644, root
, root
) %config(noreplace
)
89 %attr(0644, root
, man
) %{prefix}/man
/man1
/*
90 %attr(0644, root
, man
) %{prefix}/man
/man3
/*
91 %attr(0644, root
, man
) %{prefix}/man
/man5
/*
95 %defattr(-, root
, root
)
96 %{prefix}/lib
/libidnkit.a
97 %{prefix}/lib
/libidnkit.la
98 %{prefix}/lib
/libidnkit.so
99 %{prefix}/lib
/libidnkitlite.a
100 %{prefix}/lib
/libidnkitlite.la
101 %{prefix}/lib
/libidnkitlite.so
102 %{prefix}/lib
/libidnkitres.a
103 %{prefix}/lib
/libidnkitres.la
104 %{prefix}/lib
/libidnkitres.so
105 %{prefix}/include
/idn
/*
108 * Web May
15 2002 Motoyuki Kasahara
<m
-kasahr@sra.co.jp
>
109 - 1.0beta2
, experimental.
111 * Mon May
28 2001 MANABE Takashi
<manabe@dsl.gr.jp
>
112 - include runmdn
, libmdnresolv
114 * Mon Apr
4 2001 Motoyuki Kasahara
<m
-kasahr@sra.co.jp
>
117 * Mon Apr
4 2001 Motoyuki Kasahara
<m
-kasahr@sra.co.jp
>
120 * Mon Apr
2 2001 MANABE Takashi
<manabe@dsl.gr.jp
>
123 * Fri Mar
3 2001 MANABE Takashi
<manabe@dsl.gr.jp
>
126 * Mon Dec
6 2000 MANABE Takashi
<manabe@dsl.gr.jp
>
127 - add brace
/lace functions to libmdnresolv
(mdnkit
-1.2-runmdn.patch
)
128 - include
/var
/dnsproxy
129 - change files section
for compressed man pages
131 * Mon Nov
27 2000 Makoto Ishisone
<ishisone@sra.co.jp
>
134 * Thu Nov
2 2000 MANABE Takashi
<manabe@dsl.gr.jp
>
137 * Fri Oct
27 2000 MANABE Takashi
<manabe@dsl.gr.jp
>
139 - move libmdnresolv.
{la
,so
} from mdnkit
-devel to mdnkit package
141 * Wed Oct
18 2000 MANABE Takashi
<manabe@dsl.gr.jp
>