123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- %define helpdir glade3
- Version: 3.16.0
- Release: 1%{?_dist_release}
- Summary: A user interface builder for the GTK+ toolkit and GNOME
- Summary(ja): GTK+ツールキット及びGNOME向けのユーザインターフェースビルダー
- Name: glade3
- License: GPL
- Group: Applications/Development
- URL: http://glade.gnome.org/
- Source0: http://ftp.gnome.org/pub/GNOME/sources/glade/3.16/glade-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk3-devel >= 3.0.2
- BuildRequires: libxml2-devel >= 2.4.0
- BuildRequires: python-devel
- BuildRequires: pygobject3-devel
- BuildRequires: libSM-devel
- BuildRequires: yelp-tools
- BuildRequires: docbook-style-xsl
- Requires: gtk3 >= 3.0.2
- Requires: libxml2 >= 2.4.0
- Requires: pygobject3
- Requires: devhelp
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- Glade is a RAD tool to enable quick & easy development of user interfaces
- for the Gtk+ toolkit and the GNOME desktop environment.
- The user interfaces designed in Glade are stored in XML format,
- enabling easy integration with external tools.
- In particular libglade can load the XML files and create the interfaces
- at runtime. The DTD for the XML files is included with libglade, and is
- also at http://glade.gnome.org/glade-2.0.dtd.
- Other tools are available which can turn the XML files into source code
- in languages such as C++, Perl and Python.
- %description -l ja
- Gladeは、GTK+ツールキットやGNOME向けのユーザインターフェースを素早く簡単に開
- 発する事が可能なRADツールです。
- Gladeでデザインされたユーザインターフェースは外部ツールに用意に統合可能なXML
- フォーマットで保存されます。
- 特にlibgladeは、XMLファイルを読み込み、ランタイムにインターフェースを生成す
- ることが出来ます。このXMLファイルのDTDは、libgladeに含まれており、
- http://glade.gnome.org/glade-2.0.dtdにもあります。
- このXMLファイルをC++、PerlやPythonといった言語のソースコードに変換する他のツー
- ルも利用可能です。
- %package devel
- Summary: the Glade UI Builder core library
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- the Glade UI Builder core library to integrate Glade into your application
- and integrate your custom (GTK+ based) widget toolkit into the Glade
- UI Builder.
- %prep
- %setup -q -n glade-%{version}
- pushd src
- ## change gnome help directory
- mv glade-window.c glade-window.c.orig
- sed "s|GLADE_GNOMEHELPDIR, \"glade\"|GLADE_GNOMEHELPDIR, \"%{helpdir}\"|" \
- glade-window.c.orig > glade-window.c
- popd
- %build
- %configure --disable-static
- %__make %{_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
- rm -f $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.la
- rm -f $RPM_BUILD_ROOT%{_libdir}/libgladeui-2.la
- %find_lang glade --all-name --with-gnome
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/ldconfig
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- %postun
- /sbin/ldconfig
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- %files -f glade.lang
- %defattr(-,root,root)
- %{_bindir}/glade
- %{_bindir}/glade-previewer
- %{_libdir}/libgladeui-2.so.*
- %{_libdir}/glade/modules/*.so
- %{_libdir}/girepository-1.0/Gladeui-2.0.typelib
- %{_datadir}/appdata/glade.appdata.xml
- %{_datadir}/applications/glade.desktop
- %{_datadir}/glade
- %{_datadir}/icons/hicolor/*/apps/glade.png
- %{_mandir}/man1/glade-previewer.1.gz
- %{_mandir}/man1/glade.1.gz
- %files devel
- %defattr(-,root,root)
- %{_includedir}/libgladeui-2.0/gladeui/*
- %{_libdir}/pkgconfig/*.pc
- %{_libdir}/libgladeui-2.so
- %{_datadir}/gir-1.0/Gladeui-2.0.gir
- %{_datadir}/gtk-doc/html/gladeui-2
- %changelog
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
- - new upstream release
- - add BuildRequires: docbook-style-xsl
- * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
- - new upstream release
- * Mon Oct 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
- - new upstream release
- - add BuildRequires: python-devel, pygobject3-devel
- * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
- - new upstream release
- - change BuildRequires: yelp-tools instead of gnome-doc-utils
- * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
- - new upstream release
- * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
- - new upstream release
- * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
- - new upstream release
- * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
- - new upstream release
- - change BuildRequires: gtk3-devel instead of gtk2-devel
- - delete BuildRequires: libgnomeui-devel, libbonoboui-devel
- * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.7-4
- - rebuild with rpm-4.8.1 for pkg-config file
- - add BuildRequires: libSM-devel
- * Fri Nov 06 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-3
- - add gnome-doc-utils to BR
- - comment out desktop-file-install
- * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-2
- - rebuild with gtk2-2.18.2
- * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-1
- - new upstream release
- - care ld and icon cache
- - define helpdir
- * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.3-1
- - new upstream release
- - spec in utf-8 (fixed)
- * Fri May 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.6.2-2
- - spec in utf-8
- * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.2-1
- - new upstream release
- * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.2-1
- - new upstream version.
- * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.5-1
- - new upstream version.
- - update Requires.
- - update description.
- * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.1-2vl5
- - use macro for release
- * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.1-1vl5
- - apply new virsioning policy.
- - remove *.la
- * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 3.4.1-0vl
- - new upstream version
- - added Requires: devhelp
- - added Prereq: scrollkeeper
- - added disable-scrollkeeper to configure
- - added scrollkeeper-update in %%post and %%postun sections
- - changed gnome help directory temporarily
- * Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.0.3-0vl
- - build for VineSeed
|