source: projects/specs/branches/6/o/obconf/obconf-vl.spec @ 4292

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