rpms/kronolith/devel kronolith.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brandon Holbrook (static) fedora-extras-commits at redhat.com
Sat Dec 30 05:19:51 UTC 2006


Author: static

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

Modified Files:
	.cvsignore sources 
Added Files:
	kronolith.spec 
Log Message:
auto-import kronolith-2.1.4-1 on branch devel from kronolith-2.1.4-1.src.rpm


--- NEW FILE kronolith.spec ---
Name: 		kronolith
Version:	2.1.4
Release:	1%{?dist}
Summary:	The Horde calendar application

Source0:	ftp://ftp.horde.org/pub/%{name}/%{name}-h3-%{version}.tar.gz
Group:		Applications/Internet
License:	GPL
URL:		http://www.horde.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

BuildRequires:	gettext
Requires:	php >= 4.3.0
Requires:	horde >= 3

%description
Kronolith is the Horde calendar application.  It provides repeating
events, all-day events, custom fields, keywords, and managing multiple
users through Horde Authentication.  The calendar API that Kronolith
uses is abstracted; MCAL and SQL drivers are currently provided.

The Horde Project writes web applications in PHP and releases them under
Open Source licenses.  For more information (including help with Kronolith)
please visit http://www.horde.org/.

%prep
%setup -q -n %{name}-h3-%{version}

# Replace #!/usr/local/bin/php with #!/usr/bin/php
for d in scripts/*.php scripts/crond; do
	perl -i -pe 's|^#!/usr/local/bin/php|#!/usr/bin/php|' "$d"
done

%build

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}%{_datadir}/horde/%{name}
# Copy eveything... except config and docs
cp -a * %{buildroot}%{_datadir}/horde/%{name}
rm -rf %{buildroot}%{_datadir}/horde/%{name}/config/
rm -rf %{buildroot}%{_datadir}/horde/%{name}/docs/
rm %{buildroot}%{_datadir}/horde/%{name}/COPYING
rm %{buildroot}%{_datadir}/horde/%{name}/README*

# Copy locale *.mo files into /usr/share/locale
for lang in %{buildroot}%{_datadir}/horde/%{name}/locale/*; do
	mkdir -p %{buildroot}%{_datadir}/locale/`basename $lang`/LC_MESSAGES
	if [ -f $lang/LC_MESSAGES/*.mo ]; then
		for file in $lang/LC_MESSAGES/*.mo; do
			cp -a $file %{buildroot}%{_datadir}/locale/`basename $lang`/LC_MESSAGES/
		done
	fi
done
%find_lang %{name}

# Put our config files in /etc/horde/kronolith and make symlinks
install -m 0770 -d %{buildroot}%{_sysconfdir}/horde/%{name}
cp -a config/* %{buildroot}%{_sysconfdir}/horde/%{name}
ln -fs ../../../..%{_sysconfdir}/horde/%{name} %{buildroot}%{_datadir}/horde/%{name}/config

# Create default config files
pushd %{buildroot}%{_sysconfdir}/horde/%{name}
for d in *.dist; do
	d0=`basename $d .dist`
	if [ ! -f "$d0" ]; then
		cp -p $d $d0
	fi
done
popd

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root,-)
# Include top level with %dir so not all files are sucked in
%{_datadir}/horde/%{name}

# Mark documentation files with %doc and %docdir
%doc docs/
%doc COPYING
%doc README

# Mark configuration files with %config and use secure permissions
# (note that .dist and .xml files are not user-edited and may change each
#	release, so we don't mark noreplace)
%attr(0770,apache,apache) %config %dir %{_sysconfdir}/horde/%{name}
%attr(0640,apache,apache) %config %{_sysconfdir}/horde/%{name}/*.dist
%attr(0660,apache,apache) %config(noreplace) %{_sysconfdir}/horde/%{name}/*.php
%attr(0660,apache,apache) %config %{_sysconfdir}/horde/%{name}/*.xml

%changelog
* Thu Dec 28 2006 Brandon Holbrook <fedora at theholbrooks.org> 2.1.4-1
- Completely reworked for Fedora
- config files moved to /etc/horde/kronolith
- use find_lang to pull in translations
- upgraded to upsream version 2.1.4

* Tue Nov 14 2006 Johnny Hughes <johnny at cetnos.org> 2.1.3.c4
- upgraded to upsream version 2.1.3

* Wed Aug 16 2006 Johnny Hughes <johnny at cetnos.org> 2.1.2.c4
- rolled in upstream update 2.1.2
- changed all config files from %config to %config(noreplace)

* Fri Apr 28 2006 Johnny Hughes <johnny at centos.org> 2.1.1.c4
- Rolled in upstream changes to 2.1.1

* Tue Apr 11 2006 Johnny Hughes <johnny at centos.org> 2.1.c4
- Rolled in upstream release to 2.1

* Mon Dec 12 2005 Johnny Hughes <johnny at centos.org> 2.0.6-1.centos4
- Rolled in upstream release to 2.0.6
- See this link: http://marc.theaimsgroup.com/?l=horde-announce&m=113433037303192&w=2

* Tue Nov 29 2005 Johnny Hughes <johnny at centos.org> 2.0.5-1.centos4
- Rolled in upstream release to 2.0.5

* Sat Oct 29 2005 Johnny Hughes <johnny at centos.org> 2.0.4-1.centos4
- Initial build for CentOS4
- Changed the html location to be consistent w/CentOS web apps (/usr/share)

* Wed Jun 15 2005 Greg Swallow <gregswallow at skynetonline.ca>
- [2.0.3-1sme02]
- revamped for kronolith-h3-2.0.3 on SME7

* Tue Apr  8 2004 Douglas Musty <d.musty at acsalaska.net>
- [1.1.2-1es]
- Rebuilt with Kronolith 1.1.2

* Tue Mar 23 2004 Douglas Musty <d.musty at acsalaska.net>
- [1.1.1-1es]
- Rebuilt with Kronolith 1.1.1
- Patch SQL schema to USE horde database
- Change horde requirement to version 2.2 or greater
- Change apache requirement to version 1.3.27 or greater
- Change php requirement to version 4.1.2 or greater

* Tue Jul  1 2003 Dan Brown <dan at familybrown.org>
- [1.1-1es]
- Rebuilt with Kronolith 1.1

* Sun Apr  6 2003 Dan Brown <dan at familybrown.org>
- [1.0-1es]
- Modified variables for compatibility with Mitel SME Server
- Patched SQL schema to CREATE TABLE IF NOT EXISTS

* Mon Jun 24 2002 Brent J. Nordquist <bjn at horde.org>
- 1.0 release 2

* Thu Jun 13 2002 Brent J. Nordquist <bjn at horde.org>
- 1.0 release 1 (private beta)

* Sun Dec 16 2001 Brent J. Nordquist <bjn at horde.org>
- initial RPM for Kronolith 0.0.3


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kronolith/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Dec 2006 05:18:16 -0000	1.1
+++ .cvsignore	30 Dec 2006 05:19:21 -0000	1.2
@@ -0,0 +1 @@
+kronolith-h3-2.1.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kronolith/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Dec 2006 05:18:16 -0000	1.1
+++ sources	30 Dec 2006 05:19:21 -0000	1.2
@@ -0,0 +1 @@
+df6d6fc99012865b18b089212c7544ad  kronolith-h3-2.1.4.tar.gz




More information about the scm-commits mailing list