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