]> git.pld-linux.org Git - packages/libelfio.git/blob - libelfio.spec
cd829c0d698c52d065ac95567c32c75d9b6fa629
[packages/libelfio.git] / libelfio.spec
1 #
2 # TODO:
3 # - make dynamic/static library
4
5 Summary:        elfio
6 Summary(pl.UTF-8):      elfio
7 Name:           libelfio
8 Version:        1.0.3
9 Release:        0.1
10 License:        - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
11 Group:          Applications
12 Source0:        http://dl.sourceforge.net/elfio/ELFIO-%{version}.tar.gz
13 # Source0-md5:  fd6fca12c7b43f6c01d30b23d22aaefe
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17
18 %description -l pl.UTF-8
19
20 %package subpackage
21 Summary:        -
22 Summary(pl.UTF-8):      -
23 Group:          -
24
25 %description subpackage
26
27 %description subpackage -l pl.UTF-8
28
29 %package libs
30 Summary:        -
31 Summary(pl.UTF-8):      -
32 Group:          Libraries
33
34 %description libs
35
36 %description libs -l pl.UTF-8
37
38 %package devel
39 Summary:        Header files for ... library
40 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki ...
41 Group:          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
48 Header files for ... library.
49
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki ....
52
53 %package static
54 Summary:        Static ... library
55 Summary(pl.UTF-8):      Statyczna biblioteka ...
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static ... library.
61
62 %description static -l pl.UTF-8
63 Statyczna 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
83 rm -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
92 rm -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.055147 seconds and 2 git commands to generate.