[packages/bamf] - pl

qboosh qboosh at pld-linux.org
Sat Aug 30 17:35:38 CEST 2025


commit 5a69b90ce06ed9c5a15bf3d03db76b663ba95af4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Aug 30 17:38:22 2025 +0200

    - pl

 bamf.spec | 120 +++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 79 insertions(+), 41 deletions(-)
---
diff --git a/bamf.spec b/bamf.spec
index 99a6f67..1e998b4 100644
--- a/bamf.spec
+++ b/bamf.spec
@@ -1,8 +1,9 @@
 #
 # Conditional build:
-%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	apidocs		# API documentation
 
 Summary:	Application matching framework
+Summary(pl.UTF-8):	Szkielet do dopasowywania aplikacji
 Name:		bamf
 Version:	0.2.104
 Release:	6
@@ -15,10 +16,10 @@ Release:	6
 # License:	LGPLv2 or LGPLv3
 License:	GPL v2 or GPL v3
 Group:		Libraries
-URL:		https://launchpad.net/bamf
-Source0:	http://launchpad.net/bamf/0.2/%{version}/+download/%{name}-%{version}.tar.gz
+Source0:	https://launchpad.net/bamf/0.2/%{version}/+download/%{name}-%{version}.tar.gz
 # Source0-md5:	4271cd5979483f7e3a9bffc42fed6383
 Patch0:		%{name}-build.patch
+URL:		https://launchpad.net/bamf
 BuildRequires:	dbus-glib-devel
 BuildRequires:	gobject-introspection-devel
 BuildRequires:	gtk+2-devel
@@ -36,55 +37,91 @@ daemon and C wrapper library. Currently features application matching
 at amazing levels of accuracy (covering nearly every corner case).
 This package contains the bamf library built against GTK+ 2.
 
+%description -l pl.UTF-8
+BAMF rozwiązuje problem dopasowywania aplikacji za pomocą prostego
+demona DBus i biblioteki obudowującej w C. Aktualne możliwości to
+dopasowywanie aplikacji z zaskakującym poziomem dokładności
+(obejmującym prawie każdy przypadek brzegowy). Ten pakiet zawiera
+bibliotekę bamf zbudowaną dla GTK+ 2.
+
 %package devel
-Summary:	Development files for %{name}
+Summary:	Development files for BAMF library (GTK+ 2 build)
+Summary(pl.UTF-8):	Pliki programistyczne biblioteki BAMF (dla GTK+ 2)
 License:	GPL v2 or GPL v3
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{name}.
+This package contains header files for developing applications that
+use BAMF with GTK+ 2.
 
-%package daemon
-Summary:	Application matching framework
-License:	GPL v3
-Group:		Libraries
-
-%description daemon
-BAMF removes the headache of applications matching into a simple DBus
-daemon and C wrapper library. Currently features application matching
-at amazing levels of accuracy (covering nearly every corner case).
-This package contains the bamf daemon and supporting data.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących BAMF z GTK+ 2.
 
-%package -n %{name}3
-Summary:	Application matching framework (GTK+ 3 build)
+%package -n bamf3
+Summary:	Application matching framework (GTK+ 3 library)
+Summary(pl.UTF-8):	Szkielet do dopasowywania aplikacji (biblioteka GTK+ 3)
 Group:		Libraries
 
-%description -n %{name}3
+%description -n bamf3
 BAMF removes the headache of applications matching into a simple DBus
 daemon and C wrapper library. Currently features application matching
 at amazing levels of accuracy (covering nearly every corner case).
 This package contains the bamf library built against GTK+ 3.
 
-%package -n %{name}3-devel
-Summary:	Development files for %{name} (GTK+ 3 build)
+%description -n bamf3 -l pl.UTF-8
+BAMF rozwiązuje problem dopasowywania aplikacji za pomocą prostego
+demona DBus i biblioteki obudowującej w C. Aktualne możliwości to
+dopasowywanie aplikacji z zaskakującym poziomem dokładności
+(obejmującym prawie każdy przypadek brzegowy). Ten pakiet zawiera
+bibliotekę bamf zbudowaną dla GTK+ 3.
+
+%package -n bamf3-devel
+Summary:	Development files for BAMF library (GTK+ 3 build)
+Summary(pl.UTF-8):	Pliki programistyczne biblioteki BAMF (dla GTK+ 3)
 License:	GPL v2 or GPL v3
 Group:		Development/Libraries
