|
Kalev Lember |
1a58f9 |
%global apiver 1.6
|
|
Kalev Lember |
1a58f9 |
# first two digits of version
|
|
Kalev Lember |
1a58f9 |
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
Name: atkmm
|
|
Kalev Lember |
323844 |
Version: 2.22.2
|
|
Dennis Gilmore |
10edb0 |
Release: 2%{?dist}
|
|
Kalev Lember |
1a58f9 |
Summary: C++ interface for the ATK library
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
Group: System Environment/Libraries
|
|
Kalev Lember |
1a58f9 |
License: LGPLv2+
|
|
Kalev Lember |
1a58f9 |
URL: http://www.gtkmm.org/
|
|
Kalev Lember |
1a58f9 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/atkmm/%{release_version}/atkmm-%{version}.tar.bz2
|
|
Kalev Lember |
1a58f9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
BuildRequires: atk-devel
|
|
Kalev Lember |
1a58f9 |
BuildRequires: glibmm24-devel
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
# atkmm was split out into a separate package in gtkmm24 2.21.1
|
|
Kalev Lember |
1a58f9 |
Conflicts: gtkmm24 < 2.21.1
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%description
|
|
Kalev Lember |
1a58f9 |
atkmm provides a C++ interface for the ATK library. Highlights
|
|
Kalev Lember |
1a58f9 |
include typesafe callbacks, widgets extensible via inheritance and a
|
|
Kalev Lember |
1a58f9 |
comprehensive set of widget classes that can be freely combined to
|
|
Kalev Lember |
1a58f9 |
quickly create complex user interfaces.
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%package devel
|
|
Kalev Lember |
1a58f9 |
Summary: Development files for %{name}
|
|
Kalev Lember |
1a58f9 |
Group: Development/Libraries
|
|
Kalev Lember |
1a58f9 |
Requires: %{name} = %{version}-%{release}
|
|
Kalev Lember |
1a58f9 |
Requires: atk-devel
|
|
Kalev Lember |
1a58f9 |
Requires: glibmm24-devel
|
|
Kalev Lember |
1a58f9 |
Conflicts: gtkmm24-devel < 2.21.1
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%description devel
|
|
Kalev Lember |
1a58f9 |
The %{name}-devel package contains libraries and header files for
|
|
Kalev Lember |
1a58f9 |
developing applications that use %{name}.
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%prep
|
|
Kalev Lember |
1a58f9 |
%setup -q
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%build
|
|
Kalev Lember |
1a58f9 |
%configure --disable-static
|
|
Kalev Lember |
1a58f9 |
make %{?_smp_mflags}
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%install
|
|
Kalev Lember |
1a58f9 |
rm -rf $RPM_BUILD_ROOT
|
|
Kalev Lember |
1a58f9 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
Kalev Lember |
1a58f9 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
# Fix documentation installation, put everything under gtk-doc and fix
|
|
Kalev Lember |
1a58f9 |
# relative paths.
|
|
Kalev Lember |
1a58f9 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/atkmm-%{apiver}
|
|
Kalev Lember |
1a58f9 |
mv $RPM_BUILD_ROOT%{_docdir}/atkmm-%{apiver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/atkmm-%{apiver}/
|
|
Kalev Lember |
1a58f9 |
mv $RPM_BUILD_ROOT%{_datadir}/devhelp/books/atkmm-%{apiver}/*.devhelp2 $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/atkmm-%{apiver}
|
|
Kalev Lember |
1a58f9 |
# Fix broken devhelp base tag
|
|
Kalev Lember |
1a58f9 |
sed -i 's:base="[^\"]*":base="/usr/share/gtk-doc/html/atkmm-%{apiver}/reference/html":' $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/atkmm-%{apiver}/*.devhelp2
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%clean
|
|
Kalev Lember |
1a58f9 |
rm -rf $RPM_BUILD_ROOT
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%post -p /sbin/ldconfig
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%postun -p /sbin/ldconfig
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%files
|
|
Kalev Lember |
1a58f9 |
%defattr(-,root,root,-)
|
|
Kalev Lember |
1a58f9 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
Kalev Lember |
1a58f9 |
%{_libdir}/*.so.*
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%files devel
|
|
Kalev Lember |
1a58f9 |
%defattr(-,root,root,-)
|
|
Kalev Lember |
1a58f9 |
%{_includedir}/atkmm-%{apiver}/
|
|
Kalev Lember |
1a58f9 |
%{_libdir}/*.so
|
|
Kalev Lember |
1a58f9 |
%{_libdir}/pkgconfig/*.pc
|
|
Kalev Lember |
1a58f9 |
%{_libdir}/atkmm-%{apiver}/
|
|
Kalev Lember |
c1c093 |
%{_datadir}/gtk-doc/
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
%changelog
|
|
Dennis Gilmore |
10edb0 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.2-2
|
|
Dennis Gilmore |
10edb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
10edb0 |
|
|
Kalev Lember |
323844 |
* Thu Jan 13 2011 Kalev Lember <kalev@smartlink.ee> - 2.22.2-1
|
|
Kalev Lember |
323844 |
- Update to 2.22.2
|
|
Kalev Lember |
323844 |
|
|
Kalev Lember |
650b1e |
* Tue Sep 28 2010 Kalev Lember <kalev@smartlink.ee> - 2.22.0-1
|
|
Kalev Lember |
650b1e |
- Update to 2.22.0
|
|
Kalev Lember |
650b1e |
|
|
Kalev Lember |
c1c093 |
* Tue Sep 14 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.2-2
|
|
Kalev Lember |
c1c093 |
- Co-own /usr/share/gtk-doc/ directory (#604169)
|
|
Kalev Lember |
c1c093 |
|
|
Kalev Lember |
1a58f9 |
* Wed Jun 30 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.2-1
|
|
Kalev Lember |
1a58f9 |
- Update to 2.21.2
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
* Sat Jun 26 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.1-2
|
|
Kalev Lember |
1a58f9 |
- added missing Conflicts: gtkmm24-devel to -devel subpackage
|
|
Kalev Lember |
1a58f9 |
- calculate two-digit download directory from three-digit package version
|
|
Kalev Lember |
1a58f9 |
|
|
Kalev Lember |
1a58f9 |
* Wed Jun 23 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.1-1
|
|
Kalev Lember |
1a58f9 |
- Initial RPM release
|