Blame SPECS/rpm-ostree-client.spec

a17ba1
Summary: Client side upgrade program
a17ba1
Name: rpm-ostree-client
ce5866
Version: 2015.11
ce5866
Release: 1.atomic%{?dist}.1
a17ba1
#VCS: https://github.com/cgwalters/rpm-ostree
a17ba1
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot-without-compose-tooling"
ce5866
Source0: rpm-ostree-client-%{version}.tar.xz
a17ba1
License: LGPLv2+
a17ba1
URL: https://github.com/projectatomic/rpm-ostree
e5b71e
BuildRequires: git
a17ba1
# We always run autogen.sh
a17ba1
BuildRequires: autoconf automake libtool
a17ba1
# For docs
a17ba1
BuildRequires: gtk-doc
a17ba1
BuildRequires: gnome-common
a17ba1
BuildRequires: pkgconfig(ostree-1) >= 2014.7
a17ba1
BuildRequires: pkgconfig(libgsystem)
a17ba1
BuildRequires: pkgconfig(json-glib-1.0)
a17ba1
BuildRequires: pkgconfig(hawkey) >= 0.5.0
700512
BuildRequires: pkgconfig(libhif)
a17ba1
BuildRequires: pkgconfig(rpm)
a17ba1
BuildRequires: libcap-devel
a17ba1
a17ba1
Requires: ostree >= 2014.7
a17ba1
a17ba1
Conflicts: rpm-ostree
a17ba1
a17ba1
%description
a17ba1
This tool binds together the world of RPM packages with
a17ba1
the OSTree model of bootable filesystem trees.  It provides commands
a17ba1
usable on client systems to upgrade and rollback.
a17ba1
a17ba1
%prep
ce5866
%autosetup -Sgit -n %{name}-%{version}
a17ba1
a17ba1
%build
a17ba1
env NOCONFIGURE=1 ./autogen.sh
700512
%configure --disable-silent-rules --enable-gtk-doc --disable-compose-tooling
a17ba1
make %{?_smp_mflags}
a17ba1
a17ba1
%install
a17ba1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
700512
find $RPM_BUILD_ROOT -name '*.la' -delete
700512
rm $RPM_BUILD_ROOT/%{_libdir}/lib*.so
700512
rm $RPM_BUILD_ROOT/%{_includedir} -rf
700512
rm $RPM_BUILD_ROOT/%{_libdir}/pkgconfig -rf
700512
rm $RPM_BUILD_ROOT/%{_datadir}/gtk-doc/html -rf
700512
rm $RPM_BUILD_ROOT/%{_datadir}/gir-1.0 -rf
a17ba1
d94648
# I try to do continuous delivery via rpmdistro-gitoverlay while
d94648
# reusing the existing spec files.  Currently RPM only supports
d94648
# mandatory file entries.  What this is doing is making each file
d94648
# entry optional - if it exists it will be picked up.  That
d94648
# way the same spec file works more easily across multiple versions where e.g. an
d94648
# older version might not have a systemd unit file.
d94648
cat > autofiles.py <
d94648
#!/usr/bin/python
d94648
import os,sys,glob
d94648
os.chdir(os.environ['RPM_BUILD_ROOT'])
d94648
for line in sys.argv[1:]:
d94648
    if line == '':
d94648
        break
d94648
    assert(line[0] == '/')
d94648
    files = glob.glob(line[1:])
d94648
    if len(files) > 0:
d94648
        sys.stderr.write('{0} matched {1} files\n'.format(line, len(files)))
d94648
        sys.stdout.write(line)
d94648
        sys.stdout.write('\n')
d94648
    else:
d94648
        sys.stderr.write('{0} did not match any files\n'.format(line))
d94648
EOF
d94648
python autofiles.py > files \
d94648
  '%{_bindir}/*' \
d94648
  '%{_libdir}/rpm-ostree/' \
d94648
  '%{_libdir}/*.so.*' \
d94648
  '%{_mandir}/man*/*' \
d94648
  '%{_libdir}/girepository-1.0/*.typelib' \
d94648
  '%{_sysconfdir}/dbus-1/system.d/*' \
d94648
  '%{_prefix}/lib/systemd/system/*' \
d94648
  '%{_libexecdir}/rpm-ostree*' \
d94648
  '%{_datadir}/dbus-1/system-services'
d94648
d94648
%files -f files
a17ba1
%doc COPYING README.md
a17ba1
a17ba1
%changelog
ce5866
* Tue Dec 15 2015 Colin Walters <walters@redhat.com> - 2015.11-1.atomic.1
ce5866
- New upstream version
ce5866
d94648
* Tue Oct 06 2015 Colin Walters <walters@redhat.com> - 2015.9-2.atomic.1
d94648
- New upstream version
d94648
d94648
* Fri Sep 25 2015 Colin Walters <walters@redhat.com> - 2015.5-4.atomic.1
d94648
- Rebuild
d94648
700512
* Wed Jun 10 2015 Colin Walters <walters@redhat.com> - 2015.5-4.atomic
700512
- Backport version number patch
700512
700512
* Mon May 18 2015 Colin Walters <walters@redhat.com> - 2015.5-3.atomic
700512
- Drop devel subpackage, use the main rpm-ostree client package for that
700512
700512
* Mon May 18 2015 Colin Walters <walters@redhat.com> - 2015.5-2.atomic
700512
- Rebuild against latest libhif
700512
700512
* Fri May 15 2015 Colin Walters <walters@redhat.com> - 2015.5-1.atomic
700512
- Rebase to Fedora rawhide
700512
e5b71e
* Fri Apr 17 2015 Colin Walters <walters@redhat.com> - 2015.3-3.atomic
e5b71e
- Backport client side GPG verification status patches
e5b71e
a17ba1
* Fri Jan 23 2015 Colin Walters <walters@redhat.com> - 2015.3-2.atomic
a17ba1
- New usptream release
a17ba1
a17ba1
* Fri Jan 23 2015 Colin Walters <walters@redhat.com> - 2015.2-3.atomic
a17ba1
- Drop /usr/bin/atomic symlink, this name is now taken by the docker
a17ba1
  package. 
a17ba1
a17ba1
* Fri Jan 09 2015 Colin Walters <walters@redhat.com> - 2015.2-2.atomic
a17ba1
- New upstream version
a17ba1
a17ba1
* Fri Dec 19 2014 Colin Walters <walters@redhat.com> - 2014.109-3.atomic
a17ba1
- Rebuild for 7.1
a17ba1
a17ba1
* Fri Oct 24 2014 Colin Walters <walters@redhat.com> - 2014.109-2.atomic
a17ba1
- New upstream version
a17ba1
a17ba1
* Thu Oct 16 2014 Colin Walters <walters@redhat.com> - 2014.108-2.atomic
a17ba1
- New upstream version
a17ba1
a17ba1
* Mon Sep 29 2014 Colin Walters <walters@redhat.com> - 2014.106.2.g0f16e2e-4.atomic
a17ba1
- rebuilt
a17ba1
a17ba1
* Mon Sep 29 2014 Colin Walters <walters@redhat.com> - 2014.106.2.g0f16e2e-3.atomic
a17ba1
- rebuilt
a17ba1
a17ba1
* Mon Sep 29 2014 Colin Walters <walters@redhat.com> - 2014.106.2.g0f16e2e-2.atomic
a17ba1
- rebuilt
a17ba1
a17ba1
* Wed Sep 17 2014 Colin Walters <walters@redhat.com>
a17ba1
- Initial split package for compose tooling