]> git.pld-linux.org Git - projects/template-specs.git/blame - lib.spec
- tabs in preamble
[projects/template-specs.git] / lib.spec
CommitLineData
f9986cd5 1Summary: -
ce39d734 2Summary(pl.UTF-8): -
f9986cd5
JB
3Name: -
4Version: -
5Release: -
6Epoch: -
7License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
8Group: Libraries
9Source0: %{name}-%{version}.tar.gz
10# Source0-md5: -
1c854c4b 11#Patch0: %{name}-what.patch
f9986cd5
JB
12URL: -
13BuildRequires: -
f9986cd5
JB
14Requires: -
15Requires(pre,post): -
16Requires(preun): -
17Requires(postun): -
18Provides: -
19Obsoletes: -
20Conflicts: -
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24
9be49f18 25%description -l pl.UTF-8
f9986cd5
JB
26
27%package devel
28Summary: Header files for FOO library
ce39d734 29Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FOO
f9986cd5 30Group: Development/Libraries
d7dd7729 31Requires: %{name} = %{version}-%{release}
f9986cd5
JB
32
33%description devel
34Header files for FOO library.
35
9be49f18
JR
36%description devel -l pl.UTF-8
37Pliki nagłówkowe biblioteki FOO.
f9986cd5
JB
38
39%package static
40Summary: Static FOO library
ce39d734 41Summary(pl.UTF-8): Statyczna biblioteka FOO
f9986cd5 42Group: Development/Libraries
d7dd7729 43Requires: %{name}-devel = %{version}-%{release}
f9986cd5
JB
44
45%description static
46Static FOO library.
47
9be49f18 48%description static -l pl.UTF-8
f9986cd5
JB
49Statyczna biblioteka FOO.
50
51%prep
52%setup -q
1c854c4b 53#%patch0 -p1
f9986cd5
JB
54
55%build
c42a30cf
JB
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}
f9986cd5
JB
63%configure
64%{__make}
65
66%install
67rm -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
75rm -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.084557 seconds and 4 git commands to generate.