-Requires:	%{name}3 = %{version}-%{release}
+Requires:	bamf3 = %{version}-%{release}
+
+%description -n bamf3-devel
+This package contains libraries and header files for developing
+applications that use BAMF with GTK+ 3.
 
-%description -n %{name}3-devel
-The %{name}3-devel package contains libraries and header files for
-developing applications that use %{name} (GTK+ 3 build).
+%description -n bamf3-devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących BAMF z GTK+ 3.
 
 %package apidocs
-Summary:	%{name} API documentation
-Summary(pl.UTF-8):	Dokumentacja API biblioteki %{name}
+Summary:	BAMF API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki BAMF
 Group:		Documentation
 BuildArch:	noarch
 
 %description apidocs
-API and internal documentation for %{name} library.
+API documentation for BAMF library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki BAMF.
+
+%package daemon
+Summary:	Application matching framework
+Summary(pl.UTF-8):	Szkielet do dopasowywania aplikacji
+License:	GPL v3
+Group:		Daemons
+
+%description daemon
+BAMF removes the headache of applications matching into a simple DBus
+daemon and C wrapper library. Currently features application matching
+at amazing levels of accuracy (covering nearly every corner case).
+This package contains the bamf daemon and supporting data.
+
+%description daemon -l pl.UTF-8
+BAMF rozwiązuje problem dopasowywania aplikacji za pomocą prostego
+demona DBus i biblioteki obudowującej w C. Aktualne możliwości to
+dopasowywanie aplikacji z zaskakującym poziomem dokładności
+(obejmującym prawie każdy przypadek brzegowy). Ten pakiet zawiera
+demona bamf i dane pomocnicze.
 
 %prep
 %setup -q
@@ -113,6 +150,7 @@ cd ../build-gtk3
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install -C build-gtk2 \
 	DESTDIR=$RPM_BUILD_ROOT
 %{__make} install -C build-gtk3 \
@@ -137,15 +175,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libbamf.so.*.*.*
 %ghost %{_libdir}/libbamf.so.0
 
-%files -n	%{name}3
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libbamf3.so.*.*.*
-%ghost %{_libdir}/libbamf3.so.0
-
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/libbamf
 %{_libdir}/libbamf.so
+%{_includedir}/libbamf
 %{_pkgconfigdir}/libbamf.pc
 # Installation of these was disabled in the 0.2.72 release commit,
 # with no explanation - http://bazaar.launchpad.net/~unity-team/bamf/trunk/revision/374
@@ -153,19 +186,24 @@ rm -rf $RPM_BUILD_ROOT
 #%{_datadir}/gir-1.0/Bamf*.gir
 #%{_datadir}/vala/vapi/Bamf*.vapi
 
-%files -n	%{name}3-devel
+%files -n bamf3
 %defattr(644,root,root,755)
-%{_includedir}/libbamf3
-%{_libdir}/libbamf3.so
-%{_pkgconfigdir}/libbamf3.pc
+%attr(755,root,root) %{_libdir}/libbamf3.so.*.*.*
+%ghost %{_libdir}/libbamf3.so.0
 
-%files daemon
+%files -n bamf3-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/bamfdaemon
-%{_datadir}/dbus-1/services/org.ayatana.bamf.service
+%{_libdir}/libbamf3.so
+%{_includedir}/libbamf3
+%{_pkgconfigdir}/libbamf3.pc
 
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libbamf
 %endif
+
+%files daemon
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/bamfdaemon
+%{_datadir}/dbus-1/services/org.ayatana.bamf.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bamf.git/commitdiff/5a69b90ce06ed9c5a15bf3d03db76b663ba95af4



More information about the pld-cvs-commit mailing list