Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Cecchet
emulab-devel
Commits
526797c2
Commit
526797c2
authored
15 years ago
by
David Johnson
Browse files
Options
Downloads
Patches
Plain Diff
Fedora 8-specific spec files.
parent
9ba7da27
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install/rpms/fedora8/SPECS/otcl.spec
+87
-0
87 additions, 0 deletions
install/rpms/fedora8/SPECS/otcl.spec
install/rpms/fedora8/SPECS/perl-Apache-Htpasswd.spec
+60
-0
60 additions, 0 deletions
install/rpms/fedora8/SPECS/perl-Apache-Htpasswd.spec
with
147 additions
and
0 deletions
install/rpms/fedora8/SPECS/otcl.spec
0 → 100644
+
87
−
0
View file @
526797c2
%define name otcl
%define version 1.13
%define url http://otcl-tclcl.sourceforge.net/otcl/
%define release_num 1
%define release %{release_num}.emulab%{?date:.%{date}}
%define debug_package %{nil}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for object-oriented programming.
Group: Language
License: MIT
URL: %{url}
Source: %{name}-src-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: make, autoconf, gcc, tcl, tcl-devel, tk, tk-devel, libXt-devel
Requires: tcl, tk, libX11, glibc, libxcb, libXau, libXdmcp
Provides: otcl
patch1: otcl-x11-headers.patch
patch2: otcl-ld-whoopsie.patch
%description
OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for
object-oriented programming. It shouldn't be confused with the IXI
Object Tcl extension by Dean Sheenan. (Sorry, but we both like the
name and have been using it for a while.)
%prep
%setup -n %{name}-%{version}
#pwd
#find .
#cd %{name}-%{version}
%patch1 -p1
%patch2 -p1
#cd ..
%build
%configure --prefix=/usr
make
make libotcl.so
%install
#
# this bit of ugliness is essentially pulled from the Makefile,
# since I don't want to patch it with a DESTDIR and crap
#
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib
mkdir -p $RPM_BUILD_ROOT/usr/include
install owish $RPM_BUILD_ROOT/usr/bin
install otclsh $RPM_BUILD_ROOT/usr/bin
install libotcl.a $RPM_BUILD_ROOT/usr/lib
ranlib $RPM_BUILD_ROOT/usr/lib/libotcl.a
install libotcl.so $RPM_BUILD_ROOT/usr/lib
install -m 644 otcl.h $RPM_BUILD_ROOT/usr/include
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
/usr/bin/owish
/usr/bin/otclsh
/usr/lib/libotcl.a
/usr/lib/libotcl.so
/usr/include/otcl.h
%post
echo -n "Running ldconfig... "
/sbin/ldconfig
echo "done"
%changelog
* Mon Sep 09 2008 David Johnson <johnsond@cs.utah.edu>
- initial version.
This diff is collapsed.
Click to expand it.
install/rpms/fedora8/SPECS/perl-Apache-Htpasswd.spec
0 → 100644
+
60
−
0
View file @
526797c2
%define name perl-Apache-Htpasswd
%define pname Apache-Htpasswd
%define version 1.8
%define url http://search.cpan.org/CPAN/authors/id/K/KM/KMELTZ/%{pname}-%{version}.tar.gz
%define release_num 1
%define release %{release_num}.emulab%{?date:.%{date}}
%define debug_package %{nil}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Apache::Htpasswd - Manage Unix crypt-style password file.
Group: Web
License: GPL v2
URL: %{url}
Source: %{pname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: coreutils, make, perl, perl-Crypt-PasswdMD5, perl-Digest-SHA1
Requires: perl, perl-Crypt-PasswdMD5, perl-Digest-SHA1
Provides: perl-Apache-Htpasswd, perl(Apache::Htpasswd)
%description
This module comes with a set of methods to use with htaccess password
files. These files (and htaccess) are used to do Basic Authentication on
a web server.
%prep
%setup -n %{pname}-%{version}
%build
perl Makefile.PL
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
/usr/lib/perl5/site_perl/5.8.8/Apache/Htpasswd.pm
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache/Htpasswd/.packlist
/usr/share/man/man3/Apache::Htpasswd.3pm.gz
%post
%changelog
* Mon Dec 01 2008 David Johnson <johnsond@cs.utah.edu>
- initial version.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment