]> git.pld-linux.org Git - packages/libelfio.git/blame - libelfio.spec
- tabs in preamble
[packages/libelfio.git] / libelfio.spec
CommitLineData
85cc8e94 1#
5cb5f324 2# TODO:
3# - make dynamic/static library
4
85cc8e94 5Summary: elfio
241690c9 6Summary(pl.UTF-8): elfio
85cc8e94 7Name: libelfio
8Version: 1.0.3
9Release: 0.1
10License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
11Group: Applications
12Source0: http://dl.sourceforge.net/elfio/ELFIO-%{version}.tar.gz
13# Source0-md5: fd6fca12c7b43f6c01d30b23d22aaefe
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17
2523b3e3 18%description -l pl.UTF-8
85cc8e94 19
20%package subpackage
21Summary: -
241690c9 22Summary(pl.UTF-8): -
85cc8e94 23Group: -
24
25%description subpackage
26
2523b3e3 27%description subpackage -l pl.UTF-8
85cc8e94 28
29%package libs
30Summary: -
241690c9 31Summary(pl.UTF-8): -
85cc8e94 32Group: Libraries
33
34%description libs
35
2523b3e3 36%description libs -l pl.UTF-8
85cc8e94 37
38%package devel
39Summary: Header files for ... library
241690c9 40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
85cc8e94 41Group: Development/Libraries
42# if base package contains shared library for which these headers are
43#Requires: %{name} = %{version}-%{release}
44# if -libs package contains shared library for which these headers are
45#Requires: %{name}-libs = %{version}-%{release}
46
47%description devel
48Header files for ... library.
49
2523b3e3
JR
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki ....
85cc8e94 52
53%package static
54Summary: Static ... library
241690c9 55Summary(pl.UTF-8): Statyczna biblioteka ...
85cc8e94 56Group: Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static ... library.
61
2523b3e3 62%description static -l pl.UTF-8
85cc8e94 63Statyczna biblioteka ....
64
65%prep
66%setup -q -n ELFIO-%{version}
67
68%build
69##%{__libtoolize}
70##%{__aclocal}
71#3%{__autoconf}
72##%{__autoheader}
73##%{__automake}
74#cp -f /usr/share/automake/config.sub .
75%configure
76%{__make}
77
78#%{__make} \
79# CFLAGS="%{rpmcflags}" \
80# LDFLAGS="%{rpmldflags}"
81
82%install
83rm -rf $RPM_BUILD_ROOT
84# create directories if necessary
85#install -d $RPM_BUILD_ROOT
86#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%pre
95
96%post
97
98%preun
99
100%postun
101
102%if %{with ldconfig}
103%post -p /sbin/ldconfig
104%postun -p /sbin/ldconfig
105%endif
106
107%files
108%defattr(644,root,root,755)
109%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
110
111%if 0
112# if _sysconfdir != /etc:
113#%%dir %{_sysconfdir}
114%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
115%attr(755,root,root) %{_bindir}/*
116%{_datadir}/%{name}
117%endif
118
119#%{_examplesdir}/%{name}-%{version}
120
121%if %{with subpackage}
122%files subpackage
123%defattr(644,root,root,755)
124#%doc extras/*.gz
125#%{_datadir}/%{name}-ext
126%endif
This page took 0.075189 seconds and 4 git commands to generate.