SPECS: wpkg-http.spec (NEW) - initial

wolvverine wolvverine at pld-linux.org
Mon Sep 26 08:03:27 CEST 2005


Author: wolvverine                   Date: Mon Sep 26 06:03:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   wpkg-http.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/wpkg-http.spec
diff -u /dev/null SPECS/wpkg-http.spec:1.1
--- /dev/null	Mon Sep 26 08:03:27 2005
+++ SPECS/wpkg-http.spec	Mon Sep 26 08:03:22 2005
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	WPKG - HTTP backend
+Summary(pl):	WPKG - Interfejs Webowy
+Name:		wpkg-http
+Version:	06062005
+Release:	0.1
+License:	GPL v.2
+Group:		Applications
+Source0:	http://dl.sourceforge.net/wpkg/%{name}-%{version}.tar.gz
+# Source0-md5:	033e6251fb80db3ec1207f83155a5b6b
+#Source1:	%{name}-
+#Source2:	%{name}-
+URL:		http://wpkg.sourceforge.net/
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires:	wpkg
+
+%description
+Web backend for configuration WPKG.
+
+%description -l pl
+Webowy konfigurator dla WPKG
+%prep
+%setup -q -n wpkg
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/{classes,config,libs,locale,packages,root,smarty,xml},%{_sysconfdir}/%{name}}
+rm INSTALL
+cp -Rv *		$RPM_BUILD_ROOT%{_datadir}/%{name}/
+#install hosts.xml 	$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/hosts.xml
+#install packages.xml	$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/packages.xml
+#install profiles.xml	$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/profiles.xml
+
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/xml
+rm ./*
+ln -s %{_sysconfdir}/%{name}/hosts.xml	hosts.xml
+ln -s %{_sysconfdir}/%{name}/packages.xml packages.xml 
+ln -s %{_sysconfdir}/%{name}/profiles.xml profiles.xml 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%doc README TODO GPL-2 LICENSE
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}
+#%attr(755,root,root) %{_datadir}/%{name}/wpkg.js
+#%{_datadir}/%{name}/*.xml
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/26 06:03:22  wolvverine
+- initial
+
+
================================================================



More information about the pld-cvs-commit mailing list