]> git.pld-linux.org Git - packages/WSoundPrefs.git/blob - WSoundPrefs.spec
- spec adapterized.
[packages/WSoundPrefs.git] / WSoundPrefs.spec
1 Summary:        Window Maker Sound Preferences
2 Summary(pl):    Konfigurator Serwera D¼wiêku WindowMakera
3 Name:           WSoundPrefs
4 Version:        1.1.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Window Managers/Tools
8 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
9 Source0:        ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
10 Source1:        WSoundPrefs.desktop
11 Patch0:         WSoundPrefs-soundpaths.patch
12 Icon:           WSoundPrefs.gif
13 URL:            http://shadowmere.student.utwente.nl/wmss/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  xpm-devel
16 BuildRequires:  WindowMaker-devel >= 0.60.0
17 BuildRequires:  libPropList-devel >= 0.8.3
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libtiff-devel
21 BuildRequires:  libungif-devel
22 BuildRequires:  zlib-devel
23 BuildRequires:  audiofile-devel
24 BuildRequires:  WSoundServer-devel
25 Requires:       WindowMaker >= 0.60.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30
31 %description
32 WSoundPrefs is a WINGs-based application to configure the Window Maker
33 Sound Server (WMSound). It is actually a replacement of the Author's
34 older program called WMSound Setup (aka wmss). Basically it provides
35 the following options:
36 - Which sound to play on which sound-event
37 - Which sound-device to use
38 - What are the search-paths for Sounds and SoundSets
39 - Loading and Saving of Soundsets
40
41 %description -l pl
42 WSoundPrefs jest opartym na bibliotece WINGs konfiguratorem Serwera
43 D¼wiêku WindowMakera (WMSound). Jest to nastêpca starszego programu o
44 nazwie WMSound Setup (wmss).
45
46 %prep
47 %setup -q
48 %patch -p1
49
50 %build
51 xmkmf -a
52 make CDEBUGFLAGS="$RPM_OPT_FLAGS"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities 
57
58 make install DESTDIR=$RPM_BUILD_ROOT%{_prefix}
59
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
61
62 gzip -9nf ChangeLog AUTHORS
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc {ChangeLog,AUTHORS}.gz
70 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WSoundPrefs.app/WSoundPrefs
71
72 %dir %{_prefix}/GNUstep/Apps/WSoundPrefs.app
73 %dir %{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm
74 %dir %{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff
75
76 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/*.tiff
77 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/*.xpm
78 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm/*.xpm
79 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff/*.tiff
80
81 %{_applnkdir}/Utilities/WSoundPrefs.desktop
This page took 0.086396 seconds and 4 git commands to generate.