source: projects/specs/trunk/o/openbox/openbox-vl.spec @ 960

Revision 960, 12.0 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           openbox
2Version:        3.4.11.1
3Release:        1%{?_dist_release}
4Summary:        A highly configurable and standards-compliant X11 window manager
5Summary(ja):    高度に設定可能な標準準拠の X11 ウィンドウマネージャ
6
7Group:          User Interface/Desktops
8License:        GPLv2+
9URL:            http://openbox.org/
10Source0:        http://openbox.org/releases/%{name}-%{version}.tar.gz
11Source1:        http://icculus.org/openbox/tools/setlayout.c
12Source2:        xdg-menu
13Source3:        menu.xml
14Source4:        openbox.desktop
15
16Patch0:         openbox-3.4.9-autostartdir.patch
17Patch1:         openbox-3.4.8-gdm.patch
18Patch3:         openbox-3.4.7.2-autostartid.patch
19#Patch6:         05_fix_gnome-settings-daemon_path.patch
20Patch7:         openbox-3.4.7.2-24bit.patch
21Patch9:         openbox-3.4.10-obxpropman.patch
22Patch10:        openbox-3.4.11-Xau.patch
23
24BuildRoot:      %{_tmppath}/%{name}-%{version}-root
25
26Requires:       %{name}-libs = %{version}-%{release}
27
28BuildRequires:  gettext
29BuildRequires:  glib2-devel >= 2.14.0
30BuildRequires:  desktop-file-utils
31BuildRequires:  pango-devel
32BuildRequires:  startup-notification-devel
33BuildRequires:  libxml2-devel >= 2.6.0
34BuildRequires:  libSM-devel
35BuildRequires:  libXcursor-devel
36BuildRequires:  libXfixes-devel
37BuildRequires:  libXt-devel
38BuildRequires:  libXrandr-devel
39BuildRequires:  libXinerama-devel
40
41# The xdg-menu dynamic pipe menu requires the gmenu Python module
42Requires:       gnome-menus
43
44%description
45Openbox is a window manager designed explicity for standards-compliance and
46speed. It is fast, lightweight, and heavily configurable (using XML for its
47configuration data). It has many features that make it unique among window
48managers: window resistance, chainable key bindings, customizable mouse
49actions, multi-head/Xinerama support, and dynamically generated "pipe menus."
50
51For a full list of the FreeDesktop.org standards with which it is compliant,
52please see the COMPLIANCE file in the included documentation of this package.
53For a graphical configuration editor, you'll need to install the obconf
54package. For a graphical menu editor, you'll need to install the obmenu
55package.
56
57
58%package        devel
59Summary:        Development files for %{name}
60Summary(ja):    %{name} の開発ファイル
61Group:          Development/Libraries
62Requires:       %{name}-libs = %{version}-%{release}
63Requires:       pkgconfig
64Requires:       pango-devel
65Requires:       libxml2-devel
66Requires:       glib2-devel
67
68%description    devel
69The %{name}-devel package contains libraries and header files for
70developing applications that use %{name}.
71
72
73%package        libs
74Summary:        Shared libraries for %{name}
75Summary:        %{name} の共有ライブラリ
76Group:          System Environment/Libraries
77
78%description    libs
79The %{name}-libs package contains shared libraries used by %{name}.
80
81
82%prep
83%setup -q
84%patch0 -p1 -b .autostartdir
85%patch1 -p1 -b .gdm
86%patch3 -p1 -b .autostartid
87#%patch6
88%patch7 -p1 -b .24bit
89%patch9 -p1 -b .obxpropman
90%patch10 -p1 -b .Xau
91
92
93%build
94%configure \
95        --disable-static
96## Fix RPATH hardcoding.
97sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
98sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
99make %{?_smp_mflags}
100
101gcc %{optflags} -o setlayout %{SOURCE1} -lX11
102
103%install
104rm -rf %{buildroot}
105make install DESTDIR=%{buildroot}
106
107install setlayout %{buildroot}%{_bindir}
108install -p %{SOURCE2} %{buildroot}%{_datadir}/%{name}/xdg-menu
109sed 's|_XDGMENU_|%{_datadir}/%{name}/xdg-menu|g' < %{SOURCE3} \
110        > %{buildroot}%{_sysconfdir}/xdg/%{name}/menu.xml
111
112desktop-file-install --vendor="" \
113        --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
114        %{SOURCE4}
115
116%find_lang %{name}
117rm -f %{buildroot}%{_libdir}/*.la
118rm -rf %{buildroot}%{_datadir}/doc/%{name}
119
120
121%clean
122rm -rf %{buildroot}
123
124
125%files -f %{name}.lang
126%defattr(-,root,root,-)
127%doc AUTHORS CHANGELOG COMPLIANCE COPYING README
128%doc data/*.xsd data/menu.xml doc/rc-mouse-focus.xml
129%dir %{_sysconfdir}/xdg/%{name}/
130%config(noreplace) %{_sysconfdir}/xdg/%{name}/*
131%{_bindir}/gnome-panel-control
132%{_bindir}/gdm-control
133%{_bindir}/%{name}*
134%{_bindir}/obxprop
135%{_bindir}/setlayout
136%{_datadir}/applications/*%{name}.desktop
137%{_datadir}/%{name}
138%{_datadir}/themes/*/
139%{_datadir}/pixmaps/%{name}.png
140%{_datadir}/gnome/wm-properties/
141%{_datadir}/xsessions/%{name}*.desktop
142%{_mandir}/man1/*
143
144%files  libs
145%{_libdir}/libobrender.so.*
146%{_libdir}/libobparser.so.*
147
148%files  devel
149%{_includedir}/%{name}/
150%{_libdir}/libobrender.so
151%{_libdir}/libobparser.so
152%{_libdir}/pkgconfig/*.pc
153
154
155%post libs -p /sbin/ldconfig
156
157
158%postun libs -p /sbin/ldconfig
159
160
161%changelog
162* Fri May 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.11.1-1
163- new upstream release
164- changed URL and Source0
165- dropt Patch6
166- added BuildRequires: libXfixes-devel, libSM-devel
167- changed BuildRequires: glib2-devel >= 2.14.0, libxml2-devel >= 2.6.0
168
169* Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.11-1
170- new upstream release
171- added Patch10 from Fedora
172- added summary(ja) in -devel and -libs
173
174* Sun Jan 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.10-1
175- new upstream release
176- dropt Patch8
177- Patch9 from Fedora
178
179* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.9-1
180- new upstream release
181  - dropt patch2
182  - replaced and renamed Patch0 from Fedora
183
184* Tue Dec 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.8-1
185- new upstream release
186  - dropt patch4,5
187  - added Patch8 from Fedora
188- added Requires: gnome-menus
189
190* Tue Oct 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-4
191- improved Source3
192  - enabled administration menu (disabled preference menu because included)
193- added Patch6 from Mandriva
194- added Patch7 from Fedora
195- replaced Source1 from Fedora
196
197* Sun Sep 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-3
198- updated Source4
199- added Patch4,5 from Debian
200
201* Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-2vl5
202- changed openbox-libs Group: System Environment/Libraries
203- spec in UTF-8
204
205* Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-1vl5
206- initial build for VineSeed
207
208* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.7.2-8
209- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
210
211* Tue Dec 09 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-7
212- Restore gnome session script (#474143)
213- Use DESKTOP_AUTOSTART_ID to avoid gnome-session registration timeout
214
215* Thu Oct 02 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-6
216- Drop gnome session script (gnome-session no longer supports $WINDOW_MANAGER)
217- Add application desktop file to allow starting openbox in gnome-session
218  when configured in gconf
219
220* Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-5
221- Don't use --choose-session option in gnome session script
222
223* Fri Aug 01 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-4
224- Remove field codes from commands in xdg-menu (#452403)
225- Add support for launching applications in xterm to xdg-menu
226
227* Tue Jun 10 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-3
228- Clean up properties after gdm in session scripts (#444135)
229- Add license to xdg-menu script
230
231* Tue May 20 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-2
232- Drop numdesks patch (#444135)
233
234* Wed May 14 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-1
235- Update to 3.4.7.2
236- Use gnome menus by default (Luke Macken) (#443548)
237- Force setting number of desktops (#444135)
238
239* Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.1-1
240- Update to 3.4.7.1
241- Don't require /usr/share/themes
242
243* Wed Feb 06 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.6.1-1
244- Update to 3.4.6.1
245
246* Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.6-1
247- Update to 3.4.6
248
249* Mon Jan 07 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.5-1
250- Update to 3.4.5
251
252* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.4-2
253- Rebuild
254
255* Sun Aug 05 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.4-1
256- Update to 3.4.4
257- Update license tag
258
259* Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.3-1
260- Update to 3.4.3
261- Package setlayout tool
262
263* Wed Jun 13 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.2-1
264- Update to 3.4.2
265
266* Mon Jun 04 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-7
267- Own %%{_datadir}/gnome/wm-properties instead of depending on gnome-session
268  in order to reduce dependency bloat. (Resolves bug 242339; thanks to Miroslav
269  Lichvar for the bug report.)
270
271* Tue Mar 27 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-6
272- Split shared libraries into a -libs subpackage to properly handle multilib
273  setups. (This precludes the further need to %%ghost the byte-compiled
274  themeupdate scripts which was introduced in the previous release.)
275- Fix handling of the startup_notification build conditional. It will actually
276  work properly now. :)
277- Remove the hardcoded RPATH using some sed invocations from the packaging
278  guidelines.
279
280* Mon Feb 12 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-5
281- %%ghost the byte-compiled themeupdate scripts to fix multilib conflict
282  (bug #228379).
283
284* Thu Nov 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-4
285- Don't own %%{_datadir}/gnome/wm-properties anymore, as that's now owned
286  by gnome-session in Rawhide and we should not have ownership conflicts with
287  Core packages.
288
289* Mon Oct 02 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-3
290- Rebuild to pick up unwind info generation fixes in new GCC
291
292* Wed Sep 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-2
293- Allow building with startup-notification as an rpmbuild option (though it is
294  disabled by default as recommended by upstream).
295
296* Sun Sep 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-1
297- Update to new 3.3.1 from upstream
298
299* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-3
300- Mass FC6 rebuild
301
302* Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-2
303- Bump release to fix sources tagging issue
304
305* Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-1
306- Update to 3.3 final release from upstream
307- Remove the slew of versioning macros, as it's overkill for this and just adds
308  unneeded complexity to the spec.
309
310* Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2.1
311- Add missing BuildRequires: libXxf86vm-devel
312
313* Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2
314- Unconditionalize the BuildRequires for modular X.org, since it's branched
315  for a specific Fedora release.
316
317* Mon Jun 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.7.rc2
318- Own the %%{_datadir}/gnome/wm-properties directory (#195292)
319
320* Fri Jun 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.6.rc2
321- Add %%{_datadir}/themes to Requires (#195292)
322
323* Tue Jun 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.5.rc2
324- Own all created theme directories (#195292)
325- Fix previous review bug IDs in this %%changelog to point to the recreated
326  review bug (due to recent bugzilla outage)
327
328* Sun Jun 18 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.4.rc2
329- Don't default to an executable xsession script (#195292)
330
331* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.3.rc2
332- Fix versioning to conform to the Extras packaging guidelines
333
334* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.2
335- Add %%{_datadir}/xsessions .desktop file for easy selection of Openbox at
336  login screen (#195292)
337
338* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.1
339- Unorphan, rewriting nearly all of the spec file
340- Update to upstream 3.3 RC2
341
342* Sun Jul 27 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.5
343- Need to own /etc/X11/gdm/Sessions && /etc/X11/gdm (#440)
344- Need to conflict with fluxbox (#422 / #440)
345
346* Tue Jul 22 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.4
347- Need to own /usr/share/apps/switchdesk (#422)
348
349* Mon Jul 21 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.3
350- More spec revisions (#422); change make and preserve timestamps
351
352* Sun Jul 20 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.2
353- Minor spec revisions (#422); add epoch and versions to changelogs
354
355* Sun Jul 06 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.1
356- Add switchdesk support
357- Add display manager support
358- Fix NLS build on Cambridge
359- Fedora'ize the spec
360
361* Sun Jun 29 2003 Chris Ricker <kaboom@gatech.edu>
362- Rev to 2.3.1 release
363- Make go with GCC 3.3
364
365* Tue Mar 18 2003 Chris Ricker <kaboom@gatech.edu>
366- Package of 2.3.0 release
Note: See TracBrowser for help on using the repository browser.