[svn] r5865 - in trunk/rpms: . castget celestia milter-greylist

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Sep 24 22:25:05 CEST 2007


Author: dries
Date: 2007-09-24 22:25:03 +0200 (Mon, 24 Sep 2007)
New Revision: 5865

Added:
   trunk/rpms/milter-greylist/
   trunk/rpms/milter-greylist/milter-greylist.spec
Modified:
   trunk/rpms/castget/castget.spec
   trunk/rpms/celestia/celestia.spec
Log:
updates + milter-greylist added

Modified: trunk/rpms/castget/castget.spec
===================================================================
--- trunk/rpms/castget/castget.spec	2007-09-24 18:12:13 UTC (rev 5864)
+++ trunk/rpms/castget/castget.spec	2007-09-24 20:25:03 UTC (rev 5865)
@@ -4,7 +4,7 @@
 
 Summary: Command line-based RSS enclosure downloader
 Name: castget
-Version: 0.9.6
+Version: 1.0.0
 Release: 1
 License: GPL
 Group: Applications/Internet
@@ -38,13 +38,11 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
+%{__make} install DESTDIR="%{buildroot}"
 
-%post
-/sbin/ldconfig 2>/dev/null
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig 2>/dev/null
+%postun -p /sbin/ldconfig
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -52,19 +50,22 @@
 %files
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
-%doc %{_mandir}/man1/castget*
-%doc %{_mandir}/man5/castgetrc*
+%doc %{_mandir}/man1/castget*.1*
+%doc %{_mandir}/man5/castgetrc*.5*
 %{_bindir}/castget
 %{_libdir}/libcastget.so.*
 
 %files devel
