diff --git a/README.md b/README.md index 0c7400b..d536133 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # colord-gtk +GTK+ bindings for Colord. + diff --git a/colord-gtk.spec b/colord-gtk.spec new file mode 100644 index 0000000..47218d3 --- /dev/null +++ b/colord-gtk.spec @@ -0,0 +1,105 @@ +Name: colord-gtk +Version: 0.1.25 +Release: 1mamba +Summary: GTK+ bindings for Colord +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/software/colord/ +Source: http://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: colord-devel +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libicu-devel +BuildRequires: liblcms2-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +BuildRequires: libselinux-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GTK+ bindings for Colord. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure \ + --enable-vala + +# --enable-gtk-doc \ + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_libdir}/libcolord-gtk.so.* +%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/colord-1 +%{_includedir}/colord-1/colord-gtk.h +%dir %{_includedir}/colord-1/colord-gtk +%{_includedir}/colord-1/colord-gtk/cd-*.h +%{_libdir}/libcolord-gtk.a +%{_libdir}/libcolord-gtk.la +%{_libdir}/libcolord-gtk.so +%{_libdir}/pkgconfig/colord-gtk.pc +%{_datadir}/gir-1.0/ColordGtk-1.0.gir +%{_datadir}/vala/vapi/colord-gtk.vapi +%doc NEWS README TODO + +%changelog +* Wed Apr 10 2013 Silvan Calarco 0.1.25-1mamba +- package created by silvan using the webbuild interface