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