diff --git a/.cvsignore b/.cvsignore
index e69de29..d90099d 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+OpenLayers-2.7.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..9a41c50
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+openlayers-2_7-2_fc10:F-8:openlayers-2.7-2.fc10.src.rpm:1224744962
diff --git a/openlayers.conf b/openlayers.conf
new file mode 100644
index 0000000..3e837a2
--- /dev/null
+++ b/openlayers.conf
@@ -0,0 +1,15 @@
+#
+# JavaScript library for displaying map data in web browsers
+#
+
+# default restrictions
+
+ Options -Indexes
+ Order Deny,Allow
+ Deny from all
+ Allow from localhost
+
+
+# mandatory aliases
+Alias /openlayers /usr/share/openlayers/www
+
diff --git a/openlayers.spec b/openlayers.spec
new file mode 100644
index 0000000..aecf0be
--- /dev/null
+++ b/openlayers.spec
@@ -0,0 +1,148 @@
+Name: openlayers
+Version: 2.7
+Release: 2%{?dist}
+Summary: A JavaScript library for displaying map data in web browsers
+Group: Applications/Publishing
+License: BSD
+URL: http://www.openlayers.org/
+Source0: http://openlayers.org/download/OpenLayers-%{version}.tar.gz
+Source1: openlayers.conf
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: python
+
+Requires: httpd
+
+%description
+OpenLayers is a pure JavaScript library for displaying map data in most
+modern web browsers, with no server-side dependencies. OpenLayers implements
+a JavaScript API for building rich web-based geographic applications,
+similar to the Google Maps and MSN Virtual Earth APIs, with one important
+difference -- OpenLayers is Free Software, developed for and by the Open
+Source software community.
+
+Furthermore, OpenLayers implements industry-standard methods for geographic
+data access, such as the OpenGIS Consortium's Web Mapping Service (WMS) and
+Web Feature Service (WFS) protocols. Under the hood, OpenLayers is written
+in object-oriented JavaScript, using components from Prototype.js and the
+Rico library. The OpenLayers code base already has hundreds of unit tests,
+via the Test.AnotherWay framework.
+
+%prep
+%setup -q -n OpenLayers-%{version}
+
+set +x
+for f in `find . -type f` ; do
+ if file $f | grep -q ISO-8859 ; then
+ set -x
+ iconv -f ISO-8859-1 -t UTF-8 $f > ${f}.tmp && \
+ mv -f ${f}.tmp $f
+ set +x
+ fi
+ if file $f | grep -q CRLF ; then
+ set -x
+ sed -i -e 's|\r||g' $f
+ set +x
+ fi
+done
+set -x
+
+# fix spurious perms
+find . -type f -name *.js -exec chmod -x '{}' \;
+find . -type f -name *.jpg -exec chmod -x '{}' \;
+find . -type f -name *.png -exec chmod -x '{}' \;
+find . -type f -name *.css -exec chmod -x '{}' \;
+find . -type f -name *.html -exec chmod -x '{}' \;
+chmod -x tools/exampleparser.py
+chmod -x examples/proxy.cgi
+
+# fix CLRF file
+sed -i -e 's|\r||g' tools/exampleparser.py
+
+# fix shebag
+find . -type f -exec sed -i -e 's/\#\!\/usr\/bin\/env python/\#\!\/usr\/bin\/python/' '{}' +
+
+%build
+
+gcc %{optflags} tools/jsmin.c -o tools/jsmin
+pushd build
+./build.py
+popd
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{_datadir}/%{name}/www
+cp -rp theme %{buildroot}%{_datadir}/%{name}/www/
+cp -rp img %{buildroot}%{_datadir}/%{name}/www/
+install -p -m 644 build/OpenLayers.js %{buildroot}%{_datadir}/%{name}/www/
+
+cp -rp art %{buildroot}%{_datadir}/%{name}/
+cp -rp build %{buildroot}%{_datadir}/%{name}/
+cp -rp lib %{buildroot}%{_datadir}/%{name}/
+cp -rp tests %{buildroot}%{_datadir}/%{name}/
+
+# install tools
+install -d %{buildroot}%{_bindir}
+install -d %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/jsmin %{buildroot}%{_bindir}/
+install -p tools/BeautifulSoup.py %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/jsmin.py %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/mergejs.py %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/minimize.py %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/shrinksafe.py %{buildroot}%{_datadir}/%{name}/tools/
+install -p tools/toposort.py %{buildroot}%{_datadir}/%{name}/tools/
+# fix one python header
+sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/BeautifulSoup.py
+sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/minimize.py
+sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/toposort.py
+
+# fix generation of OpenLayer.js
+sed -i -e 's|OpenLayers.js|..\/www\/OpenLayers.js|' \
+ %{buildroot}%{_datadir}/%{name}/build/build.py
+sed -i -e 's|OpenLayers.js|..\/www\/OpenLayers.js|' \
+ %{buildroot}%{_datadir}/%{name}/build/buildUncompressed.py
+
+# install config files
+install -d %{buildroot}%{_sysconfdir}/%{name}
+mv %{buildroot}%{_datadir}/%{name}/build/*.cfg %{buildroot}%{_sysconfdir}/%{name}
+pushd %{buildroot}%{_datadir}/%{name}/build/
+ for file in {full,library,lite}; do
+ ln -s ../../../../%{_sysconfdir}/%{name}/$file.cfg $file.cfg
+ done
+popd
+
+# install httpd config alias
+install -D -p %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
+
+# fix two more annoying mods
+chmod -x %{buildroot}%{_datadir}/%{name}/lib/OpenLayers/Strategy.js
+chmod -x %{buildroot}%{_datadir}/%{name}/lib/OpenLayers/Protocol.js
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc examples doc
+%doc news.txt readme.txt release-license.txt repository-license.txt
+%doc tools/README.txt build/license.txt tools/exampleparser.py
+%dir %{_sysconfdir}/%{name}
+%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/*.cfg
+%attr(644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/%{name}
+%exclude %{_datadir}/%{name}/tools/*.py?
+%exclude %{_datadir}/%{name}/build/*.txt
+%exclude %{_datadir}/%{name}/build/*.py?
+%exclude %{_datadir}/%{name}/build/OpenLayers.js
+%{_datadir}/%{name}/*
+
+%changelog
+* Mon Oct 20 2008 Balint Cristian - 2.7-2
+- fix invalid shebags
+
+* Wed Oct 08 2008 Balint Cristian - 2.7-1
+- new upstream
+
+* Mon Aug 25 2008 Balint Cristian - 2.6-1
+- initial import
diff --git a/sources b/sources
index e69de29..6850202 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c0d288a7b935e8b940b0b850ef135c95 OpenLayers-2.7.tar.gz