rpms/dovecot/F-9 dovecot.spec,1.100,1.101

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Sat Jun 7 11:29:11 UTC 2008


Author: sharkcz

Update of /cvs/pkgs/rpms/dovecot/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14188

Modified Files:
	dovecot.spec 
Log Message:
* Sat Jun 07 2008 Dan Horak <dan[at]danny.cz> - 1:1.0.14-8
- build devel subpackage (Resolves: #306881)



Index: dovecot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/F-9/dovecot.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- dovecot.spec	6 Jun 2008 08:48:19 -0000	1.100
+++ dovecot.spec	7 Jun 2008 11:28:11 -0000	1.101
@@ -3,7 +3,7 @@
 %define upstream 1.0.14
 %define sieve_upstream 1.0.3
 %define pkg_version 1.0.14
-%define my_release 7
+%define my_release 8
 %define pkg_release %{my_release}%{?dist}
 %define pkg_sieve_version 1.0.3
 %define pkg_sieve_release %{my_release}%{?dist}
@@ -166,6 +166,13 @@
 #This package provides the GSSAPI auth mechanism plugin for dovecot-auth etc.
 #%endif
 
+%package devel
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Summary: Development files dor dovecot
+Group: Development/Libraries
+%description devel
+This package provides the development files for dovecot.
+
 
 %prep
 
@@ -191,7 +198,8 @@
 autoreconf -i
 %configure                           \
     INSTALL_DATA="install -c -p -m644" \
-    --with-doc                         \
+    --enable-header-install      \
+    --with-doc                   \
 %if %{build_postgres}
     --with-pgsql                 \
 %endif
@@ -297,13 +305,12 @@
 
 #remove the static libs and libtool archives
 find $RPM_BUILD_ROOT/%{_libdir}/%{name}/ -name '*.a' -or -name '*.la' | xargs rm -f
-rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/dovecot-config
 
 #prepare the filelist
 (
     find ${RPM_BUILD_ROOT}/%{_libdir}/%{name} -type d | sed -e "s|^|%dir |";
     find ${RPM_BUILD_ROOT}/%{_libdir}/%{name} -! -type d | \
-	grep -v 'lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so';
+	grep -v 'dovecot-config\|lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so';
 ) | sed -e "s|$RPM_BUILD_ROOT||" >libs.filelist
 
 %pre
@@ -416,7 +423,16 @@
 #%{_libdir}/%{name}/auth/libmech_gssapi.so
 #%endif
 
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}
+%{_libdir}/%{name}/dovecot-config
+
+
 %changelog
+* Sat Jun 07 2008 Dan Horak <dan[at]danny.cz> - 1:1.0.14-8
+- build devel subpackage (Resolves: #306881)
+
 * Fri Jun 06 2008 Dan Horák <dan[at]danny.cz> - 1:1.0.14-7
 - update to latest upstream stable (dovecot 1.0.14, sieve plugin 1.0.3)
 - Resolves: #445200, #448095, #450010




More information about the fedora-extras-commits mailing list