Author: qboosh Date: Sat Oct 1 17:01:22 2011 GMT Module: packages Tag: HEAD ---- Log message: - separated -libs, so no daemons are required for development - separated vala- (+vala bcond) - release 4
---- Files affected: packages/colord: colord.spec (1.8 -> 1.9) ---- Diffs: ================================================================ Index: packages/colord/colord.spec diff -u packages/colord/colord.spec:1.8 packages/colord/colord.spec:1.9 --- packages/colord/colord.spec:1.8 Wed Sep 28 21:15:54 2011 +++ packages/colord/colord.spec Sat Oct 1 19:01:17 2011 @@ -3,11 +3,13 @@ # Conditional build: %bcond_without apidocs # do not build and package API docs %bcond_without static_libs # don't build static libraries +%bcond_without vala # don't build Vala API # -Summary: Color daemon +Summary: Color daemon - system daemon for managing color devices +Summary(pl.UTF-8): Demon colord - usługa systemowa do zarządzania urządzeniami obsługującymi kolory Name: colord Version: 0.1.12 -Release: 3 +Release: 4 License: GPL v2+ and LGPL v2+ Group: Daemons Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz @@ -28,7 +30,8 @@ BuildRequires: sane-backends-devel BuildRequires: sqlite3-devel BuildRequires: udev-glib-devel -BuildRequires: vala +%{?with_vala:BuildRequires: vala} +Requires: %{name}-libs = %{version}-%{release} Suggests: shared-color-profiles BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -36,11 +39,28 @@ colord is a low level system activated daemon that maps color devices to color profiles in the system context. +%description -l pl.UTF-8 +colord to niskopoziomowa usługa systemowa odwzorowująca urządzenia +obsługujące kolory na profile kolorów w kontekście systemu. + +%package libs +Summary: colord library +Summary(pl.UTF-8): Biblioteka colord +Group: Libraries +Suggests: %{name} = %{version}-%{release} +Conflicts: colord < 0.1.12-4 + +%description libs +colord library. + +%description libs -l pl.UTF-8 +Biblioteka colord. + %package devel Summary: Header files for colord library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki colord Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} Requires: dbus-devel Requires: glib2-devel >= 1:2.28.0 @@ -74,6 +94,18 @@ %description apidocs -l pl.UTF-8 Dokumentacja API colord. +%package -n vala-colord +Summary: colord API for Vala language +Summary(pl.UTF-8): API colord dla języka Vala +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description -n vala-colord +colord API for Vala language. + +%description -n vala-colord -l pl.UTF-8 +API colord dla języka Vala. + %prep %setup -q @@ -110,8 +142,8 @@ %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) @@ -120,8 +152,6 @@ %attr(755,root,root) %{_bindir}/cd-fix-profile %attr(755,root,root) %{_bindir}/colormgr %attr(755,root,root) %{_libexecdir}/colord -%attr(755,root,root) %{_libdir}/libcolord.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libcolord.so.1 %dir %{_libdir}/colord-sensors %attr(755,root,root) %{_libdir}/colord-sensors/libcolord_sensor_dummy.so %attr(755,root,root) %{_libdir}/colord-sensors/libcolord_sensor_huey.so @@ -142,6 +172,11 @@ /lib/udev/rules.d/69-cd-sensors.rules /lib/udev/rules.d/95-cd-devices.rules %dir /var/lib/colord + +%files libs +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libcolord.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libcolord.so.1 %{_libdir}/girepository-1.0/Colord-1.0.typelib %files devel @@ -149,7 +184,6 @@ %attr(755,root,root) %{_libdir}/libcolord.so %{_includedir}/colord-1 %{_pkgconfigdir}/colord.pc -%{_datadir}/vala/vapi/colord.vapi %{_datadir}/gir-1.0/Colord-1.0.gir %if %{with static_libs} @@ -164,12 +198,23 @@ %{_gtkdocdir}/colord %endif +%if %{with vala} +%files -n vala-colord +%defattr(644,root,root,755) +%{_datadir}/vala/vapi/colord.vapi +%endif + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedb...@pld-linux.org> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.9 2011/10/01 17:01:17 qboosh +- separated -libs, so no daemons are required for development +- separated vala- (+vala bcond) +- release 4 + Revision 1.8 2011/09/28 19:15:54 wiget - rel. 3 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/colord/colord.spec?r1=1.8&r2=1.9&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit