Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
man-pages-ja
man-pages-ja.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File man-pages-ja.spec of Package man-pages-ja
# # spec file for package man-pages-ja (Version 20070615) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: man-pages-ja #!BuildIgnore: man-pages-ja BuildRequires: cdparanoia deb License: The following Japanese text says: Group: Documentation/Man Autoreqprov: off %if 0%{suse_version} > 1000 Provides: locale(man:ja) %endif %if 0%{suse_version} > 1020 BuildRequires: fdupes %endif Version: 20070615 Release: 1 Summary: LDP man Pages (Japanese) # Summary(ja): Linux 日本語マン・ページ BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: ldpmanja URL: http://www.linux.or.jp/JM/ # original source is gzipped Source: http://www.linux.or.jp/JM/man-pages-ja-%{version}.tar.bz2 BuildArchitectures: noarch # %description -l ja # このパッケージは linux のための日本語のマン・ページを提供するものです。 # 現在はまだ alpha 配布なので、不十分な点が多々ありますがご了承ください。 # # Authors: # -------- # JM Project <JM@linux.or.jp> %description These are the Japanese man pages of the Linux Documentation Project. Note that they are normally older than the English versions. For reference, you should use the English versions. Authors: -------- JM Project <JM@linux.or.jp> %prep %setup -n man-pages-ja-%{version} %build %install mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja # There are some duplicates. # Adjust the following list of subdirectories # so that the preferred versions of the man pages come # last and thus overwrite the less good versions: # especially: # prefer LDP_man-pages over bind # prefer LDP_man-pages over netkit # prefer LDP_man-pages over ld.so # prefer LDP_man-pages over shadow # prefer gnumaniak over GNU_sh-utils # prefer gnumaniak over GNU_textutils # prefer gnumaniak over GNU_sh-utils # prefer gnumaniak over GNU_fileutils # prefer man-db over man # prefer util-linux over SysVinit # prefer util-linux over shadow # prefer util-linux over procps # prefer util-linux over netkit # prefer nfs-utils over SysVinit # prefer nfs-utils over nfs-server # prefer netkit over wu-ftpd # prefer ypbind over ypbind-mt for dir in \ GNU_bash \ GNU_bc \ GNU_binutils \ GNU_cpio \ GNU_ed \ GNU_fileutils \ GNU_findutils \ GNU_gawk \ GNU_gcc \ GNU_gdb \ GNU_gdbm \ GNU_grep \ GNU_groff \ GNU_gzip \ GNU_indent \ GNU_less \ GNU_make \ GNU_patch \ GNU_rcs \ GNU_screen \ GNU_sed \ GNU_sh-utils \ GNU_sharutils \ GNU_tar \ GNU_texinfo \ GNU_textutils \ GNU_uucp \ SysVinit \ apmd \ at \ autofs \ bind \ bs \ bsd-games \ bsd-games-non-free \ byacc \ bzip2 \ cdparanoia \ cdrecord \ cron \ cvsup \ dhcp \ dhcpcd \ e2compr-ancillary \ e2fsprogs \ efax \ eject \ expect \ fdutils \ fetchmail \ file \ flex \ fort77 \ glibc-linuxthreads \ ipchains \ ipchains-scripts \ ipfwadm \ iptables \ ld.so \ lilo \ linux-man9 \ lpr-linux \ majordomo \ man \ mirrordir \ modutils \ mpg123 \ ncftp \ ncurses \ net-tools \ netatalk \ nfs-server \ pciutils \ pcmcia-cs \ ppp \ procinfo \ procps \ psmisc \ quota \ rdate \ reiserfsprogs \ rp-pppoe \ sendmail \ setserial \ shadow \ sudo \ sysklogd \ tcp_wrappers \ tcpdump \ tcsh \ ucd-snmp \ uudeview \ wu-ftpd \ xinetd \ yp-tools \ ypbind-mt \ ypserv \ LDP_man-pages \ gnumaniak \ man-db \ nfs-utils \ netkit \ util-linux \ ypbind \ zebedee do for i in `find ./manual/$dir/ -regex ".*/man./.+\.."` do SUB_DIR=`dirname $i` SUB_DIR=${SUB_DIR##*/} mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/$SUB_DIR install -m 644 $i $RPM_BUILD_ROOT%{_mandir}/ja/$SUB_DIR done done cd $RPM_BUILD_ROOT%{_mandir}/ja for i in */* ; do if [ -e %{_mandir}/ja/$i ] || [ -e %{_mandir}/ja/$i.gz ] ; then echo %{_mandir}/ja/$i already exists. Deleting it. rm -f $i fi done %if 0%{suse_version} > 1020 %fdupes -s %buildroot %endif %clean rm -rf %buildroot %files %defattr(-,root,root) %doc %{_mandir}/ja %doc ChangeLog INSTALL README %changelog * Thu Jul 05 2007 - lrupp@suse.de - update to 20070615 - cleanup after build is finished - use fdupes * Tue Feb 28 2006 - mfabian@suse.de - add "Provides: locale(man:ja)". * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jul 25 2005 - mfabian@suse.de - update to 20050715. * Sat Aug 21 2004 - mfabian@suse.de - update to 20040815. * Mon Feb 23 2004 - hmacht@suse.de - building as non-root * Thu Aug 21 2003 - mfabian@suse.de - update to 20030815. * Tue Jan 21 2003 - mfabian@suse.de - update to 20030115. * Sun Aug 18 2002 - mfabian@suse.de - update to 20020816. * Wed Mar 13 2002 - mfabian@suse.de - update to 20020215. - build manually again because the sources are only available via http:// * Sat Apr 07 2001 - mfabian@suse.de - add deb and cdparanoia to "# neededforbuild" * Fri Mar 23 2001 - mfabian@suse.de - remove "nearlyall" from "# neededforbuild" it causes too much problems and in consequence this packages rarely ever builds. The reason for the "nearlyall" in "# neededforbuild" is only to check a SuSE system with everything installed for Japanese man-pages and remove duplicates. But currently only very few Japanese man-pages outside of man-pages-ja exist, so this sort of overkill. It should be enough to include all these other packages containing Japanese man-pages into the "# neededforbuild". * Mon Nov 27 2000 - mfabian@suse.de - renamed to man-pages-ja * Fri Sep 08 2000 - mfabian@suse.de - updated to new version man-pages-ja-20000815.tar.gz. The new tar-ball contains a different directory structure, therefore the old script didn't work anymore. On top of that the new tar-ball contains duplicate man-pages, therefore I added some 'rm -f' to the specfile to remove the duplicates and keep only the 'best' version. - used %%{_mandir} instead of /usr/share/man * Fri Aug 11 2000 - mfabian@suse.de - new package ldpmanja, spec file based on ldpmande
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor