rpms/email2trac/devel email2trac-0.13-installperms.patch, NONE, 1.1 email2trac.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Tue May 20 20:48:04 UTC 2008


Author: jkeating

Update of /cvs/pkgs/rpms/email2trac/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv895/devel

Modified Files:
	.cvsignore sources 
Added Files:
	email2trac-0.13-installperms.patch email2trac.spec 
Log Message:
new package

email2trac-0.13-installperms.patch:

--- NEW FILE email2trac-0.13-installperms.patch ---
diff -up ../email2trac-0.13/Makefile.in.jk ../email2trac-0.13/Makefile.in
--- email2trac-0.13/Makefile.in.jk	2008-05-19 11:30:59.000000000 -0400
+++ email2trac-0.13/Makefile.in	2008-05-19 11:40:26.000000000 -0400
@@ -33,17 +33,17 @@ run_email2trac: $(WRAPPER_SRC) Makefile
 
 install: all install-conf
 	$(INSTALL) -d $(DESTDIR)$(EXEC_PREFIX)
-	$(INSTALL) -m 4111 -o root run_email2trac $(DESTDIR)$(EXEC_PREFIX)
+	$(INSTALL) -m 755 run_email2trac $(DESTDIR)$(EXEC_PREFIX)
 	for script in $(PYTHON_FILES) ; \
 	do \
           name=`basename $$script '.py'` ;\
-	  $(INSTALL) -m 755 -o root $$script  $(DESTDIR)$(EXEC_PREFIX)/$$name ;\
+	  $(INSTALL) -m 755 $$script  $(DESTDIR)$(EXEC_PREFIX)/$$name ;\
 	done
 
 install-conf:
 	if [ ! -f  $(DESTDIR)/$(CONFIG)/email2trac.conf ] ; \
 	then \
-		$(INSTALL) -c -m 644 -o root email2trac.conf $(DESTDIR)/$(CONFIG)/email2trac.conf ;\
+		$(INSTALL) -c -m 644 email2trac.conf $(DESTDIR)/$(CONFIG)/email2trac.conf ;\
 	fi
  
 clean:


--- NEW FILE email2trac.spec ---
# This spec file was derived from the upstream .spec file written by
# Jon Topper <jon at topper dot me dot uk>
Name:           email2trac
Version:        0.13
Release:        2%{?dist}
Summary:        Utilities for converting emails to trac tickets

Group:          Applications/Internet
License:        GPLv2+
URL:            https://subtrac.sara.nl/oss/email2trac
# Note, upstream doesn't name the tarball after the release, lame.
Source0:        ftp://ftp.sara.nl/pub/outgoing/email2trac.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python
Requires:       trac
Patch0:         email2trac-0.13-installperms.patch

%description
This is a release of the SARA package email2trac that contains utilities that 
we use to convert emails to trac tickets. The initial setup was made by 
Daniel Lundin from Edgewall Software. SARA has extend the initial setup, 
with the following extensions:

    * HTML messages
    * Attachments
    * Use commandline options
    * Use config file to change the behaviour of the email2trac.py program
    * Some unicode support for special characters in the headers of an email 
      message


%prep
%setup -q
%patch0 -p1


%build
%configure --with-trac_user=apache
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README AUTHORS COPYING INSTALL ChangeLog
%{_bindir}/delete_spam
%{_bindir}/email2trac
%{_bindir}/run_email2trac
%config(noreplace) %{_sysconfdir}/email2trac.conf


%changelog
* Tue May 20 2008 Jesse Keating <jkeating at redhat.com> - 0.13-2
- BR python as per review.

* Mon May 19 2008 Jesse Keating <jkeating at redhat.com> - 0.13-1
- First submission to Fedora



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/email2trac/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 May 2008 16:15:07 -0000	1.1
+++ .cvsignore	20 May 2008 20:47:24 -0000	1.2
@@ -0,0 +1 @@
+email2trac.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/email2trac/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 May 2008 16:15:07 -0000	1.1
+++ sources	20 May 2008 20:47:24 -0000	1.2
@@ -0,0 +1 @@
+3a6e707d958e577e49ec351bb781ff78  email2trac.tar.gz




More information about the scm-commits mailing list