]> git.pld-linux.org Git - packages/apache-mod_ngobjweb.git/commitdiff
- patch Cezary Krzyzanowski dhubleizh at o2 dot pl
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Tue, 6 Sep 2005 15:11:24 +0000 (15:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_ngobjweb-makefile.patch -> 1.1
    apache-mod_ngobjweb.spec -> 1.5

apache-mod_ngobjweb-makefile.patch [new file with mode: 0644]
apache-mod_ngobjweb.spec

diff --git a/apache-mod_ngobjweb-makefile.patch b/apache-mod_ngobjweb-makefile.patch
new file mode 100644 (file)
index 0000000..ca44ee2
--- /dev/null
@@ -0,0 +1,11 @@
+--- sope-mod_ngobjweb/GNUmakefile.old  2005-08-08 06:15:29.000000000 +0200
++++ sope-mod_ngobjweb/GNUmakefile      2005-09-05 00:22:05.000000000 +0200
+@@ -56,7 +56,7 @@
+ LD            = gcc
+ SHARED_LIBEXT = .so
+-CFLAGS  = -Wall -I. -fPIC $(APXS_CFLAGS) $(APXS_INCLUDE_DIRS)
++CFLAGS  = -Wall -D_LARGEFILE64_SOURCE -I. -I/usr/include/apr -I/usr/include/apr-util -I/usr/include/apache -fPIC $(APXS_CFLAGS) $(APXS_INCLUDE_DIRS)
+ LDFLAGS = $(APXS_LDFLAGS) -shared -fPIC
+ # adaptor
index 9bb7c809820d70e92b06160c9adbbc7220214fdd..2213486d69566c2c2fd30f565c47eb2fbdcf5fe3 100644 (file)
@@ -2,20 +2,25 @@
 # - mv SPECS/{apache-mod-ngobjweb.spec,apache-mod_ngobjweb.spec},v (if it's apache module)
 # - why Name and install dir is sope-* ???
 # - strange /var/*/*.so and /usr/local paths in generated OGo.conf
+# - OGo.conf link to %{_sysconfdir}/httpd/httpd.conf/@XX_Ogo.conf
 
 %define                mod_ngobjweb_makeflags          -v
 %define                sope_version                    4.3
 %define                opengroupware.org_version       1.0a
+%define                datenightly                     200508311705
+%define                sopename                        sope-mod_ngobjweb
 
 Summary:       mod_ngobjweb apache module
 Summary(pl):   Modu³ Apacha mod_ngobjweb
-Name:          sope-mod_ngobjweb
-Version:       3.15
-Release:       1
+Name:          apache-mod_ngobjweb
+Version:       r1098
+Release:       0.1
 Vendor:                OpenGroupware.org
 License:       LGPL
 Group:         Development/Libraries
-Source0:       http://download.opengroupware.org/sources/trunk/sope-mod_ngobjweb-trunk-latest.tar.gz
+Source0:       http://download.opengroupware.org/nightly/sources/trunk/%{sopename}-trunk-%{version}-%{datenightly}.tar.gz      
+# Source0-md5: 
+Patch0:                %{name}-makefile.patch
 URL:           http://www.softwarestudio.org/libical
 Requires:      apache >= 2.0.40
 BuildRequires: autoconf
@@ -36,16 +41,16 @@ Modu
 Apache obs³ugiwaæ ¿±dania HTTP dla serwera aplikacji SOPE.
 
 %prep
-%setup -n sope-mod_ngobjweb
+%setup -q -n sope-mod_ngobjweb
+%patch0 -p1
 
 %build
-. /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh
+. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
 export PATH=$PATH:%{_sbindir}
-%{__make} %{mod_ngobjweb_makeflags} \
+%{__make} \
        apxs=/usr/sbin/apxs \
-       HTTPD=/usr/sbin/httpd \
-       APXS_INCLUDE_DIRS="-I%{_includedir}/apr -I%{_includedir}/apr-util -I%{_includedir}/apache"
-
+       HTTPD=/usr/sbin/httpd
+       
 %install
 rm -rf $RPM_BUILD_ROOT
 export PATH=$PATH:%{_sbindir}
@@ -90,6 +95,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd/httpd.conf/88_OGo.conf
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd/httpd.conf/88_OGo.conf
 %attr(755,root,root) %{_libdir}/sope-%{sope_version}/mod_ngobjweb.so
 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/opengroupware.org/OGo.conf
This page took 0.128053 seconds and 4 git commands to generate.