rpms/dovecot/devel dovecot.spec,1.103,1.104

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Fri Jun 6 16:29:53 UTC 2008


Author: sharkcz

Update of /cvs/pkgs/rpms/dovecot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12416

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



Index: dovecot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dovecot/devel/dovecot.spec,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- dovecot.spec	5 Jun 2008 10:14:51 -0000	1.103
+++ dovecot.spec	6 Jun 2008 16:29:09 -0000	1.104
@@ -2,7 +2,7 @@
 Name: dovecot
 Epoch: 1
 Version: 1.0.14
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT and LGPLv2 and BSD with advertising
 Group: System Environment/Daemons
 
@@ -141,6 +141,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
 
@@ -163,6 +170,7 @@
 autoreconf -i
 %configure                           \
     INSTALL_DATA="install -c -p -m644" \
+    --enable-header-install      \
     --disable-static             \
 %if %{build_postgres}
     --with-pgsql                 \
@@ -268,13 +276,11 @@
 #remove the libtool archives
 find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -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
 
 
@@ -375,7 +381,16 @@
 #%{_libdir}/%{name}/auth/libmech_gssapi.so
 #%endif
 
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}
+%{_libdir}/%{name}/dovecot-config
+
+
 %changelog
+* Fri Jun  6 2008 Dan Horak <dan[at]danny.cz> - 1:1.0.14-3
+- build devel subpackage (Resolves: #306881)
+
 * Thu Jun  5 2008 Dan Horak <dan[at]danny.cz> - 1:1.0.14-2
 - install convert-tool (Resolves: #450010)
 




More information about the fedora-extras-commits mailing list