Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
calcchecksum
calcchecksum.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File calcchecksum.spec of Package calcchecksum
%define _name calcchecksum %define version 1.6 %define pre 1 %if %pre %define release 0.pre%pre.1 %else %define release 1 %endif Summary: Checksum generator Name: kde3-%{_name} Version: %{version} Release: %{release} License: GPL-2.0 Group: Productivity/Networking/Other BuildRequires: kdelibs3-devel %if %pre Source: http://prdownloads.sourceforge.net/%{_name}/%{_name}-%{version}-pre%{pre}.tar.bz2 %else Source: http://prdownloads.sourceforge.net/%{_name}/%{_name}-%{version}.tar.bz2 %endif BuildRoot: %_tmppath/%name-%version-%release-root %description CalcChecksum is a tool for calculating MD5, MD4, CRC32, SHA1 (SHA160), SHA256, RIPE-MD-160, TIGER, HAVAL (128, 160, 192, 224, 256 with 3, 4 or 5 passes) on files, text-strings or hash-lists generated by md5sum or sha1sum. %prep %if %pre %setup -q -n %{_name}-%{version}-pre%{pre} %else %setup -q %endif %build . /etc/opt/kde3/common_options ./configure $configkde --with-qt-libraries=/usr/lib/qt3/%_lib \ %ifarch x86_64 aarch64 --enable-libsuffix=64 %endif make %{?jobs:-j%{jobs}} %install %makeinstall # Delete the .desktop file as it's too old school rm -f %{buildroot}/opt/kde3/share/applnk/Applications/calcchecksum.desktop # Make our own instead mkdir -p %{buildroot}/opt/kde3/share/applications cat > %{buildroot}/opt/kde3/share/applications/%{_name}.desktop <<EOF [Desktop Entry] Encoding=UTF-8 Name=CalcChecksum Comment=Checksum calculator Exec=%{_name} Icon=%{_name} Terminal=false Type=Application StartupNotify=true Categories=System;Security; X-SuSE-translate=true EOF %{find_lang} %{_name} %post %postun %clean rm -rf $RPM_BUILD_ROOT %files -f %{_name}.lang %defattr(-,root,root) %doc README BUGS TODO AUTHORS ChangeLog /opt/kde3/bin/%{_name} /opt/kde3/share/applications/%{_name}.desktop /opt/kde3/share/apps/konqueror/servicemenus/calcchecksumservicemenu.desktop /opt/kde3/share/icons/hicolor/16x16/apps/calcchecksum.png /opt/kde3/share/icons/hicolor/32x32/apps/calcchecksum.png /opt/kde3/share/icons/locolor/16x16/apps/calcchecksum.png /opt/kde3/share/icons/locolor/32x32/apps/calcchecksum.png %dir /opt/kde3/share/apps/konqueror %dir /opt/kde3/share/apps/konqueror/servicemenus %changelog * Sat Jun 30 2007 Adam Williamson <awilliamson@mandriva.com> 1.6-0.pre1.1mdv2008.0 + Revision: 46144 - Import calcchecksum
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor