SPECS: libowfat.spec (NEW) - initial spec - files foes to /opt, is...

paszczus paszczus at pld-linux.org
Mon Jul 11 22:26:12 CEST 2005


Author: paszczus                     Date: Mon Jul 11 20:26:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec
- files foes to /opt, is incorrect, right?
- release 0.1

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

---- Diffs:

================================================================
Index: SPECS/libowfat.spec
diff -u /dev/null SPECS/libowfat.spec:1.1
--- /dev/null	Mon Jul 11 22:26:12 2005
+++ SPECS/libowfat.spec	Mon Jul 11 22:26:06 2005
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary:	libowfat - reimplement libdjb
+Name:		libowfat
+Version:	0.23
+Release:	0.1
+License:	GPL
+Group:		Applications
+Source0:	http://dl.fefe.de/%{name}-%{version}.tar.bz2
+# Source0-md5:	08b0686d2423dc586fe732ee3c51b0c3
+Patch0:		libowfat-DESTDIR.patch
+URL:		http://www.fefe.de/libowfat/
+BuildRequires:	dietlibc-devel
+#Requires:	-
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+One of the best ways to learn good programming practices is to read
+others people's code. I have read the source code from a lot of
+people. One of the most inspiring moments of my career as C programmer
+was to look at Dan Bernstein's code. While most programmers stumble
+about bad APIs throughout their life, Dan started not only question
+them, but he defined new and better APIs and implemented them.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README TODO
+
+%attr(755,root,root) /opt/diet/*
+
+%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/07/11 20:26:06  paszczus
+- initial spec
+- files foes to /opt, is incorrect, right?
+- release 0.1
+
================================================================



More information about the pld-cvs-commit mailing list