]> git.pld-linux.org Git - packages/librepo.git/blobdiff - librepo.spec
- unconditional noarch subpackages
[packages/librepo.git] / librepo.spec
index 0e45ee6462a331a395ac9bb7aefd15ca2547d6db..3dff6bd0929aa9870a5f1d10fec3e687f6d941f1 100644 (file)
@@ -1,26 +1,25 @@
 #
 # Conditional build:
-%bcond_without apidocs         # do not build and package API docs
+%bcond_without apidocs # doxygen/sphinx API documentation
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
 Summary:       Library for downloading Linux repository metadata and packages
 Summary(pl.UTF-8):     Biblioteka do pobierania metadanych repozytoriów roaz pakietów dla Linuksa
 Name:          librepo
-Version:       1.7.13
+Version:       1.8.1
 Release:       5
 License:       GPL v2+
 Group:         Libraries
-Source0:       https://github.com/Tojaj/librepo/archive/%{name}-%{version}.tar.gz
-# Source0-md5: e71590f07a38b10c0dfbf857d828b71c
-#Source0:      http://pkgs.fedoraproject.org/repo/pkgs/librepo/%{name}-%{gitrev}.tar.xz/904628ef27b512e7aed07a6d41613c87/librepo-%{gitrev}.tar.xz
+#Source0Download: https://github.com/rpm-software-management/librepo/releases
+Source0:       https://github.com/rpm-software-management/librepo/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 01fe130eb421580d62e97e4991e94df7
 Patch0:                %{name}-link.patch
-Patch1:                python-install-dir.patch
+Patch1:                %{name}-attr.patch
 Patch2:                sphinx_executable.patch
-URL:           http://tojaj.github.io/librepo/
-BuildRequires: attr-devel
+URL:           http://rpm-software-management.github.io/librepo/
 BuildRequires: check-devel
-BuildRequires: cmake >= 2.6
+BuildRequires: cmake >= 2.8.5
 BuildRequires: curl-devel
 %{?with_apidocs:BuildRequires: doxygen}
 BuildRequires: expat-devel >= 1.95
@@ -69,6 +68,7 @@ Pliki nagłówkowe biblioteki librepo.
 Summary:       API documentation for librepo library
 Summary(pl.UTF-8):     Dokumentacja API biblioteki librepo
 Group:         Documentation
+BuildArch:     noarch
 
 %description apidocs
 API documentation for librepo library.
@@ -77,31 +77,31 @@ API documentation for librepo library.
 Dokumentacja API biblioteki librepo.
 
 %package -n python-librepo
-Summary:       Python binding for librepo library
-Summary(pl.UTF-8):     Wiązanie Pythona do biblioteki librepo
+Summary:       Python binding for librepo library
+Summary(pl.UTF-8):     Wiązanie Pythona do biblioteki librepo
 Group:         Libraries/Python
 Requires:      %{name} = %{version}-%{release}
 
 %description -n python-librepo
-Python binding for librepo library.
+Python binding for librepo library.
 
 %description -n python-librepo -l pl.UTF-8
-Wiązanie Pythona do biblioteki librepo.
+Wiązanie Pythona do biblioteki librepo.
 
 %package -n python3-librepo
-Summary:       Python binding for librepo library
-Summary(pl.UTF-8):     Wiązanie Pythona do biblioteki librepo
+Summary:       Python binding for librepo library
+Summary(pl.UTF-8):     Wiązanie Pythona do biblioteki librepo
 Group:         Libraries/Python
 Requires:      %{name} = %{version}-%{release}
 
 %description -n python3-librepo
-Python binding for librepo library.
+Python binding for librepo library.
 
 %description -n python3-librepo -l pl.UTF-8
-Wiązanie Pythona do biblioteki librepo.
+Wiązanie Pythona do biblioteki librepo.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
This page took 0.104511 seconds and 4 git commands to generate.