Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
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
Name: idnkit Version: 2.0 Release: 1 License: GPL Group: System Environment Source: %{name}-%{version}.tar.bz2 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=/etc make %install rm -fr $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # 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 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/idnconv2 /usr/bin/idncheck /usr/bin/idncmp /usr/bin/idnslookup2 /usr/lib/libidnkitlite.so.* /usr/lib/libidnkit.so* /usr/share/idnkit/* %config /etc/idn2.conf %config /etc/idn2.conf.sample %config /etc/idnalias.conf %config /etc/idnalias.conf.sample %attr(0644, root, root) %config(noreplace) %attr(0644, root, man) /usr/share/man/man1/* %attr(0644, root, man) /usr/share/man/man3/* %attr(0644, root, man) /usr/share/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/include/idn/* %changelog