1 Summary: A commandline flags library that allows for distributed flags
2 Summary(pl.UTF-8): Biblioteka flag linii poleceń pozwalająca na rozproszone flagi
8 #Source0Download: http://code.google.com/p/gflags/downloads/list
9 Source0: http://gflags.googlecode.com/files/%{name}-%{version}.tar.gz
10 # Source0-md5: e02268c1e90876c809ec0ffa095da864
11 URL: http://code.google.com/p/gflags/
12 BuildRequires: libstdc++-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 gflags is Google's commandline flags library. It differs from other
17 libraries, such as getopt(), in that flag definitions can be scattered
18 around the source code, and not just listed in one place such as
21 %description -l pl.UTF-8
22 gflags to biblioteka flag linii poleceń stworzona przez Google. Różni
23 się od innych bibliotek, takich jak getopt(), tym, że definicje flag
24 mogą być rozproszone po kodzie źródłowym, a nie wypisane tylko w
25 jednym miejscu, takim jak main().
28 Summary: Header files for gflags library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gflags
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: libstdc++-devel
35 Header files for gflags library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki gflags.
41 Summary: Static gflags library
42 Summary(pl.UTF-8): Statyczna biblioteka gflags
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static gflags library.
49 %description static -l pl.UTF-8
50 Statyczna biblioteka gflags.
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
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
71 rm -rf $RPM_BUILD_ROOT
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
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.2
82 %attr(755,root,root) %{_libdir}/libgflags_nothreads.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libgflags_nothreads.so.2
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
91 %{_pkgconfigdir}/libgflags.pc
92 %{_pkgconfigdir}/libgflags_nothreads.pc
95 %defattr(644,root,root,755)
96 %{_libdir}/libgflags.a
97 %{_libdir}/libgflags_nothreads.a