rpms/cssed/devel cssed-0.4.0-headersfix.patch, NONE, 1.1 cssed.desktop, NONE, 1.1 cssed.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rafał Psota (rafalzaq) fedora-extras-commits at redhat.com
Tue Jan 9 16:02:00 UTC 2007


Author: rafalzaq

Update of /cvs/extras/rpms/cssed/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20726/devel

Modified Files:
	.cvsignore sources 
Added Files:
	cssed-0.4.0-headersfix.patch cssed.desktop cssed.spec 
Log Message:
auto-import cssed-0.4.0-4.fc6 on branch devel from cssed-0.4.0-4.fc6.src.rpm

cssed-0.4.0-headersfix.patch:

--- NEW FILE cssed-0.4.0-headersfix.patch ---
--- Makefile.in	2005-10-14 23:41:54.000000000 +0200
+++ Makefile.in.headersfix	2007-01-07 20:30:19.000000000 +0100
@@ -722,10 +722,10 @@
         fi
 
 @INSTALLHEADERS_TRUE@	if test -d $(srcdir)/include; then \
- at INSTALLHEADERS_TRUE@	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/include; \
+ at INSTALLHEADERS_TRUE@	  $(mkinstalldirs) $(DESTDIR)$(pkgincludedir); \
 @INSTALLHEADERS_TRUE@	  for header in $(srcdir)/include/*.h; do \
 @INSTALLHEADERS_TRUE@	    if test -f $$header; then \
- at INSTALLHEADERS_TRUE@	      $(INSTALL_DATA) $$header $(DESTDIR)$(pkgdatadir)/include; \
+ at INSTALLHEADERS_TRUE@	      $(INSTALL_DATA) $$header $(DESTDIR)$(pkgincludedir); \
 @INSTALLHEADERS_TRUE@	    fi \
 @INSTALLHEADERS_TRUE@	  done \
 @INSTALLHEADERS_TRUE@	fi


--- NEW FILE cssed.desktop ---
[Desktop Entry]
Name=Cssed
Comment=CSS editor and validator
Exec=cssed
Icon=/usr/share/cssed/pixmaps/cssed-about.png
Type=Application
Terminal=false
Categories=Development;TextEditor;
Encoding=UTF-8


--- NEW FILE cssed.spec ---
Name:		cssed
Version:	0.4.0
Release:	4%{?dist}
Summary:	CSS editor and validator

Group:		Applications/Editors
License:	GPL
URL:		http://cssed.sourceforge.net/
Source0:	http://dl.sourceforge.net/sourceforge/cssed/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Patch0:		cssed-0.4.0-headersfix.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	libxml2-devel,gettext,gtk2-devel,desktop-file-utils

%description
cssed is a small developer editor and validator, that tries to ease the CSS
editing.

It features syntax highlighting, syntax validation, MDI notebook based
interface, quick CSS properties and values insertion, auto-completion and
dialog-based insertion of CSS complex values.

Being a CSS editor, it's not limited to this language. cssed haved some
support for HTML (with embbeded Javascript), XML, Javascript, Java, PHP, JSP,
C, C++, Apache configuration files, .htaccess, Python, Perl, SQL, SH and other
languages so it can serve quite well as multi-purpose editor.

%package devel
Summary:	Development files for cssed
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release},pkgconfig,gtk2-devel

%description devel
Development files for cssed.

%prep
%setup -q
%patch0 -p0 -b .headersfix
%{__sed} -i 's/\r//' include/{SciLexer.h,Scintilla.h,ScintillaWidget.h}
%{__sed} -i 's/\r//' scintilla/License.txt
%{__sed} -i '4i includedir\=\@includedir\@\npkgincludedir\=\${includedir}\/\@PACKAGE\@\n' cssed.pc.in
%{__sed} -i 's/\${prefix}\/share\/cssed\/include/\${pkgincludedir}/' cssed.pc.in
echo >> cssed.pc.in

%build
%configure --disable-dependency-tracking --with-plugin-headers --with-help-menus
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%find_lang %{name}
desktop-file-install --vendor="fedora"			\
	--dir %{buildroot}%{_datadir}/applications	\
	%{SOURCE1}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README scintilla/License.txt
%{_bindir}/*
%{_mandir}/man*/*
%{_datadir}/cssed
%{_datadir}/applications/fedora-%{name}.desktop

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/cssed.pc
%{_includedir}/cssed

%changelog
* Sun Jan 07 2007 Rafał Psota <rafalzaq at gmail.com> - 0.4.0-4
- add scintilla license
- fixed .desktop file
- fixed BRs & Rs
- fixed end-of-lines
- new patch
* Sun Jan 07 2007 Rafał Psota <rafalzaq at gmail.com> - 0.4.0-3
- fixed changelog
* Sun Jan 07 2007 Rafał Psota <rafalzaq at gmail.com> - 0.4.0-2
- fixed .desktop file and clean section
* Sat Jan 06 2007 Rafał Psota <rafalzaq at gmail.com> - 0.4.0-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cssed/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jan 2007 15:59:50 -0000	1.1
+++ .cvsignore	9 Jan 2007 16:01:29 -0000	1.2
@@ -0,0 +1 @@
+cssed-0.4.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cssed/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jan 2007 15:59:50 -0000	1.1
+++ sources	9 Jan 2007 16:01:29 -0000	1.2
@@ -0,0 +1 @@
+ff7c818d1f819b7d76b4f714be64e08e  cssed-0.4.0.tar.gz




More information about the scm-commits mailing list