This commit is contained in:
committed by
Git OBS Bridge
parent
2ad91de3cf
commit
1426e951fe
41
pommed.spec
41
pommed.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package pommed (Version 1.15)
|
||||
# spec file for package pommed (Version 1.21)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -15,13 +15,13 @@ Name: pommed
|
||||
Summary: Apple laptops hotkeys event handler
|
||||
License: GPL v2 only
|
||||
Group: Hardware/Mobile
|
||||
Version: 1.15
|
||||
Release: 6
|
||||
Version: 1.21
|
||||
Release: 1
|
||||
Url: http://technologeek.org/projects/pommed/
|
||||
BuildRequires: alsa-devel audiofile-devel gtk2-devel libglade2-devel pciutils-devel update-desktop-files
|
||||
BuildRequires: dbus-1-devel libconfuse-devel libsmbios-devel libsmbios-libs
|
||||
BuildRequires: dbus-1-devel libconfuse-devel
|
||||
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXpm-devel xorg-x11-util-devel
|
||||
BuildRequires: xorg-x11
|
||||
BuildRequires: dbus-1-glib-devel xorg-x11
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
@@ -33,9 +33,10 @@ Source2: gpomme.desktop
|
||||
Source3: gpommerc
|
||||
Source4: pommed-README.SuSE
|
||||
Source5: pommed-rpmlintrc
|
||||
Patch: pommed-1.10-build.patch
|
||||
Patch1: pommed-desktop.patch
|
||||
Patch2: pommed-hardcoded_libpci.patch
|
||||
Patch3: pommed-optflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch1: pommed-1.15-optflags.patch
|
||||
%define kdedir /opt/kde3
|
||||
|
||||
%description
|
||||
@@ -55,6 +56,7 @@ Authors:
|
||||
Julien BLACHE <jb@jblache.org>
|
||||
|
||||
%package -n gpomme
|
||||
License: GPL v2 only
|
||||
Summary: Graphical client for pommed
|
||||
Group: Hardware/Mobile
|
||||
Requires: pommed
|
||||
@@ -76,6 +78,7 @@ Authors:
|
||||
Julien BLACHE <jb@jblache.org>
|
||||
|
||||
%package -n wmpomme
|
||||
License: GPL v2 only
|
||||
Summary: WindowMaker dockapp client for pommed
|
||||
Group: Hardware/Mobile
|
||||
Requires: pommed
|
||||
@@ -97,8 +100,9 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
@@ -139,13 +143,15 @@ install -m 644 %{S:3} %buildroot/%{kdedir}/share/config
|
||||
# wmpomme
|
||||
install -m 755 wmpomme/wmpomme %buildroot/%_bindir
|
||||
install -m 644 wmpomme/wmpomme.1 %buildroot/%_mandir/man1
|
||||
install -m 644 icons/gpomme_32x32.xpm %buildroot/%_datadir/icons/wmpomme.xpm
|
||||
%suse_update_desktop_file %buildroot/%_datadir/applications/gpomme-c.desktop
|
||||
%suse_update_desktop_file %buildroot/%_datadir/applications/gpomme.desktop
|
||||
# enable videoswitch
|
||||
mkdir -p %buildroot/%_sysconfdir/pommed
|
||||
%if 0%{?suse_version} > 1020
|
||||
%fdupes -s %buildroot
|
||||
%endif
|
||||
install -m 644 icons/gpomme_32x32.xpm %buildroot/%_datadir/icons/wmpomme.xpm
|
||||
install -m 644 icons/gpomme_32x32.xpm %buildroot/%_datadir/pixmaps/gpomme.xpm
|
||||
%find_lang gpomme
|
||||
|
||||
%post
|
||||
@@ -191,6 +197,23 @@ rm -rf %buildroot
|
||||
%_mandir/man1/wmpo*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 21 2008 lrupp@suse.de
|
||||
- update to 1.21:
|
||||
+ Note that this version of pommed REQUIRES Linux 2.6.25 or
|
||||
later and WILL NOT WORK PROPERLY on earlier kernels
|
||||
+ pommed: add support for the MacBookPro4,1.
|
||||
+ pommed: add support for the MacBook4,1.
|
||||
+ pommed: add support for the WellSpring keyboard+trackpad
|
||||
assembly ("MultiTouch"), found in the MacBookAir1,1 and
|
||||
MacBookPro4,1
|
||||
+ fix array boundary check in check_machine_dmi().
|
||||
+ use BUS_BLUETOOTH for the Apple wireless keyboard
|
||||
+ gpomme: won't cause 10 wakeups/sec anymore
|
||||
+ gpomme: use compositing if available, patch by Soeren Sonnenburg
|
||||
- create the desktop icons after fdupes (otherwise they will
|
||||
be stale symlinks)
|
||||
- remove libsmbios build dependency
|
||||
- split the patch into it's pieces
|
||||
* Sun Feb 24 2008 crrodriguez@suse.de
|
||||
- use RPM_OPT_FLAGS
|
||||
* Tue Feb 12 2008 ro@suse.de
|
||||
|
Reference in New Issue
Block a user