diff --git a/.gitignore b/.gitignore index e69de29..a1fc94e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/colord-gtk-0.1.22.tar.xz diff --git a/colord-gtk.spec b/colord-gtk.spec new file mode 100644 index 0000000..5bb41c4 --- /dev/null +++ b/colord-gtk.spec @@ -0,0 +1,79 @@ +Summary: GTK support library for colord +Name: colord-gtk +Version: 0.1.22 +Release: 1%{?dist} +License: LGPLv2+ +URL: http://www.freedesktop.org/software/colord/ +Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz + +BuildRequires: docbook-utils +BuildRequires: gettext +BuildRequires: glib2-devel +BuildRequires: colord-devel +BuildRequires: intltool +BuildRequires: lcms2-devel >= 2.2 +BuildRequires: gobject-introspection-devel +BuildRequires: vala-tools +BuildRequires: gtk3-devel +BuildRequires: gtk-doc + +%description +colord-gtk is a support library for colord and provides additional +functionality that requires GTK+. + +%package devel +Summary: Development package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Files for development with %{name}. + +%prep +%setup -q + +%build +%configure \ + --enable-gtk-doc \ + --disable-static \ + --disable-rpath \ + --disable-dependency-tracking + +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +# Remove static libs and libtool archives. +find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -name '*.a' -exec rm -f {} ';' + +%find_lang %{name} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%doc README AUTHORS NEWS COPYING +%{_libdir}/libcolord-gtk.so.* +%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib + +%files devel +%{_libdir}/libcolord-gtk.so +%{_libdir}/pkgconfig/colord-gtk.pc +%dir %{_includedir}/colord-1 +%{_includedir}/colord-1/colord-gtk.h +%dir %{_includedir}/colord-1/colord-gtk +%{_includedir}/colord-1/colord-gtk/*.h +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/ColordGtk-1.0.gir +%doc %{_datadir}/gtk-doc/html/colord-gtk +%{_datadir}/vala/vapi/colord-gtk.vapi +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html + +%changelog +* Tue Jun 26 2012 Richard Hughes 0.1.22-1 +- New version after Fedora package review. + +* Mon Jun 18 2012 Richard Hughes 0.1.1-1 +- Initial version for Fedora package review. diff --git a/sources b/sources index e69de29..52ea820 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1375d6273e6400110ce33f6f77039b7b colord-gtk-0.1.22.tar.xz