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