Blame SPECS/libgsystem.spec

ecfa61
Name:           libgsystem
ecfa61
Version:        2014.2
ecfa61
Release:        2.atomic%{?dist}
ecfa61
Summary:        GIO-based library with Unix/Linux specific API
ecfa61
ecfa61
License:        LGPLv2+
ecfa61
URL:            https://wiki.gnome.org/Projects/LibGSystem
ecfa61
Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgsystem/%{version}/libgsystem-%{version}.tar.xz
ecfa61
ecfa61
# We always run autogen.sh
ecfa61
BuildRequires: autoconf automake libtool
ecfa61
# For docs
ecfa61
BuildRequires: gtk-doc
ecfa61
# Core requirements
ecfa61
BuildRequires: pkgconfig(gio-unix-2.0)
ecfa61
BuildRequires: libattr-devel
ecfa61
BuildRequires: gobject-introspection-devel
ecfa61
ecfa61
%description
ecfa61
LibGSystem is a GIO-based library targeted primarily
ecfa61
for use by operating system components.
ecfa61
ecfa61
%package        devel
ecfa61
Summary:        Development files for %{name}
ecfa61
Requires:       %{name}%{?_isa} = %{version}-%{release}
ecfa61
Requires:       gobject-introspection-devel
ecfa61
ecfa61
%description    devel
ecfa61
The %{name}-devel package contains libraries and header files for
ecfa61
developing applications that use %{name}.
ecfa61
ecfa61
ecfa61
%prep
ecfa61
%setup -q
ecfa61
ecfa61
ecfa61
%build
ecfa61
%configure --disable-static
ecfa61
make %{?_smp_mflags}
ecfa61
ecfa61
ecfa61
%install
ecfa61
%make_install
ecfa61
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
ecfa61
ecfa61
%post -p /sbin/ldconfig
ecfa61
ecfa61
%postun -p /sbin/ldconfig
ecfa61
ecfa61
ecfa61
%files
ecfa61
%doc README COPYING
ecfa61
%{_libdir}/%{name}.so.*
ecfa61
%{_libdir}/girepository-*/*.typelib
ecfa61
ecfa61
%files devel
ecfa61
%{_includedir}/*
ecfa61
%{_libdir}/%{name}.so
ecfa61
%{_libdir}/pkgconfig/%{name}.pc
ecfa61
%{_datadir}/gir-*/*.gir
ecfa61
ecfa61
ecfa61
%changelog
ecfa61
* Tue Apr 01 2014 Colin Walters <walters@verbum.org>
ecfa61
- New upstream version
ecfa61
ecfa61
* Wed Mar 12 2014 Colin Walters <walters@redhat.com> - 2014.1-2
ecfa61
- Move typelib into main package, where it should be
ecfa61
ecfa61
* Tue Feb 18 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 2014.1-1
ecfa61
- Initial packaging