Search
j0ke.net Open Build Service
>
Projects
>
devel
:
libs
>
libharu
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
libharu.spec
@@ -1,14 +1,19 @@ %define libname libhpdf -Name: libharu +%define pkgname libharu +%define soname %{libname}-2_1_0 + +Name: %{soname} Version: 2.1.0 Release: 1 Url: http://libharu.org/ -Source: http://libharu.org/files/%{name}-%{version}.tar.gz -Summary: libHaru is a free, cross platform, open source library for generating PDF files. +Source: http://libharu.org/files/%{pkgname}-%{version}.tar.gz +Summary: LIBHaru is a library for generating PDF files Group: Development/Libraries License: ZLIB/LIBPNG BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libpng-devel zlib-devel +Provides: %{pkgname} = %{version} +Obsoletes: %{pkgname} %description libHaru is a free, cross platform, open source library for generating PDF files. @@ -28,17 +33,19 @@ libHaru is written in ANSI C, so theoretically it supports most of the modern OSes. -%package devel +%package -n %{libname}-devel Summary: %{name} development files Group: Development/Libraries -Requires: %{name} +Requires: %{soname} +Provides: %{pkgname}-devel = %{version} +Obsoletes: %{pkgname}-devel -%description devel -%{name} development files (includes & extra libs) +%description -n %{libname}-devel +%{pkgname} development files (includes & extra libs) %prep -%setup -n %{name}-%{version} +%setup -n %{pkgname}-%{version} %configure --with-zlib --with-png --with-libdir=%{_libdir} %build @@ -55,7 +62,7 @@ %doc README CHANGES %{_libdir}/%{libname}-%{version}.so -%files devel +%files -n %{libname}-devel %defattr(-,root,root) %{_includedir}/hpdf* %{_libdir}/%{libname}.a