]>
Commit | Line | Data |
---|---|---|
b0897e52 | 1 | Summary: This is the Mowitz ("More widgets") library |
2a22853f | 2 | Summary(pl.UTF-8): Biblioteka Mowitz ("More widgets" - "więcej widgetów") |
a0ee7d5c | 3 | Name: Mowitz |
4 | Version: 0.3.0 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://siag.nu/pub/mowitz/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 447ea53a67eb4356438e80494e550a3b | |
10 | URL: http://siag.nu/mowitz/ | |
11 | BuildRequires: neXtaw-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | The project's goal is to create a library of widgets for X | |
16 | applications to use. The widgets have been snarfed from various | |
17 | sources and are all open source (GPL or MIT licenses). | |
18 | ||
5d1fd2c7 JR |
19 | %description -l pl.UTF-8 |
20 | Celem projektu jest stworzenie biblioteki widgetów do używania przez | |
21 | aplikacje X. Widgety zostały ściągnięte z różnych źródeł i mają | |
22 | otwarte źródła (na licencji GPL lub MIT). | |
a0ee7d5c | 23 | |
24 | %package devel | |
25 | Summary: Header files for Mowitz library | |
2a22853f | 26 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mowitz |
a0ee7d5c | 27 | Group: Development/Libraries |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | Header files for Mowitz library. | |
32 | ||
5d1fd2c7 JR |
33 | %description devel -l pl.UTF-8 |
34 | Pliki nagłówkowe biblioteki Mowitz. | |
a0ee7d5c | 35 | |
36 | %package static | |
37 | Summary: Static Mowitz library | |
2a22853f | 38 | Summary(pl.UTF-8): Statyczna biblioteka Mowitz |
a0ee7d5c | 39 | Group: Development/Libraries |
40 | Requires: %{name}-devel = %{version}-%{release} | |
41 | ||
42 | %description static | |
43 | Static Mowitz library. | |
44 | ||
5d1fd2c7 | 45 | %description static -l pl.UTF-8 |
a0ee7d5c | 46 | Statyczna biblioteka Mowitz. |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
9cd8af0a JB |
61 | install -D doc/Slider.man $RPM_BUILD_ROOT%{_mandir}/man3/Slider.3 |
62 | ||
a0ee7d5c | 63 | %clean |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post -p /sbin/ldconfig | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS ChangeLog NEWS README COPYING | |
72 | %attr(755,root,root) %{_bindir}/* | |
73 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
74 | %{_datadir}/%{name} | |
75 | ||
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
9cd8af0a | 78 | %doc doc/[!MS]* doc/Slider.README |
a0ee7d5c | 79 | %attr(755,root,root) %{_libdir}/lib*.so |
80 | %{_libdir}/lib*.la | |
81 | %{_includedir}/%{name} | |
9cd8af0a | 82 | %{_mandir}/man3/*.3* |
a0ee7d5c | 83 | |
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/lib*.a |