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