]> git.pld-linux.org Git - projects/template-specs.git/blob - lib.spec
- tabs in preamble
[projects/template-specs.git] / lib.spec
1 Summary:        -
2 Summary(pl.UTF-8):      -
3 Name:           -
4 Version:        -
5 Release:        -
6 Epoch:          -
7 License:        - (enter GPL/LGPL/BSD/BSD-like/other license name here)
8 Group:          Libraries
9 Source0:        %{name}-%{version}.tar.gz
10 # Source0-md5:  -
11 #Patch0:                %{name}-what.patch
12 URL:            -
13 BuildRequires:  -
14 Requires:       -
15 Requires(pre,post):     -
16 Requires(preun):        -
17 Requires(postun):       -
18 Provides:       -
19 Obsoletes:      -
20 Conflicts:      -
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24
25 %description -l pl.UTF-8
26
27 %package devel
28 Summary:        Header files for FOO library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki FOO
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for FOO library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki FOO.
38
39 %package static
40 Summary:        Static FOO library
41 Summary(pl.UTF-8):      Statyczna biblioteka FOO
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static FOO library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka FOO.
50
51 %prep
52 %setup -q
53 #%patch0 -p1
54
55 %build
56 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
57 # appropriate BuildRequires
58 #%{__libtoolize}
59 #%{__aclocal}
60 #%{__autoconf}
61 #%{__autoheader}
62 #%{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 # create directories if necessary
69 #install -d $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
85 %{_datadir}/%{name}
86
87 %files devel
88 %defattr(644,root,root,755)
89 %doc devel-doc/*
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_libdir}/lib*.la
92 %{_includedir}/foo
93 %{_aclocaldir}/*.m4
94 %{_pkgconfigdir}/*.pc
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.034807 seconds and 3 git commands to generate.