- Added lang package
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kbibtex?expand=0&rev=28
This commit is contained in:
parent
02c94d4a89
commit
277c6ac51c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3
|
||||
size 3081364
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 19:07:44 UTC 2017 - cornelis@solcon.nl
|
||||
|
||||
- Added lang package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 09:34:56 UTC 2017 - cornelis@solcon.nl
|
||||
|
||||
|
19
kbibtex.spec
19
kbibtex.spec
@ -51,6 +51,8 @@ Requires: %{name} = %{version}
|
||||
%description devel
|
||||
This package contains the devel files for %{name}.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
@ -59,16 +61,16 @@ This package contains the devel files for %{name}.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
%kde4_makeinstall -C build
|
||||
mkdir -p %{buildroot}%{_kde4_iconsdir}/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps
|
||||
for i in 16 22 32 48 64 128; do
|
||||
install -m 0644 ../icons/hi${i}-app-kbibtex.png %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps/kbibtex.png
|
||||
install -m 0644 icons/hi${i}-app-kbibtex.png %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps/kbibtex.png
|
||||
done
|
||||
#FIXME
|
||||
rm -rf %{buildroot}%{_datadir}/locale/bs
|
||||
%suse_update_desktop_file kbibtex Office Database
|
||||
%suse_update_desktop_file %{buildroot}/%{_kde4_servicesdir}/kbibtexpart.desktop Office Database
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%kde_post_install
|
||||
|
||||
%post
|
||||
@ -84,7 +86,6 @@ rm -rf %{buildroot}%{_datadir}/locale/bs
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_kde4_datadir}/appdata
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kbibtex
|
||||
%{_kde4_applicationsdir}/kbibtex.desktop
|
||||
%{_kde4_appsdir}/kbibtex/
|
||||
%{_kde4_appsdir}/kbibtexpart/
|
||||
@ -92,13 +93,13 @@ rm -rf %{buildroot}%{_datadir}/locale/bs
|
||||
%{_kde4_configdir}/kbibtexrc
|
||||
%{_kde4_datadir}/appdata/*
|
||||
%{_kde4_datadir}/mime/packages/bibliography.xml
|
||||
%{_kde4_htmldir}/*/kbibtex
|
||||
%{_kde4_libdir}/*.so.*
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/kbibtex.png
|
||||
%{_kde4_modulesdir}/kbibtexpart.so
|
||||
%{_kde4_servicesdir}/kbibtexpart.desktop
|
||||
#FIXME: correct solution for translations
|
||||
%{_datadir}/locale/*/LC_MESSAGES/kbibtex.mo
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user