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 7)
Currently displaying revision
7
,
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 #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) %{prefix}/bin/idnconv %{prefix}/bin/runidn %{prefix}/lib/libidnkit.so.* %{prefix}/lib/libidnkitlite.so.* %{prefix}/lib/libidnkitres.so.* %{prefix}/share/idnkit/* %config %{sysconfdir}/idn.conf %config %{sysconfdir}/idnalias.conf %attr(0644, root, root) %config(noreplace) %attr(0644, root, man) %{prefix}/man/man1/* %attr(0644, root, man) %{prefix}/man/man3/* %attr(0644, root, man) %{prefix}/man/man5/* %doc rpm_docs/* %files devel %defattr(-, root, root) %{prefix}/lib/libidnkit.a %{prefix}/lib/libidnkit.la %{prefix}/lib/libidnkit.so %{prefix}/lib/libidnkitlite.a %{prefix}/lib/libidnkitlite.la %{prefix}/lib/libidnkitlite.so %{prefix}/lib/libidnkitres.a %{prefix}/lib/libidnkitres.la %{prefix}/lib/libidnkitres.so %{prefix}/include/idn/* %changelog