SPECS: jalbum.spec - this is not really a webapp - version from about dialog
glen
glen at pld-linux.org
Mon Sep 8 22:03:26 CEST 2008
Author: glen Date: Mon Sep 8 20:03:26 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- this is not really a webapp
- version from about dialog
---- Files affected:
SPECS:
jalbum.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/jalbum.spec
diff -u SPECS/jalbum.spec:1.2 SPECS/jalbum.spec:1.3
--- SPECS/jalbum.spec:1.2 Mon Sep 8 20:13:30 2008
+++ SPECS/jalbum.spec Mon Sep 8 22:03:20 2008
@@ -1,23 +1,19 @@
# $Revision$, $Date$
Summary: Jalbum web album software
Name: jalbum
-Version: 8.0
+Version: 8.0.9
Release: 0.1
License: freeware
Group: Applications/WWW
-Source0: http://jalbum.net/download/%{version}/Linux/NoVM/Jalbuminstall.bin
+Source0: http://jalbum.net/download/8.0/Linux/NoVM/Jalbuminstall.bin
# Source0-md5: 0e10280a6202fd9ae86336e0a0020e1b
URL: http://jalbum.net/
BuildRequires: rpmbuild(macros) >= 1.268
Requires: jre
-Requires: webapps
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _webapps /etc/webapps
-%define _webapp %{name}
-%define _sysconfdir %{_webapps}/%{_webapp}
-%define _appdir %{_datadir}/%{_webapp}
+%define _appdir %{_datadir}/%{name}
%description
With Jalbum it's easy to create your own photo album site. Just the
@@ -38,60 +34,23 @@
if [ ${INSTALLER_REMAINDER:-0} -gt 0 ]; then
INSTALLER_BLOCKS=$(expr $INSTALLER_BLOCKS + 1)
fi
-dd if=%{SOURCE0} of="$RESOURCE_ZIP" bs=$BLOCKSIZE skip=`expr $ARCHSTART + $INSTALLER_BLOCKS` count=$RESSIZE
+dd if=%{SOURCE0} of="$RESOURCE_ZIP" bs=$BLOCKSIZE skip=$(expr $ARCHSTART + $INSTALLER_BLOCKS) count=$RESSIZE
unzip -qq Resource1.zip
mv C_/Dev/Java/JAlbum/* .
-
-cat > apache.conf <<'EOF'
-Alias /%{name} %{_appdir}
-<Directory %{_appdir}>
- Allow from all
-</Directory>
-EOF
-
-cat > lighttpd.conf <<'EOF'
-alias.url += (
- "/%{name}" => "%{_appdir}",
-)
-EOF
+rm -f dist/JAlbum/lib/windows_zg_ia_sf.jar
+rm -f dist/JAlbum/lib/sunos_zg_ia_sf.jar
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
cp -a dist/JAlbum/JAlbum.jar $RPM_BUILD_ROOT%{_appdir}
-cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-cp -a lighttpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
-
-%triggerin -- apache1 < 1.3.37-3, apache1-base
-%webapp_register apache %{_webapp}
-
-%triggerun -- apache1 < 1.3.37-3, apache1-base
-%webapp_unregister apache %{_webapp}
-
-%triggerin -- apache < 2.2.0, apache-base
-%webapp_register httpd %{_webapp}
-
-%triggerun -- apache < 2.2.0, apache-base
-%webapp_unregister httpd %{_webapp}
-
-%triggerin -- lighttpd
-%webapp_register lighttpd %{_webapp}
-
-%triggerun -- lighttpd
-%webapp_unregister lighttpd %{_webapp}
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%dir %attr(750,root,http) %{_sysconfdir}
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
%{_appdir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -100,6 +59,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/09/08 20:03:20 glen
+- this is not really a webapp
+- version from about dialog
+
Revision 1.2 2008/09/08 18:13:30 glen
- fix changelog
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jalbum.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list