Import new package specs for introduction into repository.

Fri, 11 Mar 2011 21:39:41 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:39:41 +0100
changeset 2
e3665a058d13
parent 1
4667f24fe848
child 3
d4b4127cd2bb

Import new package specs for introduction into repository.

cu/cu.spec file | annotate | diff | comparison | revisions
ftp/ftp.spec file | annotate | diff | comparison | revisions
telnet/telnet.spec file | annotate | diff | comparison | revisions
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cu/cu.spec	Fri Mar 11 21:39:41 2011 +0100
     1.3 @@ -0,0 +1,54 @@
     1.4 +Summary:   The UUCP cu command calls up another system
     1.5 +Vendor:    Europalab Software
     1.6 +Name:      cu
     1.7 +Version:   1.07
     1.8 +Release:   20101201
     1.9 +License:   GPLv2+
    1.10 +Group:     Applications/Communications
    1.11 +URL:       http://www.gnu.org/software/uucp/
    1.12 +Source0:   ftp://ftp.gnu.org/pub/gnu/uucp/uucp-%{version}.tar.gz
    1.13 +Patch0:    http://archive.ubuntu.com/ubuntu/pool/main/u/uucp/uucp_1.07-20build1.diff.gz
    1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
    1.15 +
    1.16 +%description
    1.17 +The uucp command copies files between systems. Uucp is primarily used
    1.18 +by remote machines downloading and uploading email and news files to
    1.19 +local machines.
    1.20 +
    1.21 +%prep
    1.22 +%setup -q -n uucp-%{version}
    1.23 +%patch0 -p1
    1.24 +
    1.25 +%build
    1.26 +    %configure \
    1.27 +        --with-newconfigdir=%{_sysconfdir}/uucp \
    1.28 +        --with-oldconfigdir=%{_oldconfigdir}/uucp
    1.29 +    make %{?_smp_mflags} -C unix libunix.a
    1.30 +    make %{?_smp_mflags} -C uuconf libuuconf.a
    1.31 +    make %{?_smp_mflags} -C lib libuucp.a
    1.32 +    make %{?_smp_mflags} cu
    1.33 +
    1.34 +%install
    1.35 +    rm -rf ${RPM_BUILD_ROOT}
    1.36 +    mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
    1.37 +    mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
    1.38 +    mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp
    1.39 +    install -m 755 cu ${RPM_BUILD_ROOT}%{_bindir}
    1.40 +    install -m 644 cu.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
    1.41 +    install -m 644 sample/config ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp/
    1.42 +    install -m 644 sample/sys1 ${RPM_BUILD_ROOT}%{_sysconfdir}/uucp/sys
    1.43 +    strip $RPM_BUILD_ROOT%{_bindir}/* 2>/dev/null || true
    1.44 +
    1.45 +%clean
    1.46 +    rm -rf ${RPM_BUILD_ROOT}
    1.47 +
    1.48 +%files
    1.49 +    %defattr(-,root,root,-)
    1.50 +    %config(noreplace) %{_sysconfdir}/uucp/*
    1.51 +    %{_bindir}/*
    1.52 +    %{_mandir}/man1/*
    1.53 +    %{_sysconfdir}/uucp/*
    1.54 +
    1.55 +%changelog
    1.56 +* Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.07-20101201
    1.57 +- Port the UUCP command to MeeGo 1.1
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ftp/ftp.spec	Fri Mar 11 21:39:41 2011 +0100
     2.3 @@ -0,0 +1,73 @@
     2.4 +#   package information
     2.5 +Name:          ftp
     2.6 +Summary:       GNU ftp
     2.7 +URL:           http://www.gnu.org/software/inetutils/
     2.8 +Vendor:        Europalab Software
     2.9 +Packager:      Michael Schloh von Bennewitz
    2.10 +Distribution:  MeeGo Thirdparty
    2.11 +Group:         Network
    2.12 +License:       GPL
    2.13 +Version:       1.8
    2.14 +Release:       20101201
    2.15 +
    2.16 +#   list of sources
    2.17 +Source0:       ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
    2.18 +
    2.19 +#   build information
    2.20 +BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
    2.21 +BuildRequires: make
    2.22 +#Requires(pre): ncurses
    2.23 +
    2.24 +%description
    2.25 +    The classic ftp command is used for interactive communication
    2.26 +    with another host using the ftp protocol. This particular
    2.27 +    implementation is distributed in the GNU Internet Utilities.
    2.28 +
    2.29 +%prep
    2.30 +%setup -q -n inetutils-%{version}
    2.31 +
    2.32 +%build
    2.33 +    CFLAGS="$RPM_OPT_FLAGS" \
    2.34 +    ./configure \
    2.35 +        --prefix=%{_prefix} \
    2.36 +        --mandir=%{_mandir} \
    2.37 +        --infodir=%{_infodir} \
    2.38 +        --disable-servers \
    2.39 +        --disable-telnet \
    2.40 +        --disable-hostname \
    2.41 +        --disable-ping \
    2.42 +        --disable-ping6 \
    2.43 +        --disable-rcp \
    2.44 +        --disable-rexec \
    2.45 +        --disable-rlogin \
    2.46 +        --disable-rsh \
    2.47 +        --disable-logger \
    2.48 +        --disable-talk \
    2.49 +        --disable-tftp \
    2.50 +        --disable-whois \
    2.51 +        --disable-ifconfig \
    2.52 +        --disable-traceroute \
    2.53 +        --disable-libls \
    2.54 +        --disable-encryption \
    2.55 +        --disable-authentication \
    2.56 +        --without-krb4 \
    2.57 +        --without-krb5 \
    2.58 +        --without-wrap \
    2.59 +        --without-pam
    2.60 +
    2.61 +    make %{?_smp_mflags}
    2.62 +
    2.63 +%install
    2.64 +    rm -rf $RPM_BUILD_ROOT
    2.65 +    make install DESTDIR=$RPM_BUILD_ROOT
    2.66 +    rm -rf $RPM_BUILD_ROOT%{_infodir}
    2.67 +    strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true
    2.68 +
    2.69 +%clean
    2.70 +    rm -rf $RPM_BUILD_ROOT
    2.71 +
    2.72 +%files
    2.73 +%defattr(-,root,root,-)
    2.74 +%{_bindir}/*
    2.75 +%{_mandir}/man1/*
    2.76 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/telnet/telnet.spec	Fri Mar 11 21:39:41 2011 +0100
     3.3 @@ -0,0 +1,73 @@
     3.4 +#   package information
     3.5 +Name:          telnet
     3.6 +Summary:       GNU telnet
     3.7 +URL:           http://www.gnu.org/software/inetutils/
     3.8 +Vendor:        Europalab Software
     3.9 +Packager:      Michael Schloh von Bennewitz
    3.10 +Distribution:  MeeGo Thirdparty
    3.11 +Group:         Network
    3.12 +License:       GPL
    3.13 +Version:       1.8
    3.14 +Release:       20101201
    3.15 +
    3.16 +#   list of sources
    3.17 +Source0:       ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
    3.18 +
    3.19 +#   build information
    3.20 +BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
    3.21 +BuildRequires: make
    3.22 +#Requires(pre): ncurses
    3.23 +
    3.24 +%description
    3.25 +    The classic telnet command is used for interactive communication
    3.26 +    with another host using the telnet protocol. This particular
    3.27 +    implementation is distributed in the GNU Internet Utilities.
    3.28 +
    3.29 +%prep
    3.30 +%setup -q -n inetutils-%{version}
    3.31 +
    3.32 +%build
    3.33 +    CFLAGS="$RPM_OPT_FLAGS" \
    3.34 +    ./configure \
    3.35 +        --prefix=%{_prefix} \
    3.36 +        --mandir=%{_mandir} \
    3.37 +        --infodir=%{_infodir} \
    3.38 +        --disable-servers \
    3.39 +        --disable-ftp \
    3.40 +        --disable-hostname \
    3.41 +        --disable-ping \
    3.42 +        --disable-ping6 \
    3.43 +        --disable-rcp \
    3.44 +        --disable-rexec \
    3.45 +        --disable-rlogin \
    3.46 +        --disable-rsh \
    3.47 +        --disable-logger \
    3.48 +        --disable-talk \
    3.49 +        --disable-tftp \
    3.50 +        --disable-whois \
    3.51 +        --disable-ifconfig \
    3.52 +        --disable-traceroute \
    3.53 +        --disable-libls \
    3.54 +        --disable-encryption \
    3.55 +        --disable-authentication \
    3.56 +        --without-krb4 \
    3.57 +        --without-krb5 \
    3.58 +        --without-wrap \
    3.59 +        --without-pam
    3.60 +
    3.61 +    make %{?_smp_mflags}
    3.62 +
    3.63 +%install
    3.64 +    rm -rf $RPM_BUILD_ROOT
    3.65 +    make install DESTDIR=$RPM_BUILD_ROOT
    3.66 +    strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true
    3.67 +    rm -rf $RPM_BUILD_ROOT%{_infodir}
    3.68 +
    3.69 +%clean
    3.70 +    rm -rf $RPM_BUILD_ROOT
    3.71 +
    3.72 +%files
    3.73 +%defattr(-,root,root,-)
    3.74 +%{_bindir}/*
    3.75 +%{_mandir}/man1/*
    3.76 +

mercurial