]> git.pld-linux.org Git - packages/gflags.git/blame - gflags.spec
- new
[packages/gflags.git] / gflags.spec
CommitLineData
6c0e1c4c
JB
1Summary: A commandline flags library that allows for distributed flags
2Summary(pl.UTF-8): Biblioteka flag linii poleceń pozwalająca na rozproszone flagi
3Name: gflags
4Version: 1.5
5Release: 1
6License: BSD
7Group: Libraries
8#Source0Download: http://code.google.com/p/google-gflags/downloads/list
9Source0: http://google-gflags.googlecode.com/files/%{name}-%{version}.tar.gz
10# Source0-md5: 0e66a83014efcd395d936c7fb7e71fd8
11URL: http://code.google.com/p/google-gflags/
12BuildRequires: libstdc++-devel
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16gflags is Google's commandline flags library. It differs from other
17libraries, such as getopt(), in that flag definitions can be scattered
18around the source code, and not just listed in one place such as
19main().
20
21%description -l pl.UTF-8
22gflags to biblioteka flag linii poleceń stworzona przez Google. Różni
23się od innych bibliotek, takich jak getopt(), tym, że definicje flag
24mogą być rozproszone po kodzie źródłowym, a nie wypisane tylko w
25jednym miejscu, takim jak main().
26
27%package devel
28Summary: Header files for gflags library
29Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gflags
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: libstdc++-devel
33
34%description devel
35Header files for gflags library.
36
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki gflags.
39
40%package static
41Summary: Static gflags library
42Summary(pl.UTF-8): Statyczna biblioteka gflags
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static gflags library.
48
49%description static -l pl.UTF-8
50Statyczna biblioteka gflags.
51
52%prep
53%setup -q
54
55%build
56%configure
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65# obsoleted by pkg-config
66%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
67# <google/gflags*.h> inclusion is obsolete, directory belongs to other package
68%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/google
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(644,root,root,755)
78%doc AUTHORS COPYING ChangeLog NEWS README
79%attr(755,root,root) %{_bindir}/gflags_completions.sh
80%attr(755,root,root) %{_libdir}/libgflags.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libgflags.so.0
82%attr(755,root,root) %{_libdir}/libgflags_nothreads.so.*.*.*
83%attr(755,root,root) %ghost %{_libdir}/libgflags_nothreads.so.0
84
85%files devel
86%defattr(644,root,root,755)
87%doc doc/{gflags.html,designstyle.css}
88%attr(755,root,root) %{_libdir}/libgflags.so
89%attr(755,root,root) %{_libdir}/libgflags_nothreads.so
90%{_includedir}/gflags
91%{_pkgconfigdir}/libgflags.pc
92%{_pkgconfigdir}/libgflags_nothreads.pc
93
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/libgflags.a
97%{_libdir}/libgflags_nothreads.a
This page took 0.073731 seconds and 4 git commands to generate.