]> git.pld-linux.org Git - packages/gflags.git/blobdiff - gflags.spec
- updated to 2.1.2
[packages/gflags.git] / gflags.spec
index babd66158a78a253c49fee01ae867f8df4c5b3aa..d333b0c054ba698d36731a552503166e272e419f 100644 (file)
@@ -1,17 +1,17 @@
 Summary:       A commandline flags library that allows for distributed flags
 Summary(pl.UTF-8):     Biblioteka flag linii poleceń pozwalająca na rozproszone flagi
 Name:          gflags
-Version:       2.1.1
+Version:       2.1.2
 Release:       1
 License:       BSD
 Group:         Libraries
+#Source0Download: https://github.com/gflags/gflags/releases
 Source0:       https://github.com/schuhschuh/gflags/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 18acc0ae270672a70a86b33ebbe9761b
+# Source0-md5: ac432de923f9de1e9780b5254884599f
 Source1:       libgflags.pc
 Source2:       libgflags_nothreads.pc
-Patch0:                %{name}-libversion.patch
-Patch1:                %{name}-nothreads.patch
-URL:           http://code.google.com/p/gflags/
+Patch0:                %{name}-nothreads.patch
+URL:           http://gflags.github.io/gflags/
 BuildRequires: cmake >= 2.8.4
 BuildRequires: libstdc++-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -56,7 +56,11 @@ Statyczna biblioteka gflags.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+
+%{__sed} -i \
+       -e 's|LIBRARY_INSTALL_DIR lib|LIBRARY_INSTALL_DIR %{_lib}|g' \
+       -e 's|CONFIG_INSTALL_DIR  lib/cmake|CONFIG_INSTALL_DIR  %{_lib}/cmake|g' \
+       CMakeLists.txt
 
 %build
 install -d build
@@ -86,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS.txt COPYING.txt ChangeLog.txt NEWS.txt README.txt
+%doc AUTHORS.txt COPYING.txt ChangeLog.txt README.md
 %attr(755,root,root) %{_bindir}/gflags_completions.sh
 %attr(755,root,root) %{_libdir}/libgflags.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgflags.so.2
@@ -95,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/{gflags.html,designstyle.css}
+%doc doc/{index.html,designstyle.css}
 %attr(755,root,root) %{_libdir}/libgflags.so
 %attr(755,root,root) %{_libdir}/libgflags_nothreads.so
 %{_includedir}/gflags
This page took 0.058752 seconds and 4 git commands to generate.