]> git.pld-linux.org Git - SPECS.git/blob - xynth.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / xynth.spec
1 Summary:        Xynth Window System
2 Summary(pl.UTF-8):      System okienkowy Xynth Window System
3 Name:           xynth
4 Version:        0.7.91
5 Release:        0.1
6 License:        GPL
7 Group:          Applications
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)
13
14 %description
15 Xynth Window System.
16
17 %description -l pl.UTF-8
18 System okienkowy Xynth Window System.
19
20 %package libs
21 Summary:        Xynth Window System libraries
22 Summary(pl.UTF-8):      Biblioteki systemu okienkowego Xynth Window System
23 Group:          Libraries
24
25 %description libs
26 Xynth Window System libraries.
27
28 %description libs -l pl.UTF-8
29 Biblioteki systemu okienkowego Xynth Window System.
30
31 %package devel
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}
36
37 %description devel
38 Header files for Xynth Window System libraries.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe bibliotek systemu okienkowego Xynth Window System.
42
43 %package static
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}
48
49 %description static
50 Static Xynth Window System libraries.
51
52 %description static -l pl.UTF-8
53 Statyczne biblioteki systemu okienkowego Xynth Window System.
54
55 %prep
56 %setup -q -n %{name}
57
58 %build
59 %{__make} \
60         _INSTALLDIR= \
61         INSTALLDIR= \
62         _FONTDIR=%{_datadir}/%{name}/fonts/ \
63         _CONFDIR=%{_sysconfdir}/%{name}/ \
64         _THEMEDIR=%{_datadir}/%{name}/themes/
65
66 %install
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}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   libs -p /sbin/ldconfig
78 %postun libs -p /sbin/ldconfig
79
80 %files
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}/*
85 %{_datadir}/%{name}
86
87 %files libs
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/*.so.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_includedir}/*.h
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libwidget.a
98 %{_libdir}/libxynth.a
This page took 0.266747 seconds and 3 git commands to generate.