forked from pool/xpenguins
Accepting request 259311 from home:elvigia:branches:X11:Utilities
- Switch to individual pkgconfig() build requires instead of using metapackage xorg-x11-devel OBS-URL: https://build.opensuse.org/request/show/259311 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpenguins?expand=0&rev=9
This commit is contained in:
parent
20cfb994bc
commit
f9cf5741db
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 2 00:54:45 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
- Switch to individual pkgconfig() build requires
|
||||
instead of using metapackage xorg-x11-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 11:18:02 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xpenguins
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,9 +17,6 @@
|
||||
|
||||
|
||||
Name: xpenguins
|
||||
BuildRequires: automake
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: xorg-x11-devel
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: cute little penguins that walk along the tops of your windows
|
||||
@ -28,12 +25,17 @@ Group: Amusements/Toys/Background
|
||||
Url: http://xpenguins.seul.org/
|
||||
Source: xpenguins-%{version}.tar.bz2
|
||||
Source1: README.SuSE
|
||||
Source2: %name.desktop
|
||||
Source3: %name-stop.desktop
|
||||
Source4: %name.png
|
||||
Source5: %name-stop.png
|
||||
Patch: xpenguins-%{version}-typo.diff
|
||||
Source2: %{name}.desktop
|
||||
Source3: %{name}-stop.desktop
|
||||
Source4: %{name}.png
|
||||
Source5: %{name}-stop.png
|
||||
Patch0: xpenguins-%{version}-typo.diff
|
||||
Patch1: xpenguins-%{version}-automake-1.13.diff
|
||||
BuildRequires: automake
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xpm)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -44,36 +46,32 @@ and sometimes even levitate with their genetically-modified
|
||||
go-go-gadget 'copter ability.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
cp %{S:1} %{S:4} %{S:5} .
|
||||
cp %{SOURCE1} %{SOURCE4} %{SOURCE5} .
|
||||
|
||||
%build
|
||||
aclocal
|
||||
automake -a
|
||||
autoconf
|
||||
%configure
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
|
||||
cp %name.png %name-stop.png $RPM_BUILD_ROOT/usr/share/pixmaps
|
||||
%suse_update_desktop_file -i %name Amusement
|
||||
%suse_update_desktop_file -i %name-stop Amusement
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
cp %{name}.png %{name}-stop.png %{buildroot}%{_datadir}/pixmaps
|
||||
%suse_update_desktop_file -i %{name} Amusement
|
||||
%suse_update_desktop_file -i %{name}-stop Amusement
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README* AUTHORS COPYING ChangeLog
|
||||
%attr(755,root,root) %{_bindir}/xpenguins
|
||||
%doc %{_mandir}/man1/xpenguins.1*
|
||||
/usr/share/xpenguins
|
||||
/usr/share/pixmaps/*.png
|
||||
/usr/share/applications/*.desktop
|
||||
%{_datadir}/xpenguins
|
||||
%{_datadir}/pixmaps/*.png
|
||||
%{_datadir}/applications/*.desktop
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user