Blame SPECS/dbusmenu-qt.spec

18fe73
18fe73
Summary: A Qt implementation of the DBusMenu protocol 
18fe73
Name:    dbusmenu-qt
18fe73
Version: 0.9.2
18fe73
Release: 7%{?dist}
18fe73
18fe73
Group: System Environment/Libraries
18fe73
License: LGPLv2+
18fe73
URL: https://launchpad.net/libdbusmenu-qt/
18fe73
Source0  https://launchpad.net/libdbusmenu-qt/trunk/%{version}/+download/libdbusmenu-qt-%{version}.tar.bz2
18fe73
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
18fe73
18fe73
## upstream patches
18fe73
18fe73
BuildRequires: cmake
18fe73
BuildRequires: doxygen
18fe73
BuildRequires: pkgconfig
18fe73
BuildRequires: pkgconfig(QJson)
18fe73
BuildRequires: pkgconfig(QtDBus) pkgconfig(QtGui) 
18fe73
# test-suite
18fe73
BuildRequires: xorg-x11-server-Xvfb dbus-x11
18fe73
18fe73
Provides: libdbusmenu-qt = %{version}-%{release}
18fe73
18fe73
%description
18fe73
This library provides a Qt implementation of the DBusMenu protocol.
18fe73
18fe73
The DBusMenu protocol makes it possible for applications to export and import
18fe73
their menus over DBus.
18fe73
18fe73
18fe73
%package devel
18fe73
Summary: Development files for %{name}
18fe73
Group:   Development/Libraries
18fe73
Provides: libdbusmenu-devel = %{version}-%{release}
18fe73
Requires: %{name}%{?_isa} = %{version}-%{release}
18fe73
%description devel
18fe73
%{summary}.
18fe73
18fe73
%package devel-docs
18fe73
Summary: API documentation for %{name}
18fe73
Requires: %{name} = %{version}-%{release}
18fe73
BuildArch: noarch
18fe73
%description devel-docs
18fe73
%{summary}.
18fe73
18fe73
18fe73
%prep
18fe73
%setup -q -n libdbusmenu-qt-%{version}
18fe73
18fe73
18fe73
%build
18fe73
mkdir -p %{_target_platform}
18fe73
pushd %{_target_platform}
18fe73
%{cmake} .. 
18fe73
popd
18fe73
18fe73
make %{?_smp_mflags} -C %{_target_platform}
18fe73
18fe73
18fe73
%install
18fe73
rm -rf %{buildroot}
18fe73
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
18fe73
18fe73
# unpackaged files
18fe73
rm -rf %{buildroot}%{_docdir}/dbusmenu-qt
18fe73
18fe73
18fe73
%check
18fe73
# verify pkg-config version
18fe73
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
18fe73
test "$(pkg-config --modversion dbusmenu-qt)" = "%{version}"
18fe73
# test suite
18fe73
xvfb-run dbus-launch make -C %{_target_platform} check ||:
18fe73
18fe73
18fe73
%clean
18fe73
rm -rf %{buildroot} 
18fe73
18fe73
18fe73
%post -p /sbin/ldconfig
18fe73
%postun -p /sbin/ldconfig
18fe73
18fe73
%files
18fe73
%defattr(-,root,root,-)
18fe73
%doc COPYING README
18fe73
%{_libdir}/libdbusmenu-qt.so.2*
18fe73
18fe73
%files devel
18fe73
%defattr(-,root,root,-)
18fe73
%{_includedir}/dbusmenu-qt/
18fe73
%{_libdir}/libdbusmenu-qt.so
18fe73
%{_libdir}/pkgconfig/dbusmenu-qt.pc
18fe73
18fe73
%files devel-docs
18fe73
%defattr(-,root,root,-)
18fe73
%doc %{_target_platform}/html/
18fe73
18fe73
%changelog
18fe73
* Tue Mar 18 2014 Lukáš Tinkl <ltinkl@redhat.com> - 0.9.2-7
18fe73
- Resolves rhbz#1076410 - dbusmenu-qt has multilib conflicts
18fe73
18fe73
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.9.2-6
18fe73
- Mass rebuild 2014-01-24
18fe73
18fe73
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.2-5
18fe73
- Mass rebuild 2013-12-27
18fe73
18fe73
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-4
18fe73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
18fe73
18fe73
* Mon Oct 08 2012 Than Ngo <than@redhat.com> - 0.9.2-3
18fe73
- fix url
18fe73
18fe73
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
18fe73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
18fe73
18fe73
* Mon Apr 30 2012 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
18fe73
- 0.9.2
18fe73
18fe73
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
18fe73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
18fe73
18fe73
* Tue Dec 27 2011 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-2
18fe73
- fix %%check
18fe73
18fe73
* Sat Oct 01 2011 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-1
18fe73
- 0.9.0
18fe73
- pkgconfig-style deps
18fe73
18fe73
* Thu Jun 16 2011 Rex Dieter <rdieter@fedoraproject.org> 0.8.2-2
18fe73
- rebuild
18fe73
18fe73
* Fri May 20 2011 Rex Dieter <rdieter@fedoraproject.org> 0.8.2-1
18fe73
- 0.8.2
18fe73
18fe73
* Fri May 20 2011 Rex Dieter <rdieter@fedoraproject.org> 0.6.6-1
18fe73
- 0.6.6
18fe73
18fe73
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-3
18fe73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
18fe73
18fe73
* Wed Sep 29 2010 jkeating - 0.6.3-2
18fe73
- Rebuilt for gcc bug 634757
18fe73
18fe73
* Tue Sep 21 2010 Rex Dieter <rdieter@fedoraproject.org> 0.6.3-1
18fe73
- dbusmenu-qt-0.6.3
18fe73
- include kubuntu_00_external_contributions.diff 
18fe73
18fe73
* Fri Aug 06 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-1
18fe73
- dbusmenu-qt-0.5.2
18fe73
18fe73
* Fri May 21 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.3-1
18fe73
- dbusmenu-qt-0.3.3
18fe73
18fe73
* Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-2
18fe73
- pkg rename s/libdbusmenu-qt/dbusmenu-qt/
18fe73
- Provides: libdbusmenu-qt(-devel)
18fe73
18fe73
* Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-1
18fe73
- dbusmenu-qt-0.3.2
18fe73