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