123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- Name: obconf
- Version: 2.0.3
- Release: 4%{?_dist_release}
- Summary: A graphical configuration editor for the Openbox window manager
- Summary(ja): Openbox ウインドウマネージャのためのグラフィカルな設定エディタ
- Group: User Interface/X
- License: GPLv2+
- URL: http://icculus.org/openbox/index.php/ObConf:About
- Source0: http://icculus.org/openbox/obconf/%{name}-%{version}.tar.gz
- Source1: obconf-2.0.3-ja.po
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires: openbox >= 3.4
- BuildRequires: openbox-devel >= 3.4
- BuildRequires: libglade2-devel
- BuildRequires: startup-notification-devel
- BuildRequires: pkgconfig
- BuildRequires: desktop-file-utils
- BuildRequires: libSM-devel
- %description
- ObConf is a graphical configuration editor for the Openbox window manager.
- %description -l ja
- ObConf は Openbox ウインドウマネージャのためのグラフィカルな設定エディタです。
- %prep
- %setup -q
- ## for ja.po
- %{__cp} -f %{SOURCE1} po/ja.po
- pushd po
- %{__mv} LINGUAS LINGUAS.orig
- grep -v '^ja' LINGUAS.orig > LINGUAS
- echo 'ja' >> LINGUAS
- msgfmt -o ja.gmo ja.po
- popd
- %build
- %configure
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make install DESTDIR=%{buildroot}
- %find_lang %{name}
- desktop-file-install --vendor vine \
- --dir %{buildroot}%{_datadir}/applications \
- --add-category X-System \
- --delete-original \
- %{buildroot}%{_datadir}/applications/%{name}.desktop
- %clean
- rm -rf %{buildroot}
- %post
- update-mime-database %{_datadir}/mime &> /dev/null
- update-desktop-database %{_datadir}/applications &> /dev/null
- :
- %postun
- update-mime-database %{_datadir}/mime &> /dev/null
- update-desktop-database %{_datadir}/applications &> /dev/null
- :
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc AUTHORS COPYING README
- %{_bindir}/%{name}
- %{_datadir}/%{name}/
- %{_datadir}/applications/vine-%{name}.desktop
- %{_datadir}/mime/packages/%{name}.xml
- %{_datadir}/mimelnk/
- %{_datadir}/pixmaps/%{name}.png
- %changelog
- * Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
- - rebuilt with current environment
- * Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
- - add ja.po (SOURCE1)
- - update %%prep section for ja.po
- * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
- - fixed some little problem
- * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
- - initial build for VineSeed
- - fixed Requires: openbox >= 3.4
- * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
- - Rebuild for new openbox
- * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
- - Update to 2.0.3
- * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
- - Update license tag
- * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
- - Update to 2.0.2
- * Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
- - Update to 2.0.1
- * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
- - Mass FC6 rebuild
- * Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
- - Add BR: libSM-devel to fix build issue.
- * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
- - Initial packaging.
|