rpms/csstidy/F-8 csstidy-1.4-fix-misc.cpp.patch, NONE, 1.1 csstidy.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ian Weller ianweller at fedoraproject.org
Fri Sep 12 02:37:47 UTC 2008


Author: ianweller

Update of /cvs/pkgs/rpms/csstidy/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18965/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	csstidy-1.4-fix-misc.cpp.patch csstidy.spec import.log 
Log Message:
importing csstidy-1.4-1 in F-8

csstidy-1.4-fix-misc.cpp.patch:

--- NEW FILE csstidy-1.4-fix-misc.cpp.patch ---
diff -up src/csstidy/misc.cpp.orig src/csstidy/misc.cpp
--- src/csstidy/misc.cpp.orig	2008-09-05 19:07:07.000000000 -0500
+++ src/csstidy/misc.cpp	2008-09-05 19:07:23.000000000 -0500
@@ -16,6 +16,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
  
+#include <string.h>
 #include "csspp_globals.hpp"
 
 bool escaped(const string &istring, const int pos) 


--- NEW FILE csstidy.spec ---
Name:           csstidy
Version:        1.4
Release:        1%{?dist}
Summary:        CSS parser and optimizer

Group:          Applications/Internet
License:        GPLv2+
URL:            http://csstidy.sourceforge.net
# The developer is ridiculous and puts together this archive on Windows, and fails miserably.
# We repackaged it ourself by doing the following:
#   mkdir csstidy-%{version}; cd csstidy-%{version}
#   wget http://downloads.sourceforge.net/csstidy/csstidy-source-1.4.zip
#   unzip csstidy-source-1.4.zip; rm csstidy-source-1.4.zip
#   cd ..; tar czf csstidy-%{version}.tar.gz csstidy-%{version}
Source0:        csstidy-%{version}.tar.gz
Patch0:         csstidy-1.4-fix-misc.cpp.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-c++ scons

%description
CSSTidy is an open source CSS parser and optimizer. In opposite to most other
CSS parsers, no regular expressions are used and thus CSSTidy has full CSS2
support and a higher reliability.


%prep
%setup -q
%patch0 -p1


%build
scons


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
install -cpm 755 release/csstidy/csstidy %{buildroot}%{_bindir}/%{name}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO
%{_bindir}/%{name}


%changelog
* Thu Jul 24 2008 Ian Weller <ianweller at gmail.com> 1.4-1
- Initial package build.


--- NEW FILE import.log ---
csstidy-1_4-1_fc9:F-8:csstidy-1.4-1.fc9.src.rpm:1221187012


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/csstidy/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Sep 2008 04:42:11 -0000	1.1
+++ .cvsignore	12 Sep 2008 02:37:17 -0000	1.2
@@ -0,0 +1 @@
+csstidy-1.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/csstidy/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Sep 2008 04:42:11 -0000	1.1
+++ sources	12 Sep 2008 02:37:17 -0000	1.2
@@ -0,0 +1 @@
+308b82a6ecc7b51650dff87afe1f0a01  csstidy-1.4.tar.gz




More information about the fedora-extras-commits mailing list