Group :: Sistema/Bibliotecas
RPM: libgalago
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++ libcheck-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 3
%define libname libgalago%{major}
%define develname libgalago-devel
Summary: Base library of Galago
Name: libgalago
Version: 0.5.2
Release: alt1_20
Source0: http://www.galago-project.org/files/releases/source/libgalago/%{name}-%{version}.tar.bz2
License: LGPL
Group: System/Libraries
Url: http://www.galago-project.org/
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: gtk-doc
BuildRequires: gettext-tools libasprintf-devel libtextstyle-devel
Source44: import.info
%description
This is the base library of the Galago desktop presence framework.
%package -n %libname
Group: System/Libraries
Summary: Base library of Galago - shared library
#gw for the translations
Requires: %name >= %version
#gw for the sharp bindings
Provides: galago%major = %version-%release
%description -n %libname
This is the base library of the Galago desktop presence framework.
%package -n %develname
Group: Development/C
Summary: Base library of Galago - headers
Requires: %libname = %version-%release
Provides: %name-devel = %version-%release
Provides: galago-devel = %version-%release
Obsoletes: libgalago3-devel
%description -n %develname
This is the base library of the Galago desktop presence framework.
%prep
%setup -q
%build
%configure --disable-static
%make_build
%install
rm -rf $RPM_BUILD_ROOT %name.lang
%makeinstall_std MKINSTALLDIRS=`pwd`/mkinstalldirs
rm -rf %buildroot%_datadir/autopackage
%find_lang %name
# don't ship .la
find %{buildroot} -name '*.la' | xargs rm -f
%files -f %name.lang
%doc AUTHORS NEWS
%files -n %libname
%_libdir/lib*.so.%{major}*
%files -n %develname
%doc ChangeLog
%_libdir/lib*.so
%_libdir/pkgconfig/libgalago.pc
%_includedir/%name/
%_datadir/gtk-doc/html/libgalago
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: gcc-c++ libcheck-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 3
%define libname libgalago%{major}
%define develname libgalago-devel
Summary: Base library of Galago
Name: libgalago
Version: 0.5.2
Release: alt1_20
Source0: http://www.galago-project.org/files/releases/source/libgalago/%{name}-%{version}.tar.bz2
License: LGPL
Group: System/Libraries
Url: http://www.galago-project.org/
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: gtk-doc
BuildRequires: gettext-tools libasprintf-devel libtextstyle-devel
Source44: import.info
%description
This is the base library of the Galago desktop presence framework.
%package -n %libname
Group: System/Libraries
Summary: Base library of Galago - shared library
#gw for the translations
Requires: %name >= %version
#gw for the sharp bindings
Provides: galago%major = %version-%release
%description -n %libname
This is the base library of the Galago desktop presence framework.
%package -n %develname
Group: Development/C
Summary: Base library of Galago - headers
Requires: %libname = %version-%release
Provides: %name-devel = %version-%release
Provides: galago-devel = %version-%release
Obsoletes: libgalago3-devel
%description -n %develname
This is the base library of the Galago desktop presence framework.
%prep
%setup -q
%build
%configure --disable-static
%make_build
%install
rm -rf $RPM_BUILD_ROOT %name.lang
%makeinstall_std MKINSTALLDIRS=`pwd`/mkinstalldirs
rm -rf %buildroot%_datadir/autopackage
%find_lang %name
# don't ship .la
find %{buildroot} -name '*.la' | xargs rm -f
%files -f %name.lang
%doc AUTHORS NEWS
%files -n %libname
%_libdir/lib*.so.%{major}*
%files -n %develname
%doc ChangeLog
%_libdir/lib*.so
%_libdir/pkgconfig/libgalago.pc
%_includedir/%name/
%_datadir/gtk-doc/html/libgalago
%changelog
…
Todas as alterações você pod ver aqui