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