rpms/clide/F-13 clide-Makefile.patch, NONE, 1.1 clide.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

richardfearn richardfearn at fedoraproject.org
Wed Jun 16 20:21:18 UTC 2010


Author: richardfearn

Update of /cvs/pkgs/rpms/clide/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13312

Modified Files:
	.cvsignore sources 
Added Files:
	clide-Makefile.patch clide.spec 
Log Message:
import 0.9-3

clide-Makefile.patch:
 Makefile |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

--- NEW FILE clide-Makefile.patch ---
diff -urN clide-0.9/Makefile clide-0.9-fedora/Makefile
--- clide-0.9/Makefile	2010-05-19 13:16:02.000000000 +0100
+++ clide-0.9-fedora/Makefile	2010-06-07 21:09:39.000000000 +0100
@@ -50,6 +50,7 @@
 all: manpages
 	for file in $(UTILS) ; do \
 		cat $$file | sed 's|^#!/usr/bin/perl|#!$(PERL)|' > $$file.out ; \
+		touch -r $$file $$file.out ; \
 		mv $$file.out $$file ; chmod a+x $$file ; done
 
 install:
@@ -81,21 +82,17 @@
 manpages:
 	for doc in $(UTILS) ; do \
 		pod2man $$doc > $$doc.1 ; \
-		gzip $$doc.1 ; chmod 644 $$doc.1.gz \
+		touch -r $$doc $$doc.1 \
 		; done
 
 rpminstall:
 	install -m 0755 -d		$(BINDIR)
 	for util in $(UTILS) ; do \
-	    install -m 0755 $$util	$(BINDIR) ; done
-
-	install -m 0755 -d		$(DOCDIR)
-	for doc in $(DOCS) ; do \
-	    install -m 0644 $$doc	$(DOCDIR) ; done
+	    install -p -m 0755 $$util	$(BINDIR) ; done
 
 	install -m 0755 -d		$(MANDIR)
 	for man in $(UTILS) ; do \
-		install -m 0644 $$man.1.gz $(MANDIR) ; done
+		install -p -m 0644 $$man.1 $(MANDIR) ; done
 
 clean:
 	rm -f $(PROJECT).spec


--- NEW FILE clide.spec ---
Name:           clide
Version:        0.9
Release:        3%{?dist}
Summary:        Color and style highlighting program for text

Group:          Applications/Text
License:        GPLv3+
URL:            http://suso.suso.org/xulu/Clide
Source0:        http://suso.suso.org/programs/clide/downloads/clide-%{version}.tar.gz

# Makefile changes (sent upstream):
#  1. Preserve timestamps of the clide script and man page.
#  2. Don't compress the man page (this is done automatically).
#  3. Don't install doc files (this is done automatically).
Patch0:         clide-Makefile.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  perl

%description
clide is a program that will colorize ASCII text on the command line using ANSI
escape sequences and user defined and predefined expressions. Searches can
include Perl Compatible Regular Expressions.

%prep
%setup -q
%patch0 -p1

# Remove LICENSE, which states that clide is GPLv2+; upstream has confirmed that
# clide is GPLv3+, as the script itself says
rm -f LICENSE

%build
make manpages

%install
rm -rf %{buildroot}
make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/man1 rpminstall

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/clide
%doc CHANGELOG COPYING GOALS IDEAS README WARNING
%{_mandir}/man1/clide.1*

%changelog
* Tue Jun  8 2010 Richard Fearn <richardfearn at gmail.com> - 0.9-3
- Explicitly set BINDIR/MANDIR when installing

* Mon Jun  7 2010 Richard Fearn <richardfearn at gmail.com> - 0.9-2
- clide is GPLv3+; remove LICENSE file, which contradicts this
- Rename Makefile patch, and describe its purpose
- Don't compress the man page; this is done automatically
- Remove the doc file installation from the "rpminstall" target in the Makefile,
  not the "install" target

* Wed May 19 2010 Richard Fearn <richardfearn at gmail.com> - 0.9-1
- Initial package for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/clide/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	14 Jun 2010 04:49:29 -0000	1.1
+++ .cvsignore	16 Jun 2010 20:21:18 -0000	1.2
@@ -0,0 +1 @@
+clide-0.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/clide/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	14 Jun 2010 04:49:29 -0000	1.1
+++ sources	16 Jun 2010 20:21:18 -0000	1.2
@@ -0,0 +1 @@
+f578b8c5f1b7f81c7280fcb549ca93c8  clide-0.9.tar.gz



More information about the scm-commits mailing list