rpms/editarea/F-10 editarea.conf, NONE, 1.1 editarea.spec, NONE, 1.1 fix_path.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Colin Coe coec at fedoraproject.org
Thu Sep 24 11:47:12 UTC 2009


Author: coec

Update of /cvs/pkgs/rpms/editarea/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10212/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	editarea.conf editarea.spec fix_path.patch import.log 
Log Message:
Initial commit of editarea package



--- NEW FILE editarea.conf ---
alias /editarea /usr/share/editarea


--- NEW FILE editarea.spec ---
%define          _version    0_8_1_1

Name:           editarea 
Version:        %(echo %{_version} | sed 's/_/./g')
Release:        5%{?dist}
Summary:        A replacement for the HTML textarea tag

Group:          Applications/Internet
# Valid license according to http://fedoraproject.org/wiki/Licensing
License:        ASL 2.0 or LGPLv2+ or BSD
URL:            http://cdolivet.com/editarea/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}_%{_version}.zip
Source1:        %{name}.conf
Patch0:         fix_path.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       httpd
BuildArch:      noarch

%description
EditArea is a replacement for the HTML textarea tag.  It provides such features
as syntax highlighting (for some languages), search/replace, goto line number
and more.  EditArea is not a WYSIWYG editor.

%prep
%setup -qn %{name}_%{_version}
# Equiv to dos2unix
sed -i 's/\r//' ./todo.txt ./license_bsd.txt ./change_log.txt ./license_apache.txt ./docs/doc_style.css 
%patch0 -p1

%build
# Nothing to build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
install -p -m 0644 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf

mv exemples examples
mv examples/exemple_full.html examples/example_full.html
cp -a edit_area/* $RPM_BUILD_ROOT%{_datadir}/%{name}

cd $RPM_BUILD_ROOT%{_datadir}/%{name}
rm -f change_log.txt license_apache.txt license_bsd.txt license_lgpl.txt todo.txt
cd -

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
%{_datadir}/%{name}/
%doc change_log.txt license_apache.txt license_bsd.txt license_lgpl.txt todo.txt
%doc docs examples

%changelog
* Tue Sep 22 2009 Colin Coe <colin.coe at gmail.com> - 0.8.1.1-5
- Use correct Source0 format

* Wed Sep 16 2009 Colin Coe <colin.coe at gmail.com> - 0.8.1.1-4
- Stop packaging duplicate files
- Fix summary line
- Change references to 'exemples' to 'examples'

* Mon Sep 7 2009 Colin Coe <colin.coe at gmail.com> - 0.8.1.1-3
- Remove user/group (-o/-g) from install
- Make install honor timestemps (-p)
- Patch exemple_full.html to reflect correct path

* Tue Sep 1 2009 Colin Coe <colin.coe at gmail.com> - 0.8.1.1-2
- Split out /etc/httpd/conf.d/editarea.conf

* Mon Aug 17 2009 Colin Coe <colin.coe at gmail.com> - 0.8.1.1-1
- Fix incorrect URL (s/cdolivet.net/cdolivet.com/)
- Rebase to editarea-0.8.1.1

* Wed Apr 15 2009 Colin Coe <colin.coe at gmail.com> - 0.7.2.3-2
- Provide better summary and description
- Increment release

* Wed Feb 11 2009 Colin Coe <colin.coe at gmail.com> - 0.7.2.3-1
- Initial Packaging 



fix_path.patch:
 exemple_full.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE fix_path.patch ---
diff -uNr editarea_0_8_1_1.old/exemples/exemple_full.html editarea_0_8_1_1/exemples/exemple_full.html
--- editarea_0_8_1_1.old/exemples/exemple_full.html	2009-04-25 02:52:26.000000000 +0800
+++ editarea_0_8_1_1/exemples/exemple_full.html	2009-09-07 13:30:40.000000000 +0800
@@ -3,7 +3,7 @@
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 	<title>EditArea - the code editor in a textarea</title>
-	<script language="Javascript" type="text/javascript" src="../edit_area/edit_area_full.js"></script>
+	<script language="Javascript" type="text/javascript" src="/editarea/edit_area_full.js"></script>
 	<script language="Javascript" type="text/javascript">
 		// initialisation
 		editAreaLoader.init({


--- NEW FILE import.log ---
editarea-0_8_1_1-5el5:F-10:editarea-0.8.1.1-5el5.src.rpm:1253792614


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/editarea/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Sep 2009 04:38:19 -0000	1.1
+++ .cvsignore	24 Sep 2009 11:47:12 -0000	1.2
@@ -0,0 +1 @@
+editarea_0_8_1_1.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/editarea/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Sep 2009 04:38:19 -0000	1.1
+++ sources	24 Sep 2009 11:47:12 -0000	1.2
@@ -0,0 +1 @@
+23d31760fc82e69656e2c3d5bfa677d2  editarea_0_8_1_1.zip




More information about the fedora-extras-commits mailing list