123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- %define ver 2.4
- Summary: The C++ interface for the libglade user interface library.
- Summary(ja): libglade ライブラリの C++ インターフェイス
- Name: libglademm2
- Version: 2.6.7
- Release: 2%{?_dist_release}
- License: LGPL
- Group: System Environment/Libraries
- Source: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2
- URL: http://gtkmm.sourceforge.net/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires: libglade2 >= 2.3.6, gtkmm2 >= 2.6.0
- BuildRequires: gcc-c++, libglade2-devel >= 2.3.6, gtkmm2-devel >= 2.6.0
- %description
- The C++ interface for the libglade user interface library.
- %package devel
- Summary: Development libraries and headers for libglademm2.
- Summary(ja): libglademm2 の開発用ライブラリおよびヘッダファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: libglade2-devel >= 2.3.6
- Requires: gtkmm2-devel >= 2.6.0
- %description devel
- Development files for libglademm2, the C++ interface for the libglade user
- interface library.
- %prep
- %setup -q -n libglademm-%{version}
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- %makeinstall
- find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
- # Fix documentation installation, put everything under gtk-doc
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}
- mv ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libglademm-%{ver}/
- # devhelp path fix
- sed -i 's/..\/..\/..\/doc\/gnomemm-2.6/..\/..\/..\/gtk-doc\/html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
- sed -i 's/html\/..\/..\/index\.html/html\/index\.html/g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/libglademm-%{ver}/libglademm-%{ver}.devhelp
- # Clean up docs
- #rm -rf examples/*/.deps
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %clean
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-, root, root)
- %doc AUTHORS COPYING ChangeLog NEWS README TODO
- %{_libdir}/*.so.*
- %files devel
- %defattr(-, root, root)
- #doc examples
- %{_includedir}/*
- #{_libdir}/*.a
- #{_libdir}/*.la
- %{_libdir}/*.so
- %{_libdir}/libglademm-2.4
- %{_libdir}/pkgconfig/*.pc
- %{_datadir}/devhelp/books/libglademm-2.4
- %{_datadir}/gtk-doc/html/*
- %changelog
- * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.6.7-2
- - build with rpm-4.8.1-1 for pkg-config file
- * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.7-1
- - new upstream release
- - spec in UTF-8
- - added --disable-static for removing *.a files from devel package
- * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.6-1vl5
- - new upstream release
- - devel documents are installed into gtk-doc dir
- - removed *.la files from devel package
- * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.5-0vl1
- - new upstream release
- * Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl2
- - rebuilt with new toolchains
- * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.3-0vl1
- - new upstream release
- * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.2-0vl1
- - new upstream release
- * Fri Sep 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.1-0vl1
- - new upstream release
- - rebuild with gtkmm-2.8.0
- * Wed Nov 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.4.1-0vl1
- - new upstream release
- - build with gtkmm-2.4.7
- - fixed devhelp path
- * Fri Jan 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.1-2vl1
- - rebuild for Vine Linux
- * Thu Nov 13 2003 Matthias Saou <http://freshrpms.net/> - 2.0.1-2.fr
- - Rebuild for Fedora Core 1.
- * Thu May 8 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
- - Initial RPM release.
|