]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
redhat packaging file from Peter Jones <pjones@redhat.com>
authorAndrew Tridgell <tridge@samba.org>
Wed, 10 Apr 2002 22:34:11 +0000 (00:34 +0200)
committerAndrew Tridgell <tridge@samba.org>
Wed, 10 Apr 2002 22:34:11 +0000 (00:34 +0200)
packaging/README [new file with mode: 0644]
packaging/ccache.spec [new file with mode: 0644]

diff --git a/packaging/README b/packaging/README
new file mode 100644 (file)
index 0000000..fadc342
--- /dev/null
@@ -0,0 +1,5 @@
+These packaging files are contributd by users of ccache. I do not
+maintain them, and they may well need updating before you use them.
+
+I don't distribute binary packages of ccache myself, but if you wish
+to add ccache to a distribution then that's OK
diff --git a/packaging/ccache.spec b/packaging/ccache.spec
new file mode 100644 (file)
index 0000000..cff82cc
--- /dev/null
@@ -0,0 +1,37 @@
+Summary: Compiler Cache\r
+Name: ccache\r
+Version: 1.8\r
+Release: 1\r
+Group: Development/Languages\r
+License: GPL\r
+URL: http://ccache.samba.org/\r
+Source: ccache-%{version}.tar.gz\r
+BuildRoot: %{_tmppath}/%{name}-%{version}-root\r
+\r
+%description\r
+ccache caches gcc output files\r
+\r
+%prep\r
+%setup -q\r
+\r
+%build\r
+%configure\r
+make\r
+\r
+install -d -m 0755 $RPM_BUILD_ROOT%{_bindir}\r
+install -m 0755 ccache $RPM_BUILD_ROOT%{_bindir}\r
+install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1\r
+install -m 0644 ccache.1 $RPM_BUILD_ROOT%{_mandir}/man1\r
+\r
+%files\r
+%defattr(-,root,root)\r
+%doc README\r
+%{_mandir}/man1/ccache.1*\r
+%{_bindir}/ccache\r
+\r
+%clean\r
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT\r
+\r
+%changelog\r
+* Mon Apr 01 2002 Peter Jones <pjones@redhat.com>\r
+- Created the package\r