Initial RPM spec
[gssweb.git] / gssweb.spec
diff --git a/gssweb.spec b/gssweb.spec
new file mode 100644 (file)
index 0000000..e06e10c
--- /dev/null
@@ -0,0 +1,48 @@
+Name:          gssweb
+Version:       0.1
+Release:       1%{?dist}
+Summary:       GSS-API for Javascript and the Web
+
+Group:         Security Tools
+License:       BSD
+URL:           http://www.project-moonshot.org/
+Source0:       gssweb-%{version}.tar.gz
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  openssl-devel, cppunit-devel, jansson-devel, krb5-devel
+Requires:      moonshot-ui
+
+
+
+%description
+This includes the json GSSAPI executables and libraries.
+
+
+%prep
+%setup -q -n gssweb
+
+
+%build
+%cmake
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libjsongssapi.so
+ %{_libdir}/libjsongssapi.so.*
+%{_bindir}/json_gssapi
+
+
+
+%changelog
+