]> git.pld-linux.org Git - packages/Mowitz.git/blob - Mowitz.spec
- pl, install Slider manual in man3 dir, don't include Makefiles in doc
[packages/Mowitz.git] / Mowitz.spec
1 Summary:        This is the Mowitz ("More widgets") library
2 Summary(pl):    Biblioteka Mowitz ("More widgets" - "wiêcej widgetów")
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
19 %description -l pl
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).
23
24 %package devel
25 Summary:        Header files for Mowitz library
26 Summary(pl):    Pliki nag³ówkowe biblioteki Mowitz
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for Mowitz library.
32
33 %description devel -l pl
34 Pliki nag³ówkowe biblioteki Mowitz.
35
36 %package static
37 Summary:        Static Mowitz library
38 Summary(pl):    Statyczna biblioteka Mowitz
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static Mowitz library.
44
45 %description static -l pl
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
61 install -D doc/Slider.man $RPM_BUILD_ROOT%{_mandir}/man3/Slider.3
62
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)
78 %doc doc/[!MS]* doc/Slider.README
79 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_libdir}/lib*.la
81 %{_includedir}/%{name}
82 %{_mandir}/man3/*.3*
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/lib*.a
This page took 0.045803 seconds and 4 git commands to generate.