rpms/cgi-util/devel cgi-util.spec, 1.3, 1.4 cgi-util-2.2.1-autotools.patch, 1.1, NONE

W. Michael Petullo (mikep) fedora-extras-commits at redhat.com
Tue Sep 25 23:32:53 UTC 2007


Author: mikep

Update of /cvs/extras/rpms/cgi-util/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29413/devel

Modified Files:
	cgi-util.spec 
Removed Files:
	cgi-util-2.2.1-autotools.patch 
Log Message:
Resume maintainership.



Index: cgi-util.spec
===================================================================
RCS file: /cvs/extras/rpms/cgi-util/devel/cgi-util.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cgi-util.spec	11 Dec 2006 16:36:30 -0000	1.3
+++ cgi-util.spec	25 Sep 2007 23:32:21 -0000	1.4
@@ -1,11 +1,10 @@
 Summary: A C library for creating Common Gateway Interface ("CGI") programs
 Name: cgi-util
 Version: 2.2.1
-Release: 8
-License: LGPL
+Release: 15%{?dist}
+License: LGPLv2+
 Group: System Environment/Libraries
-Source: ftp://ftp.billsgames.com/unix/www/%name/%{name}-%{version}.tar.gz
-Patch0: cgi-util-2.2.1-autotools.patch
+Source: ftp://ftp.billsgames.com/unix/www/%{name}/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://www.newbreedsoftware.com/cgi-util/
 
@@ -25,26 +24,18 @@
 needed for developing applications using the cgi-util library.
 
 %prep
-cat<<EOT
-
-Build disabled. Package is without maintainer.
-
-EOT
-exit 1
-
-%setup
-%patch0 -p1
-chmod +x configure
+%setup -q
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%{__cc} %{__global_cflags} -Wall -ansi -pedantic -fPIC cgi-util.c -c -o libcgi-util.o
+%{__cc} %{__global_cflags} -shared -Wl,-soname=libcgi-util.so.2 libcgi-util.o -o libcgi-util.so
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
-rm -f ${RPM_BUILD_ROOT}/%{_libdir}/libcgi-util.la
-rm -f ${RPM_BUILD_ROOT}/%{_bindir}/*.cgi
+%{__install} -p -D -m 0755  libcgi-util.so %{buildroot}%{_libdir}/libcgi-util.so.%{version}
+%{__install} -p -D -m 0644  cgi-util.h %{buildroot}%{_includedir}/cgi-util.h
+%{__ln_s} libcgi-util.so.%{version} %{buildroot}%{_libdir}/libcgi-util.so
+%{__ln_s} libcgi-util.so.%{version} %{buildroot}%{_libdir}/libcgi-util.so.2
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,16 +45,42 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
+%defattr(-, root, root, -)
 %{_libdir}/lib*.so.*
-%doc ChangeLog COPYING INSTALL TODO test.cgi filetest.cgi test.html filetest.html
+%doc CHANGES.txt COPYING.txt TODO.txt
 
 %files devel
 %{_libdir}/lib*.so
 %{_includedir}/cgi-util.h
-%doc README test.c filetest.c
+%doc README.txt test.c filetest.c
 
 %changelog
+* Sun Sep 23 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-15
+   - Use install -p.
+   - Ensure libcgi-util.so.2 is owned by package.
+
+* Sat Sep 22 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-14
+   - Don't run linker directly.
+
+* Sat Sep 22 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-13
+   - Write soname to library.
+   - Fix permissions of library.
+   - Library symlink is now relative.
+   - Build using Fedora compilation flags.
+
+* Fri Sep 21 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-12
+   - Don't use autotools patch -- wait for it upstream.
+   - Don't install compiled examples.
+
+* Thu Aug 23 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-10
+   - Modify autotools patch to streamline build.
+
+* Wed Aug 22 2007 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-9
+   - Do not install INSTALL.
+   - Use %%setup -q.
+   - Use %%defattr(-,root,root,-).
+   - Do not use %%makeinstall.
+
 * Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-8
    - Rebuild for FC6.
 
@@ -71,8 +88,8 @@
    - Remove *.cgi from bindir.
 
 * Thu Mar 09 2006 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-6
-   - Move test.cgi and filetest.cgi to %doc.
-   - Move README to -devel %doc and add test.c and filetest.c.
+   - Move test.cgi and filetest.cgi to %%doc.
+   - Move README to -devel %%doc and add test.c and filetest.c.
    - Pass --disable-static to configure.
 
 * Thu Feb 23 2006 W. Michael Petullo <mike[@]flyn.org> - 2.2.1-5


--- cgi-util-2.2.1-autotools.patch DELETED ---




More information about the fedora-extras-commits mailing list