]> git.pld-linux.org Git - SPECS.git/blob - obconf.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / obconf.spec
1 Summary:        Tool for configuring the Openbox window manager
2 Summary(pl.UTF-8):      Narzędzie do konfiguracji zarządcy okien Openbox
3 Name:           obconf
4 Version:        2.0.4
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://icculus.org/openbox/obconf/%{name}-%{version}.tar.gz
9 # Source0-md5:  9271c5d2dc366d61f73665a5e8bceabc
10 Patch0:         %{name}-desktop.patch
11 URL:            http://openbox.org/obconf/
12 BuildRequires:  autoconf >= 2.54
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools >= 0.15
15 BuildRequires:  gtk+2-devel >= 2:2.12.0
16 BuildRequires:  libglade2-devel >= 1:2.6.2
17 BuildRequires:  libtool
18 BuildRequires:  openbox-devel >= 1:3.5.0
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.311
21 BuildRequires:  startup-notification-devel
22 Requires(post,postun):  shared-mime-info
23 Requires:       desktop-file-utils
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 ObConf allows you to configure Openbox in real-time. You can change
28 options such as the theme, desktop names, and focus settings.
29
30 %description -l pl.UTF-8
31 ObConf pozwala na konfigurację Openboksa w czasie rzeczywistym. Można
32 nim zmieniać opcje takie jak motyw, nazwy pulpitów i ustawienia
33 zachowania okien.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %{__libtoolize}
41 %{__aclocal} -I m4
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 # no -> nb
54 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
55
56 %find_lang %{name}
57
58 # kde3 file association, shared-mime-info should be sufficant nowadays
59 %{__rm} $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/x-openbox-theme.desktop
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 %update_desktop_database
66 %update_mime_database
67
68 %postun
69 %update_mime_database
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS README
74 %attr(755,root,root) %{_bindir}/obconf
75 %{_datadir}/%{name}
76 %{_desktopdir}/obconf.desktop
77 %{_pixmapsdir}/obconf.png
78 %{_datadir}/mime/packages/obconf.xml
This page took 0.174417 seconds and 3 git commands to generate.