SPECS: hardlink++.spec (NEW) - new, based on dag's spec

glen glen at pld-linux.org
Wed Apr 11 13:18:15 CEST 2007


Author: glen                         Date: Wed Apr 11 11:18:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on dag's spec

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

---- Diffs:

================================================================
Index: SPECS/hardlink++.spec
diff -u /dev/null SPECS/hardlink++.spec:1.1
--- /dev/null	Wed Apr 11 13:18:15 2007
+++ SPECS/hardlink++.spec	Wed Apr 11 13:18:10 2007
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+Summary:	Rewrite in C++ of the hardlink utility
+Name:		hardlink++
+Version:	0.02
+Release:	3
+License:	GPL
+Group:		Base
+Source0:	http://www.sodarock.com/hardlink/%{name}-%{version}.tgz
+# Source0-md5:	edca0c9b726faf50a239c1ca12aa2956
+Patch0:		%{name}-stdio.patch
+Patch1:		%{name}-sane-makefile.patch
+Patch2:		%{name}-gcc34-optimize-help.patch
+URL:		http://www.sodarock.com/hardlink/
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A rewrite in C++ of the hardlink utility, which recursively parses
+directory structures and creates hard links for identical files found.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__make} \
+	CXX="%{__cxx}" \
+	CXXFLAGS="%{optflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D hardlink++ $RPM_BUILD_ROOT%{_bindir}/hardlink++
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/hardlink++
+
+%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  2007/04/11 11:18:10  glen
+- new, based on dag's spec
+
================================================================


More information about the pld-cvs-commit mailing list