-#%defattr(-, root, root, 0755)
+%defattr(-, root, root, 0755)
 %{_includedir}/libcastget.h
 %exclude %{_libdir}/libcastget.a
 %{_libdir}/libcastget.so
 %exclude %{_libdir}/*.la
 
 %changelog
+* Mon Sep 24 2007 Dries Verachtert <dries at ulyssis.org> - 1.0.0-1
+- Updated to release 1.0.0.
+
 * Tue Apr 17 2007 Dries Verachtert <dries at ulyssis.org> - 0.9.6-1
 - Updated to release 0.9.6.
 

Modified: trunk/rpms/celestia/celestia.spec
===================================================================
--- trunk/rpms/celestia/celestia.spec	2007-09-24 18:12:13 UTC (rev 5864)
+++ trunk/rpms/celestia/celestia.spec	2007-09-24 20:25:03 UTC (rev 5865)
@@ -3,13 +3,13 @@
 
 Summary: Real-time visual space simulation
 Name: celestia
-Version: 1.3.2
+Version: 1.4.1
 Release: 1
 License: GPL
 Group: Amusements/Graphics
 URL: http://www.shatters.net/celestia/
 Source: http://dl.sf.net/celestia/celestia-%{version}.tar.gz
-Patch: celestia-1.3.2-gcc34.patch
+#Patch: celestia-1.3.2-gcc34.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libgnomeui-devel, gtkglext-devel, freeglut-devel
 BuildRequires: libpng-devel, libjpeg-devel, gcc-c++, zlib-devel
@@ -28,9 +28,10 @@
 
 %prep
 %setup
-%patch -p1 -b .gcc34
+#patch -p1 -b .gcc34
+%{__perl} -pi -e "s|StarDetails::StarDetails|StarDetails|g;" src/celengine/star.h
+%{__perl} -pi -e "s|CommandGotoLongLat::CommandGotoLongLat|CommandGotoLongLat|g;" src/celengine/command.h
 
-
 %build
 export CXXFLAGS="%{optflags} -fno-strict-aliasing"
 %configure --with-gnome
@@ -41,8 +42,8 @@
 %{__rm} -rf %{buildroot}
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 %{__make} install DESTDIR=%{buildroot}
+%find_lang %{name}
 
-
 %post
 export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/celestia.schemas &>/dev/null || :
@@ -57,7 +58,7 @@
 %{__rm} -rf %{buildroot}
 
 
-%files
+%files -f %{name}.lang
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog controls.txt COPYING NEWS README TODO
 %{_sysconfdir}/gconf/schemas/celestia.schemas
@@ -65,14 +66,16 @@
 %{_datadir}/applications/celestia.desktop
 %dir %{_datadir}/celestia/
 %config %{_datadir}/celestia/celestia.cfg
-%{_datadir}/celestia/celestia.png
+%{_datadir}/celestia/celestia-logo.png
+%{_datadir}/celestia/celestiaui.xml
+%{_datadir}/celestia/splash/
 %doc %{_datadir}/celestia/controls.txt
 %exclude %{_datadir}/celestia/COPYING
 %{_datadir}/celestia/data/
 %{_datadir}/celestia/*.cel
 %{_datadir}/celestia/extras/
 %{_datadir}/celestia/fonts/
-%doc %{_datadir}/celestia/manual/
+#%doc %{_datadir}/celestia/manual/
 %{_datadir}/celestia/models/
 %{_datadir}/celestia/shaders/
 %{_datadir}/celestia/textures/
@@ -80,6 +83,9 @@
 
 
 %changelog
+* Mon Sep 24 2007 Dries Verachtert <dries at ulyssis.org> - 1.4.1-1
+- Updated to release 1.4.1.
+
 * Wed Nov 23 2005 Matthias Saou <http://freshrpms.net/> 1.3.2-2
 - Add -fno-strict-aliasing since -O2 breaks things (rh#171636).
 

Added: trunk/rpms/milter-greylist/milter-greylist.spec
===================================================================
--- trunk/rpms/milter-greylist/milter-greylist.spec	                        (rev 0)
+++ trunk/rpms/milter-greylist/milter-greylist.spec	2007-09-24 20:25:03 UTC (rev 5865)
@@ -0,0 +1,74 @@
+# $Id$
+# Authority: dries
+# Upstream: http://groups.yahoo.com/group/milter-greylist/
+
+Summary: Stand-alone milter written in C that implements greylist filtering
+Name: milter-greylist
+Version: 3.0
+Release: 1
+License: BSD
+Group: System Environment/Daemons
+URL: http://hcpnet.free.fr/milter-greylist/
+
+Source: ftp://ftp.espci.fr/pub/milter-greylist/milter-greylist-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: sendmail-devel >= 8.11
+
+%description
+milter-greylist is a stand-alone milter written in C that implements the 
+greylist filtering method, as proposed by Evan Harris. 
+
+Grey listing works by assuming that, unlike legitimate MTA, spam engines 
+will not retry sending their junk mail on a temporary error. The filter 
+will always reject mail temporarily on a first attempt, then accept it 
+after some time has elapsed.
+
+If spammers ever try to resend rejected messages, we can assume they will 
+not stay idle between the two sends (if they do, the spam problem would 
+just be solved). Odds are good that the spammer will send a mail to a honey 
+pot address and get blacklisted in several real-time distributed black lists 
+before the second attempt.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+%{__install} -D milter-greylist.m4 %{buildroot}%{_datadir}/sendmail-cf/feature/milter-greylist.m4
+%{__install} -D rc-redhat.sh %{buildroot}%{_initrddir}/milter-greylist
+
+%post
+/sbin/chkconfig --add milter-greylist
+
+%preun
+if [ $1 -eq 0 ]; then
+	/sbin/service milter-greylist stop &>/dev/null || :
+	/sbin/chkconfig --del milter-greylist
+fi
+
+%postun
+/sbin/service milter-greylist condrestart &>/dev/null || :
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog README
+%doc %{_mandir}/man5/greylist.conf.5*
+%doc %{_mandir}/man8/milter-greylist.8*
+%config(noreplace) %{_sysconfdir}/mail/greylist.conf
+%{_initrddir}/milter-greylist
+%{_bindir}/milter-greylist
+%dir %{_localstatedir}/milter-greylist/
+%{_datadir}/sendmail-cf/feature/milter-greylist.m4
+
+%changelog
+* Mon Sep 24 2007 Dries Verachtert <dries at ulyssis.org> - 3.0-1
+- Initial package, based on the spec file made by Ivan F. Martinez.



More information about the svn-commits mailing list