1 Summary: Xynth Window System
2 Summary(pl.UTF-8): System okienkowy Xynth Window System
8 Source0: http://dl.sourceforge.net/xynth/%{name}-%{version}.tar.bz2
9 # Source0-md5: 6e193a82430528f55c1a9bf178116343
10 URL: http://www.xynth.org/
11 Requires: %{name}-libs = %{version}-%{release}
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %description -l pl.UTF-8
18 System okienkowy Xynth Window System.
21 Summary: Xynth Window System libraries
22 Summary(pl.UTF-8): Biblioteki systemu okienkowego Xynth Window System
26 Xynth Window System libraries.
28 %description libs -l pl.UTF-8
29 Biblioteki systemu okienkowego Xynth Window System.
32 Summary: Header files for Xynth Window System libraries
33 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemu okienkowego Xynth Window System
34 Group: Development/Libraries
35 Requires: %{name}-libs = %{version}-%{release}
38 Header files for Xynth Window System libraries.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe bibliotek systemu okienkowego Xynth Window System.
44 Summary: Static Xynth Window System libraries
45 Summary(pl.UTF-8): Statyczne biblioteki systemu okienkowego Xynth Window System
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static Xynth Window System libraries.
52 %description static -l pl.UTF-8
53 Statyczne biblioteki systemu okienkowego Xynth Window System.
62 _FONTDIR=%{_datadir}/%{name}/fonts/ \
63 _CONFDIR=%{_sysconfdir}/%{name}/ \
64 _THEMEDIR=%{_datadir}/%{name}/themes/
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_libdir}
69 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
70 cp -a dist/{bin,share,include} $RPM_BUILD_ROOT%{_prefix}
71 cp -a dist/lib $RPM_BUILD_ROOT%{_libdir}
72 cp -a dist/etc/%{name}/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
75 rm -rf $RPM_BUILD_ROOT
77 %post libs -p /sbin/ldconfig
78 %postun libs -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %dir %{_sysconfdir}/%{name}
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/*.so.*
92 %defattr(644,root,root,755)
96 %defattr(644,root,root,755)
97 %{_libdir}/libwidget.a