[521] | 1 | Name: obconf |
---|
[5679] | 2 | Version: 2.0.4 |
---|
[8781] | 3 | Release: 2%{?_dist_release} |
---|
[521] | 4 | Summary: A graphical configuration editor for the Openbox window manager |
---|
[5679] | 5 | Summary(ja): Openbox ウインドウマネージャーのためのグラフィカルな設定エディター |
---|
[521] | 6 | |
---|
| 7 | Group: User Interface/X |
---|
| 8 | License: GPLv2+ |
---|
[5679] | 9 | URL: http://openbox.org/wiki/ObConf:About |
---|
[8781] | 10 | Source0: http://openbox.org/dist/obconf/%{name}-%{version}.tar.gz |
---|
[521] | 11 | Source1: obconf-2.0.3-ja.po |
---|
[8781] | 12 | #Patch0: fix_freedesktop_compliance.patch |
---|
| 13 | #Patch1: revert_new_button_layout.patch |
---|
| 14 | #Patch2: show_specific_tab.dpatch |
---|
[5679] | 15 | |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
[8781] | 18 | Requires: openbox >= 3.5 |
---|
| 19 | BuildRequires: openbox-devel >= 3.5 |
---|
[521] | 20 | BuildRequires: libglade2-devel |
---|
| 21 | BuildRequires: startup-notification-devel |
---|
| 22 | BuildRequires: pkgconfig |
---|
| 23 | BuildRequires: desktop-file-utils |
---|
| 24 | BuildRequires: libSM-devel |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | ObConf is a graphical configuration editor for the Openbox window manager. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
[5679] | 30 | ObConf は Openbox ウインドウマネージャーのためのグラフィカルな設定エディターです。 |
---|
[521] | 31 | |
---|
| 32 | %prep |
---|
[8781] | 33 | %setup -q |
---|
[521] | 34 | ## for ja.po |
---|
| 35 | %{__cp} -f %{SOURCE1} po/ja.po |
---|
| 36 | pushd po |
---|
| 37 | %{__mv} LINGUAS LINGUAS.orig |
---|
| 38 | grep -v '^ja' LINGUAS.orig > LINGUAS |
---|
| 39 | echo 'ja' >> LINGUAS |
---|
| 40 | msgfmt -o ja.gmo ja.po |
---|
| 41 | popd |
---|
| 42 | |
---|
[8781] | 43 | #%patch0 -p1 |
---|
| 44 | #%patch1 -p1 |
---|
| 45 | #%patch2 -p1 |
---|
[5679] | 46 | |
---|
[521] | 47 | %build |
---|
| 48 | %configure |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf %{buildroot} |
---|
| 54 | make install DESTDIR=%{buildroot} |
---|
| 55 | %find_lang %{name} |
---|
| 56 | desktop-file-install --vendor vine \ |
---|
| 57 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 58 | --add-category X-System \ |
---|
| 59 | --delete-original \ |
---|
| 60 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf %{buildroot} |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %post |
---|
| 68 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 69 | update-desktop-database %{_datadir}/applications &> /dev/null |
---|
| 70 | : |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %postun |
---|
| 74 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 75 | update-desktop-database %{_datadir}/applications &> /dev/null |
---|
| 76 | : |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root,-) |
---|
| 81 | %doc AUTHORS COPYING README |
---|
| 82 | %{_bindir}/%{name} |
---|
[5679] | 83 | %{_datadir}/%{name}/ |
---|
[521] | 84 | %{_datadir}/applications/vine-%{name}.desktop |
---|
| 85 | %{_datadir}/mime/packages/%{name}.xml |
---|
| 86 | %{_datadir}/mimelnk/ |
---|
| 87 | %{_datadir}/pixmaps/%{name}.png |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[8781] | 91 | * Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-2 |
---|
| 92 | - rebuild with openbox-3.5 |
---|
| 93 | - use 2.0.4 release tar ball |
---|
| 94 | - drop all patches |
---|
| 95 | |
---|
[5679] | 96 | * Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217 |
---|
| 97 | - new upstream release |
---|
| 98 | - built trunk snapshot |
---|
| 99 | - added patch0-3 from Debian sid |
---|
| 100 | - fixed Summary(ja) and description -l ja |
---|
| 101 | - changed URL and Source0 |
---|
| 102 | |
---|
[4292] | 103 | * Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4 |
---|
| 104 | - rebuilt with current environment |
---|
| 105 | |
---|
[521] | 106 | * Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3 |
---|
| 107 | - add ja.po (SOURCE1) |
---|
| 108 | - update %%prep section for ja.po |
---|
| 109 | |
---|
| 110 | * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5 |
---|
| 111 | - fixed some little problem |
---|
| 112 | |
---|
| 113 | * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5 |
---|
| 114 | - initial build for VineSeed |
---|
| 115 | - fixed Requires: openbox >= 3.4 |
---|
| 116 | |
---|
| 117 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2 |
---|
| 121 | - Rebuild for new openbox |
---|
| 122 | |
---|
| 123 | * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1 |
---|
| 124 | - Update to 2.0.3 |
---|
| 125 | |
---|
| 126 | * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2 |
---|
| 127 | - Update license tag |
---|
| 128 | |
---|
| 129 | * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1 |
---|
| 130 | - Update to 2.0.2 |
---|
| 131 | |
---|
| 132 | * Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1 |
---|
| 133 | - Update to 2.0.1 |
---|
| 134 | |
---|
| 135 | * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3 |
---|
| 136 | - Mass FC6 rebuild |
---|
| 137 | |
---|
| 138 | * Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2 |
---|
| 139 | - Add BR: libSM-devel to fix build issue. |
---|
| 140 | |
---|
| 141 | * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1 |
---|
| 142 | - Initial packaging. |
---|