Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
dns
>
idnkit
> idnkit.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File idnkit.spec of Package idnkit (Revision 12)
Currently displaying revision
12
,
show latest
Name: idnkit Version: 1.0 Release: 1 License: GPL Group: System Environment Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-root Summary: Internationalized Domain Name kit (idnkit/JPNIC) %description idnkit is a kit for handling Internationalized Domain Name. %package devel Group: Development/Libraries Summary: The development files for idnkit %description devel The header files and libraries (libidnkit.a and libidnkitlite.a) to develop applications that use the libraries. %prep %setup -q %build if [ -f /usr/lib/libiconv.a -o -f /usr/lib/libiconv.so ] then if [ -f /lib/libc-2.0* ] then ICONV="--with-iconv=yes" fi fi CFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=/usr --sysconfdir=%{sysconfdir} \ --enable-runidn \ $ICONV make %install rm -fr $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir $RPM_BUILD_ROOT/lib64 cp $RPM_BUILD_ROOT/usr/lib/libidnkit.so.1 $RPM_BUILD_ROOT/lib64 #mv $RPM_BUILD_ROOT/etc/idn.conf.sample $RPM_BUILD_ROOT/etc/idn.conf #mv $RPM_BUILD_ROOT/etc/idnalias.conf.sample $RPM_BUILD_ROOT/etc/idnalias.conf # devel kit #install -c lib/libidnkit.a $RPM_BUILD_ROOT/usr/lib #cp -r include/idn $RPM_BUILD_ROOT/usr/include # docs mkdir rpm_docs (cp NEWS INSTALL INSTALL.ja DISTFILES README.ja README LICENSE.txt \ ChangeLog rpm_docs) cp -r patch rpm_docs %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-, root, root) /usr/bin/idnconv /usr/bin/runidn /usr/lib/libidnkit.so.* /usr/lib/libidnkitlite.so.* /usr/lib/libidnkitres.so.* /usr/share/idnkit/* /lib64/* #%config %{sysconfdir}/idn.conf #%config %{sysconfdir}/idnalias.conf %attr(0644, root, root) %config(noreplace) %attr(0644, root, man) /usr/man/man1/* #%attr(0644, root, man) /usr/man/man3/* #%attr(0644, root, man) /usr/man/man5/* %doc rpm_docs/* %files devel %defattr(-, root, root) /usr/lib/libidnkit.a /usr/lib/libidnkit.la /usr/lib/libidnkit.so /usr/lib/libidnkitlite.a /usr/lib/libidnkitlite.la /usr/lib/libidnkitlite.so /usr/lib/libidnkitres.a /usr/lib/libidnkitres.la /usr/lib/libidnkitres.so /usr/include/idn/* %changelog