]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
- /etc/X11/applnk -> /usr/X11R6/share/applnk
[packages/WSoundServer.git] / WSoundServer.spec
1 Summary:        WindowMaker sound server
2 Summary(pl):    Serwer d¼wiêku dla WindowMakera
3 Name:           WSoundServer
4 Version:        0.1.1
5 Release:        1
6 Group:          X11/Window Managers/Tools
7 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
8 Copyright:      GPL
9 Source0:        ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
10 Source1:        WSoundServer.desktop
11 Icon:           WSoundServer.xpm
12 BuildRequires:  libPropList-devel >= 0.8.3
13 BuildRequires:  docklib
14 BuildRequires:  audiofile-devel >= 0.1.7
15 BuildRequires:  xpm-devel
16 BuildRequires:  XFree86-devel
17 BuildRequires:  WindowMaker-devel
18 Requires:       WindowMaker >= 0.60.0
19 BuildRoot:      /tmp/%{name}-%{version}-root
20
21 %define         _prefix /usr/X11R6
22 %define         _mandir %{_prefix}/man
23
24 %description
25 WSoundServer is the sound server for WindowMaker.
26
27 %description -l pl
28 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
29
30 %package devel
31 Summary:        WSoundServer libraries and headers
32 Summary(pl):    Biblioteki i pliki nag³ówkowe dla WSoundServer
33 Group:          X11/Development/Libraries
34 Group(pl):      X11/Programowanie/Biblioteki
35 Requires:       %{name} = %{version}
36
37 %description devel
38 WSoundServer libraries and headers.
39
40 %description devel -l pl
41 Biblioteki i pliki nag³ówkowe dla WSoundServer.
42
43 %package static
44 Summary:        WSoundServer static libraries
45 Summary(pl):    Biblioteki statyczne dla WSoundServer
46 Group:          X11/Development/Libraries
47 Group(pl):      X11/Programowanie/Biblioteki
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 WSoundServer static libraries.
52
53 %description static -l pl
54 Biblioteki statyczne dla WSoundServer.
55
56 %prep
57 %setup -q
58
59 %build
60 LDFLAGS="-s"; export LDFLAGS
61 %configure 
62
63 make
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps \
68         $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
69
70 make install DESTDIR=$RPM_BUILD_ROOT
71 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
72 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
73
74 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
75
76 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
77         README ChangeLog AUTHORS 
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc {README,ChangeLog,AUTHORS}.gz
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90 %{_libdir}/lib*.la
91
92 %{_datadir}/pixmaps/wsoundserver.xpm
93 /usr/X11R6/share/applnk/Utilities/WSoundServer.desktop
94
95 %{_mandir}/man1/*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_includedir}/*.h
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/lib*.a
This page took 0.518589 seconds and 3 git commands to generate.