package created using the webbuild interface [release 0.6-1mamba;Sat Feb 20 2016]
This commit is contained in:
parent
0d0637ff37
commit
5f8a364342
103
gcab.spec
Normal file
103
gcab.spec
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
Name: gcab
|
||||||
|
Version: 0.6
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: GNOME cabinet management
|
||||||
|
Group: Development/Library
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://live.gnome.org
|
||||||
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/gcab-%{version}.tar.xz
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
GNOME cabinet library.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Group: Documentation
|
||||||
|
Summary: %{name} API documentation
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
This package includes the %{name} API documentation.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-gtk-doc
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%find_lang %{name} || touch %{name}.lang
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/gcab
|
||||||
|
%{_mandir}/man1/gcab.1*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libgcab-1.0.so.*
|
||||||
|
%{_libdir}/girepository-1.0/GCab-1.0.typelib
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/libgcab-1.0
|
||||||
|
%{_includedir}/libgcab-1.0/libgcab.h
|
||||||
|
%dir %{_includedir}/libgcab-1.0/libgcab
|
||||||
|
%{_includedir}/libgcab-1.0/libgcab/*
|
||||||
|
%{_libdir}/libgcab-1.0.a
|
||||||
|
%{_libdir}/libgcab-1.0.la
|
||||||
|
%{_libdir}/libgcab-1.0.so
|
||||||
|
%{_libdir}/pkgconfig/libgcab-1.0.pc
|
||||||
|
%{_datadir}/gir-1.0/GCab-1.0.gir
|
||||||
|
%{_datadir}/vala/vapi/libgcab-1.0.vapi
|
||||||
|
%doc NEWS
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc/html/gcab
|
||||||
|
%{_datadir}/gtk-doc/html/gcab/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user