Blame SPECS/libgsystem.spec

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