Author: arvenil                      Date: Sat Mar 15 12:39:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added gconf backend
- backends excluded to subpackages
  (except keyfile which is default and required by libs package)
- BR: GConf2-devel
- BR: kdelibs-devel
- sorted

---- Files affected:
SPECS:
   mcs.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/mcs.spec
diff -u SPECS/mcs.spec:1.15 SPECS/mcs.spec:1.16
--- SPECS/mcs.spec:1.15 Sat Mar 15 10:57:33 2008
+++ SPECS/mcs.spec      Sat Mar 15 13:39:27 2008
@@ -12,8 +12,10 @@
 Source0:       http://distfiles.atheme.org/lib%{name}-%{version}.tgz
 # Source0-md5: 0f0c779609b3481a79937c2e86660a99
 URL:           http://www.atheme.org/projects/mcs.shtml
+BuildRequires: GConf2-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: kdelibs-devel
 BuildRequires: libmowgli-devel >= 0.4.0
 BuildRequires: qt-devel
 Requires:      %{name}-libs = %{version}-%{release}
@@ -38,16 +40,39 @@
 żadnych konkretnych wymagań co do przechowywania danych ani nie jest
 związana z żadnym środowiskiem graficznym czy pakietem oprogramowania.
 
-%package libs
-Summary:       mcs library
-Summary(pl.UTF-8):     Biblioteka mcs
-Group:         Libraries
+%package backend-gconf
+Summary:       The gconf backend for mcs
+Summary(pl.UTF-8):     Backend gconf dla mcs
+Group:         X11/Applications
+Requires:      %{name}-libs = %{version}-%{release}
+Provides:      %{name}-backend = %{version}-%{release}
 
-%description libs
-mcs library.
+%description backend-gconf
+The gconf backend for mcs. It uses the GConf configuration system to
+store configuration and provides integration into the GNOME desktop
+environment.
+
+%description backend-gconf -l pl.UTF-8
+Backend gconf dla mcs. Używa systemu konfiguracji GConf do
+przechowywania konfiguracji i zapewnia intergrację ze środowiskiem
+GNOME.
+
+%package backend-kconfig
+Summary:       The kconfig backend for mcs
+Summary(pl.UTF-8):     Backend kconfig dla mcs
+Group:         X11/Applications
+Requires:      %{name}-libs = %{version}-%{release}
+Provides:      %{name}-backend = %{version}-%{release}
 
-%description libs -l pl.UTF-8
-Biblioteka mcs.
+%description backend-kconfig
+The kconfig backend for mcs. It uses the KDE configuration system to
+store configuration and provides integration into the KDE desktop
+environment.
+
+%description backend-kconfig -l pl.UTF-8
+Backend kconfig dla mcs. Używa systemu konfiguracji KDE do
+przechowywania konfiguracji i zapewnia intergrację ze środowiskiem
+KDE.
 
 %package devel
 Summary:       Header files for mcs
@@ -61,6 +86,17 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe mcs.
 
+%package libs
+Summary:       mcs library
+Summary(pl.UTF-8):     Biblioteka mcs
+Group:         Libraries
+
+%description libs
+mcs library.
+
+%description libs -l pl.UTF-8
+Biblioteka mcs.
+
 %prep
 %setup -q -n lib%{name}-%{version}
 
@@ -71,8 +107,7 @@
 export CFLAGS CPPFLAGS QTDIR
 %{__aclocal} -I m4
 %{__autoconf}
-%configure \
-       --disable-gconf
+%configure
 %{__make}
 
 %install
@@ -96,12 +131,12 @@
 %attr(755,root,root) %{_bindir}/%{name}-setconfval
 %attr(755,root,root) %{_bindir}/%{name}-walk-config
 
-%files libs
+%files backend-gconf
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/gconf.so
+
+%files backend-kconfig
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmcs.so.*.*.*
-%ghost %attr(755,root,root) %{_libdir}/libmcs.so.?
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/keyfile.so
 %attr(755,root,root) %{_libdir}/%{name}/kconfig.so
 
 %files devel
@@ -110,12 +145,27 @@
 %{_includedir}/libmcs
 %{_pkgconfigdir}/libmcs.pc
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmcs.so.*.*.*
+%ghost %attr(755,root,root) %{_libdir}/libmcs.so.?
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/keyfile.so
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008-03-15 12:39:27  arvenil
+- added gconf backend
+- backends excluded to subpackages
+  (except keyfile which is default and required by libs package)
+- BR: GConf2-devel
+- BR: kdelibs-devel
+- sorted
+
 Revision 1.15  2008-03-15 09:57:33  arvenil
 - up to 0.7.0
 - sonamefix.patch already in sources
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mcs.spec?r1=1.15&r2=1.16&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to