aboutsummaryrefslogtreecommitdiff
path: root/packages/Linux/RPM
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-11-30 16:01:32 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-05 15:29:24 +0100
commitbae0d473f5912d38fc8da1f9850a70b015b53c9e (patch)
tree4fdaa556c833c4c6864cae2a04e3d7dbe28e3750 /packages/Linux/RPM
parent08efa19e6aaf0e8bf8ece5a35f369c0cb346ace9 (diff)
packages: remove old leftover files and dirs
This subdir has mostly become an attic of never-used cruft from the past. Closes #3331
Diffstat (limited to 'packages/Linux/RPM')
-rw-r--r--packages/Linux/RPM/.gitignore2
-rw-r--r--packages/Linux/RPM/Makefile.am1
-rw-r--r--packages/Linux/RPM/README4
-rw-r--r--packages/Linux/RPM/curl-ssl.spec.in85
-rw-r--r--packages/Linux/RPM/curl.spec.in83
-rw-r--r--packages/Linux/RPM/make_curl_rpm62
6 files changed, 0 insertions, 237 deletions
diff --git a/packages/Linux/RPM/.gitignore b/packages/Linux/RPM/.gitignore
deleted file mode 100644
index 0b359fe7c..000000000
--- a/packages/Linux/RPM/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-curl-ssl.spec
-curl.spec
diff --git a/packages/Linux/RPM/Makefile.am b/packages/Linux/RPM/Makefile.am
deleted file mode 100644
index 89f43d5e8..000000000
--- a/packages/Linux/RPM/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = README curl-ssl.spec.in curl.spec.in make_curl_rpm
diff --git a/packages/Linux/RPM/README b/packages/Linux/RPM/README
deleted file mode 100644
index a6936ba56..000000000
--- a/packages/Linux/RPM/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Author: Daniel (I'm not trustworthy, replace this!)
-
-Paul Marquis's 'make_curl_rpm' script is a fine example on how to automate the
-jobs. You need to fill in your own name and email at least.
diff --git a/packages/Linux/RPM/curl-ssl.spec.in b/packages/Linux/RPM/curl-ssl.spec.in
deleted file mode 100644
index 5b45bb1a2..000000000
--- a/packages/Linux/RPM/curl-ssl.spec.in
+++ /dev/null
@@ -1,85 +0,0 @@
-%define name curl-ssl
-%define tarball curl
-%define version 7.11.0
-%define release 1
-
-%define curlroot %{_builddir}/%{tarball}-%{version}
-
-Summary: get a file from an FTP or HTTP server.
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Copyright: MIT/X derivate
-Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
-Packager: Troy Engel <tengel@sonic.net>
-Group: Utilities/Console
-Source: %{tarball}-%{version}.tar.gz
-URL: https://curl.haxx.se/
-Provides: curl
-Obsoletes: curl
-BuildRoot: %{_tmppath}/%{tarball}-%{version}-root
-Requires: openssl >= 0.9.5
-
-%description
-curl is a client to get documents/files from servers, using any of the
-supported protocols. The command is designed to work without user
-interaction or any kind of interactivity.
-
-curl offers a busload of useful tricks like proxy support, user
-authentication, ftp upload, HTTP post, file transfer resume and more.
-
-%package devel
-Summary: The includes, libs, and man pages to develop with libcurl
-Group: Development/Libraries
-Requires: openssl-devel >= 0.9.5
-Provides: curl-devel
-
-%description devel
-libcurl is the core engine of curl; this packages contains all the libs,
-headers, and manual pages to develop applications using libcurl.
-
-%prep
-
-%setup -q -n %{tarball}-%{version}
-
-%build
-cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
-%configure
-cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
-make
-
-%install
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install-strip
-
-%clean
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
-[ "%{curlroot}" != "/" ] && rm -rf %{curlroot}
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%files
-%defattr(-,root,root)
-%attr(0755,root,root) %{_bindir}/curl
-%attr(0644,root,root) %{_mandir}/man1/curl.1*
-%attr(0644,root,root) %{_mandir}/man1/mk-ca-bundle.1
-%{_libdir}/libcurl.so*
-%{_datadir}/curl/curl-ca-bundle.crt
-%doc CHANGES COPYING README testcurl.sh docs/BUGS docs/SSLCERTS
-%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY docs/INSTALL
-%doc docs/KNOWN_BUGS docs/MANUAL docs/RESOURCES docs/THANKS
-%doc docs/TODO docs/VERSIONS docs/TheArtOfHttpScripting tests
-
-%files devel
-%defattr(-,root,root)
-%attr(0755,root,root) %{_bindir}/curl-config
-%attr(0644,root,root) %{_mandir}/man1/curl-config.1*
-%attr(0644,root,root) %{_mandir}/man3/*
-%attr(0644,root,root) %{_includedir}/curl/*
-%{_libdir}/libcurl.a
-%{_libdir}/libcurl.la
-%doc docs/BINDINGS docs/INTERNALS docs/examples/* docs/libcurl-the-guide
diff --git a/packages/Linux/RPM/curl.spec.in b/packages/Linux/RPM/curl.spec.in
deleted file mode 100644
index 7d0b91800..000000000
--- a/packages/Linux/RPM/curl.spec.in
+++ /dev/null
@@ -1,83 +0,0 @@
-%define name curl
-%define version @VERSION@
-%define release 1
-%define prefix /usr
-
-%define builddir $RPM_BUILD_DIR/%{name}-%{version}
-
-Summary: get a file from an FTP or HTTP server.
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Copyright: MPL
-Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
-Packager: Loic Dachary <loic@senga.org>
-Group: Utilities/Console
-Source: %{name}-%{version}.tar.gz
-URL: https://curl.haxx.se/
-BuildRoot: /tmp/%{name}-%{version}-root
-
-%description
-curl is a client to get documents/files from servers, using any of the
-supported protocols. The command is designed to work without user
-interaction or any kind of interactivity.
-
-curl offers a busload of useful tricks like proxy support, user
-authentication, ftp upload, HTTP post, file transfer resume and more.
-
-Note: this version is compiled without SSL (https:) support.
-
-%package devel
-Summary: The includes, libs, and man pages to develop with libcurl
-Group: Development/Libraries
-
-%description devel
-libcurl is the core engine of curl; this packages contains all the libs,
-headers, and manual pages to develop applications using libcurl.
-
-%prep
-rm -rf %{builddir}
-
-%setup
-
-%build
-%configure --without-ssl --prefix=%{prefix}
-make
-
-%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install-strip
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-rm -rf %{builddir}
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%files
-%defattr(-,root,root)
-%attr(0755,root,root) %{_bindir}/curl
-%attr(0644,root,root) %{_mandir}/man1/*
-%{prefix}/lib/libcurl.so*
-%doc CHANGES LEGAL MITX.txt MPL-1.1.txt README docs/BUGS
-%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/INSTALL docs/INTERNALS
-%doc docs/LIBCURL docs/MANUAL docs/README* docs/RESOURCES docs/TODO
-%doc docs/TheArtOfHttpScripting
-
-%files devel
-%defattr(-,root,root)
-%attr(0644,root,root) %{_mandir}/man3/*
-%attr(0644,root,root) %{_includedir}/curl/*
-%{prefix}/lib/libcurl.a
-%{prefix}/lib/libcurl.la
-%doc docs/examples/*
-
-%changelog
-* Sun Jan 7 2001 Loic Dachary <loic@senga.org>
-
- - use _mandir instead of prefix to locate man pages because
- _mandir is not always prefix/man/man?.
diff --git a/packages/Linux/RPM/make_curl_rpm b/packages/Linux/RPM/make_curl_rpm
deleted file mode 100644
index 544a23b67..000000000
--- a/packages/Linux/RPM/make_curl_rpm
+++ /dev/null
@@ -1,62 +0,0 @@
-#! /bin/sh
-# script to build curl RPM from src RPM (SSL and non-SSL versions)
-
-# initialize
-top_dir=/usr/src/redhat
-sources_dir=$top_dir/SOURCES
-specs_dir=$top_dir/SPECS
-rpms_dir=$top_dir/RPMS
-arch=`rpm --showrc | awk 'NF == 3 && $2 == "_arch" { print $3 }'`
-
-# fill in your own name and email here
-packager_name="Mr Joe Packager Person"
-packager_email='<Joe@packager.person>'
-
-# make sure we're running as root
-if test `id -u` -ne `id -u root`
-then
- echo "you must build the RPM as root"
- exit 1
-fi
-
-# get version and release number
-if test $# -lt 1
-then
- echo "version number?"
- read version
-else
- version=$1
-fi
-
-if test $# -lt 2
-then
- echo "release number?"
- read release
-else
- release=$2
-fi
-
-# build all the files
-targets="curl curl-ssl"
-for target in $targets
-do
- # make sure src RPM exist
- src_rpm="$target-$version-$release.src.rpm"
- if test -f $src_rpm
- then
- rpm -ivh $src_rpm
-
- # replace packager in spec file
- sed -e 's/^Packager: .*/Packager: $packager_name $packager_email/' $specs_dir/$target.spec > $specs_dir/$target-$version-$arch.spec
-
- # build it
- if ! rpm -ba $specs_dir/$target-$version-$arch.spec
- then
- echo "error building $target for $arch -- check output above"
- fi
-
- echo "$target rpm is now in $rpms_dir/$arch"
- else
- echo $src_rpm does not exist
- fi
-done