Initial package version
This commit is contained in:
parent
d2acac8164
commit
336842d281
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/colord-gtk-0.1.22.tar.xz
|
79
colord-gtk.spec
Normal file
79
colord-gtk.spec
Normal file
@ -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 <richard@hughsie.com> 0.1.22-1
|
||||||
|
- New version after Fedora package review.
|
||||||
|
|
||||||
|
* Mon Jun 18 2012 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
||||||
|
- Initial version for Fedora package review.
|
Loading…
Reference in New Issue
Block a user